[Pkg-deepin-devel] Bug#975156: deepin-screen-recorder: FTBFS: src/utils.cpp:113:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined

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


Source: deepin-screen-recorder
Version: 5.0.0-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 -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 -DDSR_LANG_PATH=\"/usr/share/deepin-screen-recorder/translations\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/libdtk-2.1.1/DWidget -I/usr/include/libdtk-2.1.1/DCore -I/usr/include/libdtk-2.1.1/DWm -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -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/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o record_button.o src/record_button.cpp
> src/utils.cpp: In static member function ‘static QSize Utils::getRenderSize(int, QString)’:
> src/utils.cpp:57:38: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
>    57 |         int lineWidth = fm.width(line);
>       |                                      ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFontMetrics:1,
>                  from src/utils.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
>   106 |     int width(const QString &, int len = -1) const;
>       |         ^~~~~
> src/utils.cpp: In static member function ‘static void Utils::drawTooltipBackground(QPainter&, QRect, qreal)’:
> src/utils.cpp:113:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
>   113 |     QPainterPath path;
>       |                  ^~~~
> make[1]: *** [Makefile:598: utils.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/deepin-screen-recorder_5.0.0-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