Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2018 15:14:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226246] math/octave: Does not build when Qt 5 is installed
Message-ID:  <bug-226246-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226246

            Bug ID: 226246
           Summary: math/octave: Does not build when Qt 5 is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: stephen@FreeBSD.org
          Reporter: lantw44@gmail.com
             Flags: maintainer-feedback?(stephen@FreeBSD.org)
          Assignee: stephen@FreeBSD.org

I have both Qt 4 and Qt 5 installed on my system. It seems that octave pref=
ers
Qt 5 to Qt 4, which causes build failure because it tries to use Qt 5 with =
code
generated by Qt 4 moc.

libtool: compile:  c++ -std=3Dgnu++11 -DHAVE_CONFIG_H -I.
-I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5
-I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork
-I/usr/local/include/qt5/QtOpenGL -I/usr/local/include/qt5/QtWidgets
-I/usr/local/include/qt5/QtPrintSupport -I./libgui/qterminal/libqterminal
-I./libgui/src -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -fP=
IC
-D_THREAD_SAFE -pthread -O2 -pipe -march=3Dnehalem -fstack-protector
-fno-strict-aliasing -MT
libgui/qterminal/libqterminal/libgui_qterminal_libqterminal_la-moc-QTermina=
l.lo
-MD -MP -MF
libgui/qterminal/libqterminal/.deps/libgui_qterminal_libqterminal_la-moc-QT=
erminal.Tpo
-c libgui/qterminal/libqterminal/moc-QTerminal.cc  -fPIC -DPIC -o
libgui/qterminal/libqterminal/.libs/libgui_qterminal_libqterminal_la-moc-QT=
erminal.o
libgui/qterminal/libqterminal/moc-QTerminal.cc:16:2: error: "This file was
generated using the moc from 4.8.7. It"
#error "This file was generated using the moc from 4.8.7. It"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:17:2: error: "cannot be used
with the include files from this version of Qt."
#error "cannot be used with the include files from this version of Qt."
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:18:2: error: "(The moc has
changed too much.)"
#error "(The moc has changed too much.)"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:88:7: error: unknown type na=
me
'QMetaObjectExtraData'
const QMetaObjectExtraData QTerminal::staticMetaObjectExtraData =3D {
      ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:88:39: error: no member named
'staticMetaObjectExtraData' in 'QTerminal'
const QMetaObjectExtraData QTerminal::staticMetaObjectExtraData =3D {
                           ~~~~~~~~~~~^
libgui/qterminal/libqterminal/moc-QTerminal.cc:89:9: error: use of undeclar=
ed
identifier 'qt_static_metacall'
    0,  qt_static_metacall
        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:103:39: error: incompatible
operand types ('QDynamicMetaObjectData *' and 'const QMetaObject *')
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject :
&staticMetaObject;
                                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~=20=20
~~~~~~~~~~~~~~~~~
7 errors generated.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226246-13>