[Pkg-deepin-devel] Bug#975132: deepin-voice-recorder: FTBFS: src/waveform.cpp:77:26: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined

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


Source: deepin-voice-recorder
Version: 5.0.0-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):
> 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 -DVERSION=5.0.0 -DDSR_LANG_PATH=\"/usr/share/deepin-voice-recorder/translations\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_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/x86_64-linux-gnu -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/QtMultimedia -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/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o file_view.o src/file_view.cpp
> src/waveform.cpp: In member function ‘virtual void Waveform::paintEvent(QPaintEvent*)’:
> src/waveform.cpp:77:26: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
>    77 |             QPainterPath path;
>       |                          ^~~~
> src/waveform.cpp:91:22: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
>    91 |         QPainterPath path;
>       |                      ^~~~
> src/list_page.cpp: In member function ‘QString ListPage::getPlayingFilepath()’:
> src/list_page.cpp:139:47: warning: ‘QMediaResourceList QMediaContent::resources() const’ is deprecated [-Wdeprecated-declarations]
>   139 |         return audioPlayer->media().resources().first().url().path();
>       |                                               ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtMultimedia/qmediaplayer.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtMultimedia/QMediaPlayer:1,
>                  from src/list_page.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtMultimedia/qmediacontent.h:81:38: note: declared here
>    81 |     QT_DEPRECATED QMediaResourceList resources() const;
>       |                                      ^~~~~~~~~
> make[1]: *** [Makefile:674: waveform.o] Error 1

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



More information about the Pkg-deepin-devel mailing list