Package: src:cantor Version: 4:17.08.3-1 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep /usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.pl --with=kf5,pkgkde-symbolshelper dpkg-buildflags --export=make > debian/dhmk_env.mk /usr/bin/make -f debian/rules dhmk_run_configure_commands DHMK_TARGET="configure" make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_testdir # [-i] dh_auto_configure '--buildsystem=kf5' --parallel # [-i] cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_BUILD_TYPE=Debian -DCMAKE_INSTALL_SYSCONFDIR=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS=ON .. -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done [... snipped ...] make -f src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/build.make src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/depend make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 82%] Generating ui_solvedlg.h cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/assistants/solve && /usr/bin/cmake -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/lib/qt5/bin/uic -DKDE_UIC_FILE:FILEPATH=/<<PKGBUILDDIR>>/src/assistants/solve/solvedlg.ui -DKDE_UIC_H_FILE:FILEPATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/assistants/solve/ui_solvedlg.h -DKDE_UIC_BASENAME:STRING=solvedlg -P /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/kf5i18nuic.cmake cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/assistants/solve /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/assistants/solve /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/DependInfo.cmake --color= Scanning dependencies of target cantor_solveassistant make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/build.make src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/build make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 82%] Building CXX object src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/solveassistant.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/assistants/solve && /usr/bin/c++ -DKCOREADDONS_LIB -DMAKE_CANTORLIBS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dcantor_solveassistant_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/assistants/solve -I/<<PKGBUILDDIR>>/src/assistants/solve -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/assistants/solve/cantor_solveassistant_autogen/include -I/<<PKGBUILDDIR>>/src/lib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lib -I/<<PKGBUILDDIR>>/src/lib/test -I/usr/include/libspectre -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux- gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/K F5/Solid -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/KI18n -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -pedantic -Wsuggest-override -fexceptions -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/cantor_solveassistant.dir/solveassistant.cpp.o -c /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp: In member function 'virtual QStringList SolveAssistant::run(QWidget*)': /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp:64:80: error: invalid use of incomplete type 'class QStyle' base.buttonBox->button(QDialogButtonBox::Ok)->setIcon(QApplication::style()->standardIcon(QStyle::SP_DialogOkButton)); ^~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1, from /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp:23: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:67:7: note: forward declaration of 'class QStyle' class QStyle; ^~~~~~ /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp:64:103: error: incomplete type 'QStyle' used in nested name specifier base.buttonBox->button(QDialogButtonBox::Ok)->setIcon(QApplication::style()->standardIcon(QStyle::SP_DialogOkButton)); ^~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp:65:84: error: invalid use of incomplete type 'class QStyle' base.buttonBox->button(QDialogButtonBox::Cancel)->setIcon(QApplication::style()->standardIcon(QStyle::SP_DialogCancelButton)); ^~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1, from /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp:23: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:67:7: note: forward declaration of 'class QStyle' class QStyle; ^~~~~~ /<<PKGBUILDDIR>>/src/assistants/solve/solveassistant.cpp:65:107: error: incomplete type 'QStyle' used in nested name specifier base.buttonBox->button(QDialogButtonBox::Cancel)->setIcon(QApplication::style()->standardIcon(QStyle::SP_DialogCancelButton)); ^~~~~~~~~~~~~~~~~~~~~ make[4]: *** [src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/build.make:70: src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/solveassistant.cpp.o] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[3]: *** [CMakeFiles/Makefile2:4018: src/assistants/solve/CMakeFiles/cantor_solveassistant.dir/all] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [Makefile:144: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 returned exit code 2 make[1]: *** [/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.mk:97: pre_build-indep_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.mk:112: debian/dhmk_build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The build was made with "dpkg-buildpackage -A" in my autobuilder. Most probably, it also fails here in reproducible builds: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/cantor.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.