Package: src:qt4-x11 Version: 4:4.8.7+dfsg-17 Severity: normal Tags: sid bullseye User: debian-...@lists.debian.org Usertags: ftbfs-gcc-9
Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The severity of this report will be raised before the bullseye release, so nothing has to be done for the buster release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc9-20190321/qt4-x11_4.8.7+dfsg-17_unstable_gcc9.log The last lines of the build log are at the end of this report. To build with GCC 9, either set CC=gcc-9 CXX=g++-9 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-9/porting_to.html GCC 9 also passes the linker option --as-needed by default; typical build issues are passing libraries before object files to the linker, or underlinking of convenience libraries built from the same source. [...] 501 | widget.paperHeight->setValue(m_paperSize.height() / m_currentMultiplier); | ^~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp: In member function 'void QPageSetupWidget::_q_pageOrientationChanged()': dialogs/qpagesetupdialog_unix.cpp:508:36: error: 'class Ui::QPageSetupWidget' has no member named 'paperSize' 508 | if (QPrinter::PaperSize(widget.paperSize->currentIndex()) == QPrinter::Custom) { | ^~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:509:29: error: 'class Ui::QPageSetupWidget' has no member named 'paperWidth' 509 | double tmp = widget.paperWidth->value(); | ^~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:510:16: error: 'class Ui::QPageSetupWidget' has no member named 'paperWidth' 510 | widget.paperWidth->setValue(widget.paperHeight->value()); | ^~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:510:44: error: 'class Ui::QPageSetupWidget' has no member named 'paperHeight' 510 | widget.paperWidth->setValue(widget.paperHeight->value()); | ^~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:511:16: error: 'class Ui::QPageSetupWidget' has no member named 'paperHeight' 511 | widget.paperHeight->setValue(tmp); | ^~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp: In member function 'void QPageSetupWidget::unitChanged(int)': dialogs/qpagesetupdialog_unix.cpp:542:12: error: 'class Ui::QPageSetupWidget' has no member named 'topMargin' 542 | widget.topMargin->setSuffix(suffix); | ^~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:543:12: error: 'class Ui::QPageSetupWidget' has no member named 'leftMargin' 543 | widget.leftMargin->setSuffix(suffix); | ^~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:544:12: error: 'class Ui::QPageSetupWidget' has no member named 'rightMargin' 544 | widget.rightMargin->setSuffix(suffix); | ^~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:545:12: error: 'class Ui::QPageSetupWidget' has no member named 'bottomMargin' 545 | widget.bottomMargin->setSuffix(suffix); | ^~~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:546:12: error: 'class Ui::QPageSetupWidget' has no member named 'paperWidth' 546 | widget.paperWidth->setSuffix(suffix); | ^~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:547:12: error: 'class Ui::QPageSetupWidget' has no member named 'paperHeight' 547 | widget.paperHeight->setSuffix(suffix); | ^~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:548:12: error: 'class Ui::QPageSetupWidget' has no member named 'topMargin' 548 | widget.topMargin->setValue(m_topMargin / m_currentMultiplier); | ^~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:549:12: error: 'class Ui::QPageSetupWidget' has no member named 'leftMargin' 549 | widget.leftMargin->setValue(m_leftMargin / m_currentMultiplier); | ^~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:550:12: error: 'class Ui::QPageSetupWidget' has no member named 'rightMargin' 550 | widget.rightMargin->setValue(m_rightMargin / m_currentMultiplier); | ^~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:551:12: error: 'class Ui::QPageSetupWidget' has no member named 'bottomMargin' 551 | widget.bottomMargin->setValue(m_bottomMargin / m_currentMultiplier); | ^~~~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:552:12: error: 'class Ui::QPageSetupWidget' has no member named 'paperWidth' 552 | widget.paperWidth->setValue(m_paperSize.width() / m_currentMultiplier); | ^~~~~~~~~~ dialogs/qpagesetupdialog_unix.cpp:553:12: error: 'class Ui::QPageSetupWidget' has no member named 'paperHeight' 553 | widget.paperHeight->setValue(m_paperSize.height() / m_currentMultiplier); | ^~~~~~~~~~~ g++ -c -include .pch/release-shared/QtGui -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/qt4-x11-4.8.7+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++98 -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qabstractpagesetupdialog.o dialogs/qabstractpagesetupdialog.cpp dialogs/qpagesetupdialog_unix.cpp: At global scope: dialogs/qpagesetupdialog_unix.cpp:70:13: warning: 'void populatePaperSizes(QComboBox*)' defined but not used [-Wunused-function] 70 | static void populatePaperSizes(QComboBox* cb) | ^~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:130178: .obj/release-shared/qpagesetupdialog_unix.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/<<BUILDDIR>>/qt4-x11-4.8.7+dfsg/src/gui' make[2]: *** [Makefile:424: sub-gui-make_default-ordered] Error 2 make[2]: Leaving directory '/<<BUILDDIR>>/qt4-x11-4.8.7+dfsg' dh_auto_build: make -j4 returned exit code 2 make[1]: *** [debian/rules:172: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<BUILDDIR>>/qt4-x11-4.8.7+dfsg' make: *** [debian/rules:94: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2