[Pkg-kde-extras] Bug#975152: wacomtablet: FTBFS: pressurecurvewidget.cpp:185:18: error: aggregate ‘QPainterPath curvePath’ has incomplete type and cannot be defined
Lucas Nussbaum
lucas at debian.org
Thu Nov 19 09:38:38 GMT 2020
Source: wacomtablet
Version: 3.2.0-3
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/kded && /usr/bin/c++ -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"wacomtablet\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/kded -I/<<PKGBUILDDIR>>/src/kded -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/kded/kded_wacomtablet_lib_autogen/include -I/<<PKGBUILDDIR>>/src/common -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common -I/usr/include/libwacom-1.0 -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/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KDBusAddons -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 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -fPIC -std=gnu++11 -o CMakeFiles/kded_wacomtablet_lib.dir/logging.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/kded/logging.cpp
> /<<PKGBUILDDIR>>/src/kcmodule/pressurecurvewidget.cpp: In member function ‘virtual void Wacom::PressureCurveWidget::paintEvent(QPaintEvent*)’:
> /<<PKGBUILDDIR>>/src/kcmodule/pressurecurvewidget.cpp:185:18: error: aggregate ‘QPainterPath curvePath’ has incomplete type and cannot be defined
> 185 | QPainterPath curvePath;
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/kcmodule/pressurecurvewidget.cpp:190:42: error: variable ‘QPainterPath areaBelowCurve’ has initializer but incomplete type
> 190 | QPainterPath areaBelowCurve(curvePath);
> | ^
> /<<PKGBUILDDIR>>/src/kcmodule/pressurecurvewidget.cpp:194:18: error: aggregate ‘QPainterPath subtract’ has incomplete type and cannot be defined
> 194 | QPainterPath subtract;
> | ^~~~~~~~
> make[3]: *** [src/kcmodule/CMakeFiles/kcm_testlib.dir/build.make:285: src/kcmodule/CMakeFiles/kcm_testlib.dir/pressurecurvewidget.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/11/19/wacomtablet_3.2.0-3_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.
More information about the pkg-kde-extras
mailing list