Source: datovka
Version: 4.9.3-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 -g -O0 -std=c++11 -Wall -Wextra -pedantic -Wformat 
> -Werror=format-security -Isrc/views -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra 
> -D_REENTRANT -fPIC -DDEBUG=1 -DVERSION=\"4.9.3\" -DDATADIR=\"/usr/share\" 
> -DPKGDATADIR=\"\" -DLOCALE_INST_DIR="\"/usr/share/datovka/localisations\"" 
> -DTEXT_FILES_INST_DIR="\"/usr/share/doc/datovka\"" 
> -DDISABLE_VERSION_CHECK_BY_DEFAULT=1 -DQT_NO_DEBUG -DQT_SVG_LIB 
> -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB 
> -DQT_SQL_LIB -DQT_CORE_LIB -I. -Isrc -I/usr/include/libxml2 
> -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/QtPrintSupport 
> -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets 
> -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/QtSql 
> -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. 
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tag_item.o 
> src/delegates/tag_item.cpp
> src/delegates/tag_item.cpp: In member function ‘int TagItem::paint(QPainter*, 
> const QStyleOptionViewItem&) const’:
> src/delegates/tag_item.cpp:59:15: error: aggregate ‘QPainterPath path’ has 
> incomplete type and cannot be defined
>    59 |  QPainterPath path;
>       |               ^~~~
> src/delegates/tag_item.cpp: In member function ‘QSize TagItem::sizeHint(const 
> QStyleOptionViewItem&) const’:
> src/delegates/tag_item.cpp:104:43: warning: ‘int QFontMetrics::width(const 
> QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance 
> [-Wdeprecated-declarations]
>   104 |  int width = QFontMetrics(font).width(name);
>       |                                           ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:59,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1,
>                  from src/delegates/tag_item.cpp:25:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared 
> here
>   106 |     int width(const QString &, int len = -1) const;
>       |         ^~~~~
> make[1]: *** [Makefile:1657: tag_item.o] Error 1

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

Reply via email to