Link failure in package builds on armhf

Bug #1578808 reported by Chris Coulson on 2016-05-05
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Oxide
Critical
Chris Coulson
1.15
Critical
Unassigned

Bug Description

This doesn't affect local cross-builds, nor does it affect vivid builds. But wily + xenial package builds on armhf are failing consistently like this:

[ 91%] Linking CXX executable qmltest_core
cd /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests && /usr/bin/cmake -E cmake_link_script CMakeFiles/qmltest_core.dir/link.txt --verbose=1
[ 92%] Building CXX object qt/tests/qmltests/CMakeFiles/qmltest_crash.dir/qmltest_crash_automoc.cpp.o
cd /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests && /usr/bin/arm-linux-gnueabihf-g++ -DOXIDE_GETTEXT_DOMAIN=\"oxide-qt\" -DQML_TEST_PATH=\"/«PKGBUILDDIR»/qt/tests/qmltests/crash\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLTEST_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -I/«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests -I/«PKGBUILDDIR»/qt/tests/qmltests -I/«PKGBUILDDIR» -I/usr/include/arm-linux-gnueabihf/qt5/QtCore/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore/5.5.1/QtCore -I/usr/include/arm-linux-gnueabihf/qt5/QtGui/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtGui/5.5.1/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtQuick/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtQuick/5.5.1/QtQuick -I/usr/include/arm-linux-gnueabihf/qt5/QtQml/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtQml/5.5.1/QtQml -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork/5.5.1/QtNetwork -I/usr/include/arm-linux-gnueabihf/qt5/QtQuickTest/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtQuickTest/5.5.1/QtQuickTest -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets/5.5.1/QtWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -isystem /usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtTest -isystem /«PKGBUILDDIR»/qt/core/api/includes -I/«PKGBUILDDIR»/qt/quick/api/includes -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickTest -isystem /usr/include/arm-linux-gnueabihf/qt5/QtWidgets -std=c++11 -fPIC -o CMakeFiles/qmltest_crash.dir/qmltest_crash_automoc.cpp.o -c /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests/qmltest_crash_automoc.cpp
[ 93%] Linking CXX executable qmltest_api
cd /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests && /usr/bin/cmake -E cmake_link_script CMakeFiles/qmltest_api.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-g++ -std=c++11 -fuse-ld=gold CMakeFiles/qmltest_core.dir/main.cc.o CMakeFiles/qmltest_core.dir/qmltest_core_automoc.cpp.o -o qmltest_core -rdynamic libqmltestshared.a /usr/lib/arm-linux-gnueabihf/libQt5QuickTest.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Test.so.5.5.1 ../../../out/lib/libOxideQtQuick.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5.5.1 ../../../out/chromium/Release/lib/libOxideQtCore.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5.1
[ 93%] Linking CXX executable qmltest_crash
cd /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests && /usr/bin/cmake -E cmake_link_script CMakeFiles/qmltest_crash.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-g++ -std=c++11 -fuse-ld=gold CMakeFiles/qmltest_api.dir/main.cc.o CMakeFiles/qmltest_api.dir/qmltest_api_automoc.cpp.o -o qmltest_api -rdynamic libqmltestshared.a /usr/lib/arm-linux-gnueabihf/libQt5QuickTest.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Test.so.5.5.1 ../../../out/lib/libOxideQtQuick.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5.5.1 ../../../out/chromium/Release/lib/libOxideQtCore.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5.1
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glBindTexture'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glDeleteTextures'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glGenTextures'
collect2: error: ld returned 1 exit status
make[3]: *** [qt/tests/qmltests/qmltest_core] Error 1
qt/tests/qmltests/CMakeFiles/qmltest_core.dir/build.make:134: recipe for target 'qt/tests/qmltests/qmltest_core' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-arm-linux-gnueabihf'
make[2]: *** [qt/tests/qmltests/CMakeFiles/qmltest_core.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:3448: recipe for target 'qt/tests/qmltests/CMakeFiles/qmltest_core.dir/all' failed
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glBindTexture'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glDeleteTextures'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glGenTextures'
collect2: error: ld returned 1 exit status
make[3]: *** [qt/tests/qmltests/qmltest_api] Error 1
qt/tests/qmltests/CMakeFiles/qmltest_api.dir/build.make:134: recipe for target 'qt/tests/qmltests/qmltest_api' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-arm-linux-gnueabihf'
make[2]: *** [qt/tests/qmltests/CMakeFiles/qmltest_api.dir/all] Error 2
CMakeFiles/Makefile2:3525: recipe for target 'qt/tests/qmltests/CMakeFiles/qmltest_api.dir/all' failed
/usr/bin/arm-linux-gnueabihf-g++ -std=c++11 -fuse-ld=gold CMakeFiles/qmltest_crash.dir/main.cc.o CMakeFiles/qmltest_crash.dir/qmltest_crash_automoc.cpp.o -o qmltest_crash -rdynamic libqmltestshared.a /usr/lib/arm-linux-gnueabihf/libQt5QuickTest.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Test.so.5.5.1 ../../../out/lib/libOxideQtQuick.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5.5.1 ../../../out/chromium/Release/lib/libOxideQtCore.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5.1
[ 93%] Building CXX object qt/tests/qmltests/CMakeFiles/qmltest_web_platform.dir/qmltest_web_platform_automoc.cpp.o
cd /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests && /usr/bin/arm-linux-gnueabihf-g++ -DOXIDE_GETTEXT_DOMAIN=\"oxide-qt\" -DQML_TEST_PATH=\"/«PKGBUILDDIR»/qt/tests/qmltests/web_platform\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLTEST_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -I/«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests -I/«PKGBUILDDIR»/qt/tests/qmltests -I/«PKGBUILDDIR» -I/usr/include/arm-linux-gnueabihf/qt5/QtCore/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore/5.5.1/QtCore -I/usr/include/arm-linux-gnueabihf/qt5/QtGui/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtGui/5.5.1/QtGui -I/usr/include/arm-linux-gnueabihf/qt5/QtQuick/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtQuick/5.5.1/QtQuick -I/usr/include/arm-linux-gnueabihf/qt5/QtQml/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtQml/5.5.1/QtQml -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork/5.5.1/QtNetwork -I/usr/include/arm-linux-gnueabihf/qt5/QtQuickTest/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtQuickTest/5.5.1/QtQuickTest -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets/5.5.1 -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets/5.5.1/QtWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -isystem /usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtTest -isystem /«PKGBUILDDIR»/qt/core/api/includes -I/«PKGBUILDDIR»/qt/quick/api/includes -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickTest -isystem /usr/include/arm-linux-gnueabihf/qt5/QtWidgets -std=c++11 -fPIC -o CMakeFiles/qmltest_web_platform.dir/qmltest_web_platform_automoc.cpp.o -c /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests/qmltest_web_platform_automoc.cpp
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glBindTexture'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glDeleteTextures'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glGenTextures'
collect2: error: ld returned 1 exit status
make[3]: *** [qt/tests/qmltests/qmltest_crash] Error 1
qt/tests/qmltests/CMakeFiles/qmltest_crash.dir/build.make:134: recipe for target 'qt/tests/qmltests/qmltest_crash' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-arm-linux-gnueabihf'
make[2]: *** [qt/tests/qmltests/CMakeFiles/qmltest_crash.dir/all] Error 2
CMakeFiles/Makefile2:3827: recipe for target 'qt/tests/qmltests/CMakeFiles/qmltest_crash.dir/all' failed
[ 94%] Linking CXX executable qmltest_web_platform
cd /«PKGBUILDDIR»/obj-arm-linux-gnueabihf/qt/tests/qmltests && /usr/bin/cmake -E cmake_link_script CMakeFiles/qmltest_web_platform.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-g++ -std=c++11 -fuse-ld=gold CMakeFiles/qmltest_web_platform.dir/main.cc.o CMakeFiles/qmltest_web_platform.dir/qmltest_web_platform_automoc.cpp.o -o qmltest_web_platform -rdynamic libqmltestshared.a /usr/lib/arm-linux-gnueabihf/libQt5QuickTest.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Test.so.5.5.1 ../../../out/lib/libOxideQtQuick.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5.5.1 ../../../out/chromium/Release/lib/libOxideQtCore.so.0 /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5.1
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glBindTexture'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glDeleteTextures'
../../../out/lib/libOxideQtQuick.so.0: error: undefined reference to 'glGenTextures'
collect2: error: ld returned 1 exit status
make[3]: *** [qt/tests/qmltests/qmltest_web_platform] Error 1
qt/tests/qmltests/CMakeFiles/qmltest_web_platform.dir/build.make:134: recipe for target 'qt/tests/qmltests/qmltest_web_platform' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-arm-linux-gnueabihf'
make[2]: *** [qt/tests/qmltests/CMakeFiles/qmltest_web_platform.dir/all] Error 2
CMakeFiles/Makefile2:3750: recipe for target 'qt/tests/qmltests/CMakeFiles/qmltest_web_platform.dir/all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/obj-arm-linux-gnueabihf'
make[1]: *** [all] Error 2
Makefile:141: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»/obj-arm-linux-gnueabihf'
dh_auto_build: make -j4 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:13: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

eg, https://launchpadlibrarian.net/258053663/buildlog_ubuntu-xenial-armhf.oxide-qt_1.15.1-0ubuntu1~ppa_BUILDING.txt.gz

Changed in oxide:
importance: Undecided → Critical
status: New → Triaged
milestone: none → branch-1.16
Changed in oxide:
status: Triaged → In Progress
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in oxide:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers