[Bug 226246] math/octave: Does not build when Qt 5 is installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 27 15:14:14 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226246

            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 at FreeBSD.org
          Reporter: lantw44 at gmail.com
             Flags: maintainer-feedback?(stephen at FreeBSD.org)
          Assignee: stephen at FreeBSD.org

I have both Qt 4 and Qt 5 installed on my system. It seems that octave prefers
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=gnu++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 -fPIC
-D_THREAD_SAFE -pthread -O2 -pipe -march=nehalem -fstack-protector
-fno-strict-aliasing -MT
libgui/qterminal/libqterminal/libgui_qterminal_libqterminal_la-moc-QTerminal.lo
-MD -MP -MF
libgui/qterminal/libqterminal/.deps/libgui_qterminal_libqterminal_la-moc-QTerminal.Tpo
-c libgui/qterminal/libqterminal/moc-QTerminal.cc  -fPIC -DPIC -o
libgui/qterminal/libqterminal/.libs/libgui_qterminal_libqterminal_la-moc-QTerminal.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 name
'QMetaObjectExtraData'
const QMetaObjectExtraData QTerminal::staticMetaObjectExtraData = {
      ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:88:39: error: no member named
'staticMetaObjectExtraData' in 'QTerminal'
const QMetaObjectExtraData QTerminal::staticMetaObjectExtraData = {
                           ~~~~~~~~~~~^
libgui/qterminal/libqterminal/moc-QTerminal.cc:89:9: error: use of undeclared
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;
                                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~  
~~~~~~~~~~~~~~~~~
7 errors generated.

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


More information about the freebsd-ports-bugs mailing list