[Debian-med-packaging] Bug#984206: libquazip: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:14:56 GMT 2021


Package: src:libquazip
Version: 0.9.1-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/libquazip_0.9.1-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
	gzip -9nf usr/share/doc/libquazip5-1/changelog usr/share/doc/libquazip5-1/changelog.Debian usr/share/man/man1/libquazip5-1.1
	chmod a-x usr/share/doc/libquazip-doc/changelog usr/share/doc/libquazip-doc/changelog.Debian
	gzip -9nf usr/share/doc/libquazip5-dev/changelog usr/share/doc/libquazip5-dev/changelog.Debian
	gzip -9nf usr/share/doc/libquazip-doc/changelog usr/share/doc/libquazip-doc/changelog.Debian
	cd '/<<PKGBUILDDIR>>'
	cd '/<<PKGBUILDDIR>>'
	cd '/<<PKGBUILDDIR>>'
	rm -f debian/libquazip5-1/usr/share/doc/libquazip5-1/NEWS debian/libquazip5-1/usr/share/doc/libquazip5-1/NEWS.gz
	ln -s changelog.gz debian/libquazip5-1/usr/share/doc/libquazip5-1/NEWS.gz
	rm -f debian/libquazip5-dev/usr/share/doc/libquazip5-dev/NEWS debian/libquazip5-dev/usr/share/doc/libquazip5-dev/NEWS.gz
	ln -s changelog.gz debian/libquazip5-dev/usr/share/doc/libquazip5-dev/NEWS.gz
	rm -f debian/libquazip-doc/usr/share/doc/libquazip-doc/NEWS debian/libquazip-doc/usr/share/doc/libquazip-doc/NEWS.gz
	ln -s changelog.gz debian/libquazip-doc/usr/share/doc/libquazip-doc/NEWS.gz
   dh_fixperms -O-buildsystemqmake
	find debian/libquazip5-1 ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/libquazip5-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/libquazip-doc ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/libquazip5-1/usr/share/doc -type f -a -true -a ! -regex 'debian/libquazip5-1/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip-doc/usr/share/doc -type f -a -true -a ! -regex 'debian/libquazip-doc/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip5-dev/usr/share/doc -type f -a -true -a ! -regex 'debian/libquazip5-dev/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip5-1/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/libquazip5-dev/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/libquazip-doc/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/libquazip5-1/usr/share/man -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip5-dev/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip-doc/usr/share/lintian/overrides -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip5-1 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip5-dev -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip-doc -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/libquazip5-1/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
	find debian/libquazip5-dev/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
	rm -f debian/libquazip-doc.debhelper.log debian/libquazip5-1.debhelper.log debian/libquazip5-dev.debhelper.log
   debian/rules override_dh_missing
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_missing --fail-missing
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_dwz -a -O-buildsystemqmake
	dwz -- debian/libquazip5-1/usr/lib/x86_64-linux-gnu/libquazip5.so.1.0.0
   dh_strip -a -O-buildsystemqmake
	strip --strip-debug --remove-section=.comment --remove-section=.note --enable-deterministic-archives -R .gnu.lto_\* -R .gnu.debuglto_\* -N __gnu_lto_slim -N __gnu_lto_v1 debian/libquazip5-dev/usr/lib/x86_64-linux-gnu/libquazip5.a
	install -d debian/.debhelper/libquazip5-1/dbgsym-root/usr/lib/debug/.build-id/5b
	objcopy --only-keep-debug --compress-debug-sections debian/libquazip5-1/usr/lib/x86_64-linux-gnu/libquazip5.so.1.0.0 debian/.debhelper/libquazip5-1/dbgsym-root/usr/lib/debug/.build-id/5b/b19efadb20793293f1c240640a587a8a66c924.debug
	chmod 0644 -- debian/.debhelper/libquazip5-1/dbgsym-root/usr/lib/debug/.build-id/5b/b19efadb20793293f1c240640a587a8a66c924.debug
	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libquazip5-1/usr/lib/x86_64-linux-gnu/libquazip5.so.1.0.0
	objcopy --add-gnu-debuglink debian/.debhelper/libquazip5-1/dbgsym-root/usr/lib/debug/.build-id/5b/b19efadb20793293f1c240640a587a8a66c924.debug debian/libquazip5-1/usr/lib/x86_64-linux-gnu/libquazip5.so.1.0.0
	install -d debian/.debhelper/libquazip5-1/dbgsym-root/usr/share/doc
	ln -s libquazip5-1 debian/.debhelper/libquazip5-1/dbgsym-root/usr/share/doc/libquazip5-1-dbgsym
   dh_makeshlibs -a -O-buildsystemqmake
	rm -f debian/libquazip5-1/DEBIAN/shlibs
	echo "libquazip5 1 libquazip5-1 (>= 0.9.1)" >> debian/libquazip5-1/DEBIAN/shlibs
	chmod 0644 -- debian/libquazip5-1/DEBIAN/shlibs
	dpkg-gensymbols -plibquazip5-1 -Idebian/libquazip5-1.symbols.amd64 -Pdebian/libquazip5-1 -edebian/libquazip5-1/usr/lib/x86_64-linux-gnu/libquazip5.so.1.0.0
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libquazip5-1/DEBIAN/symbols doesn't match completely debian/libquazip5-1.symbols.amd64
--- debian/libquazip5-1.symbols.amd64 (libquazip5-1_0.9.1-1_amd64)
+++ dpkg-gensymbols5l5C8M	2021-03-01 21:05:52.155832010 +0000
@@ -334,7 +334,7 @@
  _ZSt13__heap_selectIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_S9_T0_ at Base 0.9
  _ZSt16__insertion_sortIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_T0_ at Base 0.9
  _ZSt16__introsort_loopIN5QListI16QuaZipFileInfo64E8iteratorEiN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_T0_T1_ at Base 0.9
- _ZSt21__unguarded_partitionIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEET_S9_S9_S9_T0_ at Base 0.9.1
+#MISSING: 0.9.1-1# _ZSt21__unguarded_partitionIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEET_S9_S9_S9_T0_ at Base 0.9.1
  _ZSt22__move_median_to_firstIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops15_Iter_comp_iterI19QuaZipDirComparatorEEEvT_S9_S9_S9_T0_ at Base 0.9.1
  _ZSt25__unguarded_linear_insertIN5QListI16QuaZipFileInfo64E8iteratorEN9__gnu_cxx5__ops14_Val_comp_iterI19QuaZipDirComparatorEEEvT_T0_ at Base 0.9
  _ZTI10QuaAdler32 at Base 0.7.3
dh_makeshlibs: error: failing due to earlier errors
	mv debian/.debhelper/generated/libquazip5-1/triggers.new debian/.debhelper/generated/libquazip5-1/triggers
	rm -f debian/libquazip5-dev/DEBIAN/shlibs
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list