[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925811: marked as done (qt4-x11: ftbfs with GCC-9)



Your message dated Sun, 14 Jul 2019 10:40:15 +0000
with message-id <E1hmbvT-0004gE-FH@fasolo.debian.org>
and subject line Bug#925811: fixed in qt4-x11 4:4.8.7+dfsg-19
has caused the Debian Bug report #925811,
regarding qt4-x11: ftbfs with GCC-9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
925811: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925811
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:qt4-x11
Version: 4:4.8.7+dfsg-17
Severity: normal
Tags: sid bullseye
User: debian-gcc@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

--- End Message ---
--- Begin Message ---
Source: qt4-x11
Source-Version: 4:4.8.7+dfsg-19

We believe that the bug you reported is fixed in the latest version of
qt4-x11, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 925811@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Felix Geyer <fgeyer@debian.org> (supplier of updated qt4-x11 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 14 Jul 2019 12:19:27 +0200
Source: qt4-x11
Architecture: source
Version: 4:4.8.7+dfsg-19
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Felix Geyer <fgeyer@debian.org>
Closes: 925811
Changes:
 qt4-x11 (4:4.8.7+dfsg-19) unstable; urgency=medium
 .
   * Team upload.
   * Fix FTBS with GCC 9. (Closes: #925811)
     - Add gcc9-qforeach.patch to backport Q_FOREACH changes from Qt 5
     - Update qt-everywhere-opensource-src-4.8.7-gcc6.patch to add GCC 9 to
       the compiler checks
Checksums-Sha1:
 3e7da66b32578c0aca4d7f6a75198f1a06e09b6a 6021 qt4-x11_4.8.7+dfsg-19.dsc
 5c3679de45f462e175ab87ea746c5a172e3bd264 329288 qt4-x11_4.8.7+dfsg-19.debian.tar.xz
Checksums-Sha256:
 1aa84f947b3b68ee854a9c65c743fffa122c1ac6f14646ed5789550b3e816b98 6021 qt4-x11_4.8.7+dfsg-19.dsc
 897592b436511f6909988167aff04fff6cd6308ff6565d0f0a0bd88a914629d8 329288 qt4-x11_4.8.7+dfsg-19.debian.tar.xz
Files:
 4269aac1fd12025469af96a69c85cf72 6021 oldlibs optional qt4-x11_4.8.7+dfsg-19.dsc
 3d2de1346737edc78b8b2fc9c8904b4b 329288 oldlibs optional qt4-x11_4.8.7+dfsg-19.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEFkxwUS95KUdnZKtW/iLG/YMTXUUFAl0rAlgACgkQ/iLG/YMT
XUUiOQ/8DTVQp8gQEuD06QLwz6MaIzv57IyZ6oLqrTCqmWFeYu7SaK7cU0t5DsT4
cm350wxwxnhXqdxa/I3EHG4mbZDoGD03E6RpabE8vI12L9NjXyf5m5bM/fTR3PmY
OGGJy1grm8cjI1MlA1gGy30W5Yd2YDhV1H5ujnRdskJFVceLQUvuUdaRhuWcPDY/
RIT3tQADcM5d84BSoK6CNayWEF3Wk+EvLzEFszPfpgUjm4QYxBhzu6c53GsvEsA4
AMfaGejKhIF49HLtm5DIPsHIFcYxQDZCOkt1UAky3ryDPcFJPMhC1AN2xle1PJE5
xvBBIxKHRVemGWwJNHPApn+4t9y/wZVBJIIllBrcSW5jJ8ggC+v5NtlSMgTBT+9a
XwTnw4C/B1VkmwIXsd5ndyRpucTClAY7S0Jea/AxU56tASiTSewYnldQqaQynRIt
NC+TGDyA+PGhivOUqAoPt3ARsFOxdH6S27CXApaz+yTU2KdXorLO8Y5sDb+SCuDS
dUXtOM2SC+mx0g9MqCZr8tSsqHxEGq4xbNNULJJ/ymxUru5O8eeKPW90VS4+ZI1a
Kj7pv8vF/9o/vO6cLRgW5Wa4yBqMFjd+n4DW73Aee+DmPfTBXI3hgPgv0h+xOpUw
oL9PI+urE1xmBESfL9DmdVb7GWXOdQKzRSj7RPMeKnRnnaVu/2c=
=JA8R
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: