Source: xygrib
Version: 1.2.6-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):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DQT_CORE_LIB
> -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB
> -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src
> -I/<<PKGBUILDDIR>>/src -I/usr/include/openjpeg-2.3
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/include
> -I/<<PKGBUILDDIR>>/src/util -I/<<PKGBUILDDIR>>/src/map
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/map/map_autogen/include
> -I/<<PKGBUILDDIR>>/src/GUI -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/GUI
> -I/<<PKGBUILDDIR>>/src/g2clib-1.6.0 -I/<<PKGBUILDDIR>>/src/map/..
> -I/<<PKGBUILDDIR>>/src/map/../util -I/<<PKGBUILDDIR>>/src/map/../GUI -isystem
> /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtGui -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/QtNetwork -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtXml -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -fPIC -fPIC -std=gnu++11 -o
> CMakeFiles/XyGrib.dir/Metar.cpp.o -c /<<PKGBUILDDIR>>/src/Metar.cpp
> /<<PKGBUILDDIR>>/src/MapDrawer.cpp: In member function ‘void
> MapDrawer::draw_Cartouche_Gridded(QPainter&, const Projection*,
> GriddedPlotter*)’:
> /<<PKGBUILDDIR>>/src/MapDrawer.cpp:734:25: warning: ‘int
> QFontMetrics::width(const QString&, int) const’ is deprecated: Use
> QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
> 734 | w1 = fmbig.width(tval2)+5;
> | ^
> 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 /<<PKGBUILDDIR>>/src/MapDrawer.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;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/MapDrawer.cpp:738:47: warning: ‘int
> QFontMetrics::width(const QString&, int) const’ is deprecated: Use
> QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
> 738 | int t = fmsmall.width (datalist.at(i))+5;
> | ^
> 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 /<<PKGBUILDDIR>>/src/MapDrawer.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;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/MapDrawer.cpp:778:41: warning: ‘int
> QFontMetrics::width(const QString&, int) const’ is deprecated: Use
> QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
> 778 | int t = fmdate.width (datalist.at(i))+5;
> | ^
> 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 /<<PKGBUILDDIR>>/src/MapDrawer.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;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/MapDrawer.cpp:800:24: warning: ‘int
> QFontMetrics::width(const QString&, int) const’ is deprecated: Use
> QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
> 800 | w = fmsign.width(sign)+5;
> | ^
> 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 /<<PKGBUILDDIR>>/src/MapDrawer.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;
> | ^~~~~
> In file included from /<<PKGBUILDDIR>>/src/MainWindow.h:47,
> from /<<PKGBUILDDIR>>/src/MainWindow.cpp:34:
> /<<PKGBUILDDIR>>/src/SkewT.h:38:25: error: invalid use of incomplete type
> ‘class QPainterPath’
> 38 | class PersPath : public QPainterPath
> | ^~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qicon.h:46,
> from
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:44,
> from
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qpushbutton.h:44,
> from
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QPushButton:1,
> from /<<PKGBUILDDIR>>/src/MainWindow.cpp:22:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward
> declaration of ‘class QPainterPath’
> 54 | class QPainterPath;
> | ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/MainWindow.cpp: In member function ‘virtual void
> ThreadNewInstance::run()’:
> /<<PKGBUILDDIR>>/src/MainWindow.cpp:54:53: warning: ‘static int
> QProcess::execute(const QString&)’ is deprecated: Use QProcess::execute(const
> QString &program, const QStringList &arguments) instead
> [-Wdeprecated-declarations]
> 54 | QProcess::execute ("\"" + appname + "\" -sw");
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1,
> from /<<PKGBUILDDIR>>/src/MainWindow.cpp:32:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:263:16: note: declared
> here
> 263 | static int execute(const QString &command);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/MainWindow.cpp: In member function ‘void
> MainWindow::slotRunMaintenanceTool()’:
> /<<PKGBUILDDIR>>/src/MainWindow.cpp:2530:63: warning: ‘static bool
> QProcess::startDetached(const QString&)’ is deprecated: Use
> QProcess::startDetached(const QString &program, const QStringList &arguments)
> instead [-Wdeprecated-declarations]
> 2530 | result = process.startDetached(maintenanceToolLocation);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1,
> from /<<PKGBUILDDIR>>/src/MainWindow.cpp:32:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:278:17: note: declared
> here
> 278 | static bool startDetached(const QString &command);
> | ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/MainWindow.cpp:2538:63: warning: ‘static bool
> QProcess::startDetached(const QString&)’ is deprecated: Use
> QProcess::startDetached(const QString &program, const QStringList &arguments)
> instead [-Wdeprecated-declarations]
> 2538 | result = process.startDetached(maintenanceToolLocation);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1,
> from /<<PKGBUILDDIR>>/src/MainWindow.cpp:32:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:278:17: note: declared
> here
> 278 | static bool startDetached(const QString &command);
> | ^~~~~~~~~~~~~
> make[3]: *** [src/CMakeFiles/XyGrib.dir/build.make:735:
> src/CMakeFiles/XyGrib.dir/MainWindow.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/11/19/xygrib_1.2.6-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.