Source: calligraplan Version: 1:3.2.2-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201119 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/ui && /usr/bin/c++ > -DHAVE_KHOLIDAYS -DHAVE_X11 -DKCOREADDONS_LIB -DQCA2 -DQT_CONCURRENT_LIB > -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -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=\"calligraplanlibs\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE > -Dplanui_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/ui > -I/<<PKGBUILDDIR>>/src/libs/ui > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/ui/planui_autogen/include > -I/<<PKGBUILDDIR>>/src/interfaces -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/libs/kernel > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/kernel > -I/<<PKGBUILDDIR>>/src/libs/models > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/models > -I/<<PKGBUILDDIR>>/src/libs/widgetutils > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/widgetutils > -I/<<PKGBUILDDIR>>/src/libs/widgets > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/widgets > -I/<<PKGBUILDDIR>>/src/libs/odf > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/odf > -I/<<PKGBUILDDIR>>/src/libs/store > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/store > -I/<<PKGBUILDDIR>>/src/libs/kundo2 > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/kundo2 > -I/<<PKGBUILDDIR>>/src/libs/main > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libs/main -isystem > /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtXml -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 -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/x86_64-linux-gnu/qt5/QtPrintSupport -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/KF5/KIOWidgets > -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem > -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion > -isystem /usr/include/KF5/KWidgetsAddons -isystem > /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem > /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem > /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KI18n -isystem > /usr/include/KF5/KHolidays -isystem /usr/include/KChart -isystem > /usr/include/KGantt -isystem /usr/include/KF5/KHtml -isystem > /usr/include/KF5/KParts -isystem /usr/include/KF5/KTextWidgets -isystem > /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KItemViews -isystem > /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KArchive -isystem > /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KBookmarks -isystem > /usr/include/KF5/Solid -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 -fPIC > -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o > CMakeFiles/planui.dir/kptworkpackagesendpanel.cpp.o -c > /<<PKGBUILDDIR>>/src/libs/ui/kptworkpackagesendpanel.cpp > /<<PKGBUILDDIR>>/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp: In > member function ‘bool KPlato::ReportsGeneratorView::generateReport(const > QString&, const QString&)’: > /<<PKGBUILDDIR>>/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp:473:110: > warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = > KRun::RunFlag; QFlags<T>::Zero = int QFlags<KRun::RunFlag>::Private::*]’ is > deprecated: Use default constructor instead [-Wdeprecated-declarations] > 473 | return KRun::runUrl(QUrl(file), > "application/vnd.oasis.opendocument.text", window(), (KRun::RunFlags)0); > | > ^ > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, > from > /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, > from /usr/include/x86_64-linux-gnu/qt5/QtCore/Qt:1, > from /<<PKGBUILDDIR>>/src/libs/kernel/kptglobal.h:25, > from > /<<PKGBUILDDIR>>/src/libs/ui/reportsgenerator/ReportsGeneratorView.h:25, > from > /<<PKGBUILDDIR>>/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp:21: > /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here > 123 | QT_DEPRECATED_X("Use default constructor instead") > Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} > | > ^~~~~~ > /<<PKGBUILDDIR>>/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp:473:111: > warning: ‘static bool KRun::runUrl(const QUrl&, const QString&, QWidget*, > KRun::RunFlags, const QString&, const QByteArray&)’ is deprecated: Since > 5.71. Use KIO::OpenUrlJob, see API docs for a code sample > [-Wdeprecated-declarations] > 473 | return KRun::runUrl(QUrl(file), > "application/vnd.oasis.opendocument.text", window(), (KRun::RunFlags)0); > | > ^ > In file included from /usr/include/KF5/KIOWidgets/KRun:1, > from > /<<PKGBUILDDIR>>/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp:34: > /usr/include/KF5/KIOWidgets/krun.h:415:17: note: declared here > 415 | static bool runUrl(const QUrl &url, const QString &mimetype, > QWidget *window, RunFlags flags, > | ^~~~~~ > In file included from /<<PKGBUILDDIR>>/src/libs/kernel/kptschedule.h:27, > from /<<PKGBUILDDIR>>/src/libs/models/kptnodeitemmodel.h:26, > from > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:23: > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h: In member function > ‘KPlato::DateTimeInterval KPlato::DateTimeInterval::limitedTo(const > KPlato::DateTime&, const KPlato::DateTime&) const’: > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h:91:31: warning: > implicitly-declared ‘KPlato::DateTimeInterval::DateTimeInterval(const > KPlato::DateTimeInterval&)’ is deprecated [-Wdeprecated-copy] > 91 | DateTimeInterval i = *this; > | ^~~~ > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h:70:23: note: because > ‘KPlato::DateTimeInterval’ has user-provided ‘KPlato::DateTimeInterval& > KPlato::DateTimeInterval::operator=(const KPlato::DateTimeInterval&)’ > 70 | DateTimeInterval &operator=(const DateTimeInterval &other) { > | ^~~~~~~~ > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h:93:16: warning: > implicitly-declared ‘KPlato::DateTimeInterval::DateTimeInterval(const > KPlato::DateTimeInterval&)’ is deprecated [-Wdeprecated-copy] > 93 | return i; > | ^ > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h:70:23: note: because > ‘KPlato::DateTimeInterval’ has user-provided ‘KPlato::DateTimeInterval& > KPlato::DateTimeInterval::operator=(const KPlato::DateTimeInterval&)’ > 70 | DateTimeInterval &operator=(const DateTimeInterval &other) { > | ^~~~~~~~ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp: In member function > ‘virtual KGantt::Span KPlato::GanttItemDelegate::itemBoundingSpan(const > KGantt::StyleOptionGanttItem&, const QModelIndex&) const’: > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:381:39: warning: ‘int > QFontMetrics::width(const QString&, int) const’ is deprecated: Use > QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] > 381 | tw = opt.fontMetrics.width(txt); > | ^ > In file included from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractspinbox.h:44, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:47, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qitemdelegate.h:44, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QItemDelegate:1, > from /usr/include/KGantt/kganttitemdelegate.h:23, > from /usr/include/KGantt/KGanttItemDelegate:1, > from /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.h:27, > from > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:21: > /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared > here > 106 | int width(const QString &, int len = -1) const; > | ^~~~~ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp: In member function > ‘virtual void KPlato::GanttItemDelegate::paintGanttItem(QPainter*, const > KGantt::StyleOptionGanttItem&, const QModelIndex&)’: > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:454:43: warning: ‘int > QFontMetrics::width(const QString&, int) const’ is deprecated: Use > QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] > 454 | int tw = opt.fontMetrics.width(txt) + > static_cast<int>(itemRect.height()/1.5); > | ^ > In file included from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractspinbox.h:44, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:47, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qitemdelegate.h:44, > from > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QItemDelegate:1, > from /usr/include/KGantt/kganttitemdelegate.h:23, > from /usr/include/KGantt/KGanttItemDelegate:1, > from /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.h:27, > from > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:21: > /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared > here > 106 | int width(const QString &, int len = -1) const; > | ^~~~~ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:550:34: error: > aggregate ‘QPainterPath p’ has incomplete type and cannot be defined > 550 | QPainterPath p; > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:562:34: error: > aggregate ‘QPainterPath p’ has incomplete type and cannot be defined > 562 | QPainterPath p; > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:583:26: error: > aggregate ‘QPainterPath path’ has incomplete type and cannot be defined > 583 | QPainterPath path; > | ^~~~ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:673:26: error: > aggregate ‘QPainterPath path’ has incomplete type and cannot be defined > 673 | QPainterPath path; > | ^~~~ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:693:34: error: > aggregate ‘QPainterPath p’ has incomplete type and cannot be defined > 693 | QPainterPath p; > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:705:34: error: > aggregate ‘QPainterPath p’ has incomplete type and cannot be defined > 705 | QPainterPath p; > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp: In member function > ‘void KPlato::GanttItemDelegate::paintSpecialItem(QPainter*, const > KGantt::StyleOptionGanttItem&, const QModelIndex&, int)’: > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:754:28: error: variable > ‘QPainterPath p’ has initializer but incomplete type > 754 | QPainterPath p(r.topLeft()); > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:771:28: error: variable > ‘QPainterPath p’ has initializer but incomplete type > 771 | QPainterPath p(r.bottomLeft()); > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:788:28: error: variable > ‘QPainterPath p’ has initializer but incomplete type > 788 | QPainterPath p(r.bottomLeft()); > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:804:28: error: variable > ‘QPainterPath p’ has initializer but incomplete type > 804 | QPainterPath p(r.topLeft()); > | ^ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp: In member function > ‘virtual void KPlato::ResourceGanttItemDelegate::paintGanttItem(QPainter*, > const KGantt::StyleOptionGanttItem&, const QModelIndex&)’: > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:931:26: error: > aggregate ‘QPainterPath path’ has incomplete type and cannot be defined > 931 | QPainterPath path; > | ^~~~ > /<<PKGBUILDDIR>>/src/libs/ui/kptganttitemdelegate.cpp:957:26: error: > aggregate ‘QPainterPath path’ has incomplete type and cannot be defined > 957 | QPainterPath path; > | ^~~~ > In file included from /<<PKGBUILDDIR>>/src/libs/kernel/kptschedule.h:27, > from /<<PKGBUILDDIR>>/src/libs/models/kptnodeitemmodel.h:26, > from /<<PKGBUILDDIR>>/src/libs/ui/kpttaskeditor.h:27, > from > /<<PKGBUILDDIR>>/src/libs/ui/kptworkpackagesendpanel.cpp:23: > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h: In member function > ‘KPlato::DateTimeInterval KPlato::DateTimeInterval::limitedTo(const > KPlato::DateTime&, const KPlato::DateTime&) const’: > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h:91:31: warning: > implicitly-declared ‘KPlato::DateTimeInterval::DateTimeInterval(const > KPlato::DateTimeInterval&)’ is deprecated [-Wdeprecated-copy] > 91 | DateTimeInterval i = *this; > | ^~~~ > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h:70:23: note: because > ‘KPlato::DateTimeInterval’ has user-provided ‘KPlato::DateTimeInterval& > KPlato::DateTimeInterval::operator=(const KPlato::DateTimeInterval&)’ > 70 | DateTimeInterval &operator=(const DateTimeInterval &other) { > | ^~~~~~~~ > /<<PKGBUILDDIR>>/src/libs/kernel/kptcalendar.h:93:16: warning: > implicitly-declared ‘KPlato::DateTimeInterval::DateTimeInterval(const > KPlato::DateTimeInterval&)’ is deprecated [-Wdeprecated-copy] > 93 | return i; > | ^ > make[3]: *** [src/libs/ui/CMakeFiles/planui.dir/build.make:291: > src/libs/ui/CMakeFiles/planui.dir/kptganttitemdelegate.cpp.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2020/11/19/calligraplan_3.2.2-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.