[Pkg-kde-extras] Bug#907328: ktorrent: FTBFS with Qt 5.11

Santiago Vila sanvila at debian.org
Sun Aug 26 17:03:56 BST 2018


Package: src:ktorrent
Version: 5.1.0-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with kf5
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -Skf5 -- -DWITH_SYSTEM_GEOIP:BOOL=ON \
                           -DBUILD_TESTING=OFF
	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 -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_BUILD_TYPE=Debian -DCMAKE_INSTALL_SYSCONFDIR=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DWITH_SYSTEM_GEOIP:BOOL=ON -DBUILD_TESTING=OFF ..
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0

[... snipped ...]

[ 32%] Building CXX object plugins/search/CMakeFiles/ktorrent_search.dir/searchprefpage.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/search && /usr/bin/c++  -DKCOREADDONS_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_CAST_TO_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dktorrent_search_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/search -I/<<PKGBUILDDIR>>/plugins/search -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/search/ktorrent_search_autogen/include -I/<<PKGBUILDDIR>>/libktcore -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libktcore -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOCore -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/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/libktorrent -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/KCrash -isystem /usr/include/x86_64-linux-gnu -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KDEWebKit  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fexceptions -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/ktorrent_search.dir/searchprefpage.cpp.o -c /<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp
/<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp: In constructor 'kt::SearchPrefPage::SearchPrefPage(kt::SearchPlugin*, kt::SearchEngineList*, QWidget*)':
/<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp:72:49: error: invalid use of incomplete type 'class QButtonGroup'
         QButtonGroup* bg = new QButtonGroup(this);
                                                 ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/search/ui_searchpref.h:16,
                 from /<<PKGBUILDDIR>>/plugins/search/searchprefpage.h:27,
                 from /<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp:73:11: error: invalid use of incomplete type 'class QButtonGroup'
         bg->addButton(kcfg_useCustomBrowser);
           ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/search/ui_searchpref.h:16,
                 from /<<PKGBUILDDIR>>/plugins/search/searchprefpage.h:27,
                 from /<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp:74:11: error: invalid use of incomplete type 'class QButtonGroup'
         bg->addButton(kcfg_useDefaultBrowser);
           ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/search/ui_searchpref.h:16,
                 from /<<PKGBUILDDIR>>/plugins/search/searchprefpage.h:27,
                 from /<<PKGBUILDDIR>>/plugins/search/searchprefpage.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
make[3]: *** [plugins/search/CMakeFiles/ktorrent_search.dir/build.make:130: plugins/search/CMakeFiles/ktorrent_search.dir/searchprefpage.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:2087: plugins/search/CMakeFiles/ktorrent_search.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:133: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:16: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with either "dpkg-buildpackage -A"
(if the package allows it) or "dpkg-buildpackage -B" (if it does not).

It also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ktorrent.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.



More information about the pkg-kde-extras mailing list