pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qt5-qtdeclarative build failure



On 2018-11-09 08:41, Benny Siegert wrote:
> I am seeing the following build failure for qtdeclarative on
> NetBSD-current (amd64). Anyone else see the same issue, and/or have an
> idea for a fix?

Try the following patch.

--- tools/qmltestrunner/qmltestrunner.pro.orig  2018-11-08
12:28:30.627909307 -0500
+++ tools/qmltestrunner/qmltestrunner.pro       2018-11-07
20:47:25.950232243 -0500
@@ -1,6 +1,6 @@
 SOURCES += main.cpp

-QT += qml qmltest
+QT += qml qmltest quick
 CONFIG += no_import_scan

 QMAKE_TARGET_DESCRIPTION = QML Test Runner

But this should probably be fixed upstreams as I don't think it's
specific to pkgsrc or NetBSD.

> 
> [...]
> 
> gmake[2]: Entering directory
> '/usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/tools/qmltestrunner'
> g++ -lexecinfo -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -Wl,--gc-sections -Wl,-O1 -pthread
> -Wl,-rpath,/usr/pkg/qt5/lib -o ../../bin/qmltestrunner .obj/main.o
> -L/usr/pkg/lib -L/usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib
> -lQt5Qml -L/usr/pkg/qt5/lib -lQt5QuickTest -lQt5Widgets -lQt5Gui
> -lQt5Network -lQt5Test -lQt5Core -lGL
> ld: warning: libQt5Quick.so.5, needed by
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so,
> not found (try using -rpath or -rpath-link)
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickItem::y() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickView::errors() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickItem::height() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickView::engine() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickView::setSource(QUrl const&)@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickItem::staticMetaObject@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickItem::x() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickItem::window() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickView::~QQuickView()@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickItem::mapToScene(QPointF const&)
> const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickView::QQuickView(QQmlEngine*,
> QWindow*)@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickView::rootContext() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickWindow::grabWindow()@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickView::status() const@Qt_5'
> /usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/lib/libQt5QuickTest.so:
> undefined reference to `QQuickItem::width() const@Qt_5'
> gmake[2]: *** [Makefile:109: ../../bin/qmltestrunner] Error 1
> gmake[2]: Leaving directory
> '/usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/tools/qmltestrunner'
> gmake[1]: *** [Makefile:305: sub-qmltestrunner-make_first] Error 2
> gmake[1]: Leaving directory
> '/usr/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.2/tools'
> gmake: *** [Makefile:70: sub-tools] Error 2
> *** Error code 2
> 
> Stop.
> make[2]: stopped in /usr/pkgsrc/x11/qt5-qtdeclarative
> 
> 



Home | Main Index | Thread Index | Old Index