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

Bug#925815: qtsvg-opensource-src: ftbfs with GCC-9



Package: src:qtsvg-opensource-src
Version: 5.11.3-2
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/qtsvg-opensource-src_5.11.3-2_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.

[...]
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/embedded/weatherinfo/weatherinfo.cpp /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/embedded/weatherinfo/weatherinfo.cpp
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/embedded/weatherinfo/weatherinfo.qrc /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/embedded/weatherinfo/weatherinfo.qrc
make[6]: Leaving directory '/<<PKGBUILDDIR>>/examples/svg/embedded/weatherinfo'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/examples/svg/embedded'
make[6]: Entering directory '/<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject'
/usr/lib/qt5/bin/qmake -install qinstall -exe framebufferobject /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/framebufferobject
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject/bubbles.svg /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/bubbles.svg
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject/designer.png /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/designer.png
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject/framebufferobject.pro /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/framebufferobject.pro
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject/glwidget.cpp /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/glwidget.cpp
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject/main.cpp /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/main.cpp
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject/glwidget.h /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/glwidget.h
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject/framebufferobject.qrc /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/svg/opengl/framebufferobject/framebufferobject.qrc
make[6]: Leaving directory '/<<PKGBUILDDIR>>/examples/svg/opengl/framebufferobject'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/examples/svg/opengl'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/examples/svg'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/examples'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# Fix wrong permissions in examples.
find /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/examples/ -type f \( \
-name '*.svg' \
\) -print0 | xargs -0 chmod 644
# Remove libtool-like files
rm -f debian/tmp/usr/lib/x86_64-linux-gnu/*.la
# Remove private headers
rm -rfv debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/*/QtSvg/private
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qsvgtinydocument_p.h'
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qsvgfont_p.h'
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qsvgstructure_p.h'
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qsvggraphics_p.h'
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qtsvgglobal_p.h'
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qsvgstyle_p.h'
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qsvghandler_p.h'
removed 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private/qsvgnode_p.h'
removed directory 'debian/tmp/usr/include/x86_64-linux-gnu/qt5/QtSvg/5.11.3/QtSvg/private'
# Remove other private stuff
rm -fv debian/tmp/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_svg_private.pri
removed 'debian/tmp/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_svg_private.pri'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -a
   dh_installdocs -a
   dh_installchangelogs -a
   dh_lintian -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   debian/rules override_dh_missing
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_missing --fail-missing
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_strip -a
   dh_makeshlibs -a
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqt5svg5/DEBIAN/symbols doesn't match completely debian/libqt5svg5.symbols
--- debian/libqt5svg5.symbols (libqt5svg5_5.11.3-2_amd64)
+++ dpkg-gensymbols_Ww5NQ	2019-03-26 16:26:00.863394419 +0000
@@ -269,7 +269,7 @@
  _ZN9QSvgStyle6revertEP8QPainterR15QSvgExtraStates@Qt_5_PRIVATE_API 5.6.0~beta 1
  _ZN9QSvgStyleD1Ev@Qt_5_PRIVATE_API 5.6.0~beta 1
  _ZN9QSvgStyleD2Ev@Qt_5_PRIVATE_API 5.6.0~beta 1
- _ZNK10QStringRef7compareE13QLatin1StringN2Qt15CaseSensitivityE@Qt_5 5.9.0
+#MISSING: 5.11.3-2# _ZNK10QStringRef7compareE13QLatin1StringN2Qt15CaseSensitivityE@Qt_5 5.9.0
  _ZNK10QSvgCircle4typeEv@Qt_5_PRIVATE_API 5.6.0~beta 1
  _ZNK10QSvgSwitch4typeEv@Qt_5_PRIVATE_API 5.6.0~beta 1
  _ZNK10QSvgWidget10metaObjectEv@Qt_5 5.6.0~beta
dh_makeshlibs: failing due to earlier errors
make: *** [debian/rules:14: binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2


Reply to: