Source: qtwebchannel-opensource-src Version: 5.9.2-3 Severity: serious Recently, while rebuilding a bunch of packages in a chroot without pbuilder, I discovered the following failure in building qtwebchannel-opensource-src:
... make[5]: Entering directory '/build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake' mkdir -p /build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake/build && cd /build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake/build && cmake /build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake -DCMAKE_C_COMPI LER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/build/qtwebchannel-opensource-src-5.9.2;/usr/lib/x86_64-linux-gnu/qt5" -DQt5_MODULE_TEST_DEPENDS="Qml;Network;Core" -DCMAKE_WebChannel_MODULE_MAJOR_VERSION=5 -DCMAKE_WebChannel_MODULE_MINOR_VERSION=9 -DCMAKE_WebChannel_MODULE_PATCH_VERSION=2 -DCMAKE_MODULES_UNDER_TEST="WebChannel" && ctest --output-on-failure -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMAKE_VERSION: 3.9.5 CMAKE_PREFIX_PATH: /build/qtwebchannel-opensource-src-5.9.2;/usr/lib/x86_64-linux-gnu/qt5 CMAKE_MODULES_UNDER_TEST: WebChannel CMAKE_WebChannel_MODULE_MAJOR_VERSION: 5 CMAKE_WebChannel_MODULE_MINOR_VERSION: 9 CMAKE_WebChannel_MODULE_PATCH_VERSION: 2 -- Configuring done -- Generating done -- Build files have been written to: /build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake/build Test project /build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake/build Start 1: module_includes 1/1 Test #1: module_includes ..................***Failed 1.20 sec Internal cmake changing into directory: /build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake/build/module_includes/build Error: cmake execution failed The C compiler identification is GNU 7.2.0 The CXX compiler identification is GNU 7.2.0 Check for working C compiler: /usr/bin/gcc Configuring Check for working C compiler: /usr/bin/gcc -- works Detecting C compiler ABI info Configuring Detecting C compiler ABI info - done Detecting C compile features Configuring Configuring Configuring Detecting C compile features - done Check for working CXX compiler: /usr/bin/g++ Configuring Check for working CXX compiler: /usr/bin/g++ -- works Detecting CXX compiler ABI info Configuring Detecting CXX compiler ABI info - done Detecting CXX compile features Configuring Configuring Configuring Configuring Detecting CXX compile features - done CMake Error at /build/qtwebchannel-opensource-src-5.9.2/lib/cmake/Qt5WebChannel/Qt5WebChannelConfig.cmake:27 (message): The imported target "Qt5::WebChannel" references the file "/build/include/x86_64-linux-gnu/qt5/" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/build/qtwebchannel-opensource-src-5.9.2/lib/cmake/Qt5WebChannel/Qt5WebChannelConfig.cmake" but not all the files it references. Call Stack (most recent call first): /build/qtwebchannel-opensource-src-5.9.2/lib/cmake/Qt5WebChannel/Qt5WebChannelConfig.cmake:63 (_qt5_WebChannel_check_file_exists) CMakeLists.txt:9 (find_package) Configuring Configuring incomplete, errors occurred! See also "/build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake/build/module_includes/build/CMakeFiles/CMakeOutput.log". 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 1.20 sec The following tests FAILED: 1 - module_includes (Failed) Errors while running CTest Makefile:243: recipe for target 'check' failed make[5]: *** [check] Error 8 make[5]: Leaving directory '/build/qtwebchannel-opensource-src-5.9.2/tests/auto/cmake' Makefile:420: recipe for target 'sub-cmake-check' failed make[4]: *** [sub-cmake-check] Error 2 make[4]: Leaving directory '/build/qtwebchannel-opensource-src-5.9.2/tests/auto' Makefile:314: recipe for target 'sub-auto-check' failed make[3]: *** [sub-auto-check] Error 2 make[3]: Leaving directory '/build/qtwebchannel-opensource-src-5.9.2/tests' Makefile:421: recipe for target 'sub-tests-check' failed make[2]: *** [sub-tests-check] Error 2 make[2]: Leaving directory '/build/qtwebchannel-opensource-src-5.9.2' dh_auto_test: make -j1 check QT_QPA_PLATFORM=minimal QML2_IMPORT_PATH=/build/qtwebchannel-opensource-src-5.9.2/test_root/usr/lib/x86_64-linux-gnu/qt5/qml returned exit code 2 debian/rules:52: recipe for target 'override_dh_auto_test-arch' failed make[1]: *** [override_dh_auto_test-arch] Error 2 make[1]: Leaving directory '/build/qtwebchannel-opensource-src-5.9.2' debian/rules:15: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I've subsequently been able to reproduce it with "pbuilder build --extrapackages cmake qtwebchannel-opensource-src_5.9.2-3.dsc". -- Daniel Schepler