[Pkg-deepin-devel] Bug#975140: deepin-music: FTBFS: view/widget/cover.cpp:105:22: error: aggregate ‘QPainterPath backgroundPath’ has incomplete type and cannot be defined

Lucas Nussbaum lucas at debian.org
Thu Nov 19 09:34:23 GMT 2020


Source: deepin-music
Version: 5.0.1+ds-2
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):
> g++ -c -pipe -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=5.0.1+ds-2 -DQT_MESSAGELOGCONTEXT -D_TRANSLATIONS_PATH=\"/usr/share///translations\" -D_TRANSLATIONS_DIR=\"//translations\" -DSUPPORT_INOTIFY -DGIT_VERSION=\"\" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../libdmusic -I/usr/include/x86_64-linux-gnu/qt5/DBusExtended -I/usr/include/x86_64-linux-gnu/qt5/MprisQt -I../interface -Iview/helper -Icore -I/usr/include/x86_64-linux-gnu -I/usr/include/libdtk-2.1.1/DWidget -I/usr/include/libdtk-2.1.1/DCore -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtMultimediaWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o cover.o view/widget/cover.cpp
> view/widget/cover.cpp: In member function ‘virtual void Cover::paintEvent(QPaintEvent*)’:
> view/widget/cover.cpp:105:22: error: aggregate ‘QPainterPath backgroundPath’ has incomplete type and cannot be defined
>   105 |         QPainterPath backgroundPath;
>       |                      ^~~~~~~~~~~~~~
> view/widget/cover.cpp:113:18: error: aggregate ‘QPainterPath innerBorderPath’ has incomplete type and cannot be defined
>   113 |     QPainterPath innerBorderPath;
>       |                  ^~~~~~~~~~~~~~~
> view/widget/cover.cpp:124:18: error: aggregate ‘QPainterPath outerBorderPath’ has incomplete type and cannot be defined
>   124 |     QPainterPath outerBorderPath;
>       |                  ^~~~~~~~~~~~~~~
> view/widget/cover.cpp: In member function ‘void Cover::setCoverPixmap(const QPixmap&)’:
> view/widget/cover.cpp:150:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
>   150 |     QPainterPath path;
>       |                  ^~~~
> g++ -c -pipe -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=5.0.1+ds-2 -DQT_MESSAGELOGCONTEXT -D_TRANSLATIONS_PATH=\"/usr/share///translations\" -D_TRANSLATIONS_DIR=\"//translations\" -DSUPPORT_INOTIFY -DGIT_VERSION=\"\" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../libdmusic -I/usr/include/x86_64-linux-gnu/qt5/DBusExtended -I/usr/include/x86_64-linux-gnu/qt5/MprisQt -I../interface -Iview/helper -Icore -I/usr/include/x86_64-linux-gnu -I/usr/include/libdtk-2.1.1/DWidget -I/usr/include/libdtk-2.1.1/DCore -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtMultimediaWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o infodialog.o view/widget/infodialog.cpp
> make[3]: *** [Makefile:1295: cover.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/deepin-music_5.0.1+ds-2_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-deepin-devel mailing list