Source: kaddressbook Version: 4:20.08.2-3 Severity: serious Tags: ftbfs kaddressbook fails to build from source on amd64 in unstable. A build ends with:
| [ 35%] Building CXX object src/CMakeFiles/kaddressbookprivate.dir/printing/mike/mikesstyle.cpp.o | cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_QGPGME -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054800 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050f00 -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_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kaddressbook\" -DWITH_KUSERFEEDBACK -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkaddressbookprivate_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/kaddressbookprivate_autogen/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/printing -isystem /usr/include/KF5/PimCommonAkonadi -isystem /usr/include/KF5/pimcommonakonadi -isystem /usr/include/KF5 -isystem /usr/include/KF5/PimCommon -isystem /usr/include/KF5/pimcommon -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -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/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/AkonadiCore -isystem /usr/include/KF5/KItemModels -isystem /usr/include/KF5/AkonadiWidgets -isystem /usr/include/KF5/KContacts -isystem /usr/include/KF5/Akonadi/Contact -isystem /usr/include/KF5/akonadi/contact -isystem /usr/include/KF5/KIMAP -isystem /usr/include/KF5/KMime -isystem /usr/include/KF5/Libkdepim -isystem /usr/include/KF5/libkdepim -isystem /usr/include/KF5/KaddressbookGrantlee -isystem /usr/include/KF5/kaddressbookgrantlee -isystem /usr/include/KF5/GrantleeTheme -isystem /usr/include/KF5/grantleetheme -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/AkonadiSearch -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KAddressBookImportExport -isystem /usr/include/KF5/kaddressbookimportexport -isystem /usr/include/KF5/prison -isystem /usr/include/KUserFeedback -isystem /usr/include/qgpgme -isystem /usr/include/gpgme++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -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 -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -fexceptions -std=gnu++14 -o CMakeFiles/kaddressbookprivate.dir/printing/mike/mikesstyle.cpp.o -c /<<PKGBUILDDIR>>/src/printing/mike/mikesstyle.cpp | /<<PKGBUILDDIR>>/src/printing/mike/mikesstyle.cpp: In member function ‘virtual void KABPrinting::MikesStyle::print(const List&, KABPrinting::PrintProgress*)’: | /<<PKGBUILDDIR>>/src/printing/mike/mikesstyle.cpp:126:66: error: no matching function for call to ‘QPrinter::setPageMargins(int, int, int, int, QPrinter::Unit)’ | 126 | printer->setPageMargins(20, 20, 20, 20, QPrinter::DevicePixel); | | ^ | In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:46, | from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1, | from /<<PKGBUILDDIR>>/src/printing/mike/mikesstyle.cpp:36: | /usr/include/x86_64-linux-gnu/qt5/QtGui/qpagedpaintdevice.h:224:10: note: candidate: ‘bool QPagedPaintDevice::setPageMargins(const QMarginsF&, QPageLayout::Unit)’ | 224 | bool setPageMargins(const QMarginsF &margins, QPageLayout::Unit units); | | ^~~~~~~~~~~~~~ | /usr/include/x86_64-linux-gnu/qt5/QtGui/qpagedpaintdevice.h:224:10: note: candidate expects 2 arguments, 5 provided | /usr/include/x86_64-linux-gnu/qt5/QtGui/qpagedpaintdevice.h:223:10: note: candidate: ‘bool QPagedPaintDevice::setPageMargins(const QMarginsF&)’ | 223 | bool setPageMargins(const QMarginsF &margins); | | ^~~~~~~~~~~~~~ | /usr/include/x86_64-linux-gnu/qt5/QtGui/qpagedpaintdevice.h:223:10: note: candidate expects 1 argument, 5 provided | make[3]: *** [src/CMakeFiles/kaddressbookprivate.dir/build.make:286: src/CMakeFiles/kaddressbookprivate.dir/printing/mike/mikesstyle.cpp.o] Error 1 | make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' | make[2]: *** [CMakeFiles/Makefile2:1398: src/CMakeFiles/kaddressbookprivate.dir/all] Error 2 | make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' | make[1]: *** [Makefile:163: all] Error 2 | make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' | dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2 | make: *** [debian/rules:6: binary] Error 25 | dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 Helmut