[Debian-med-packaging] Bug#984103: libedlib: ftbfs with GCC-11

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


Package: src:libedlib
Version: 1.2.6-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/libedlib_1.2.6-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.

[...]
running install_egg_info
running egg_info
creating edlib.egg-info
writing edlib.egg-info/PKG-INFO
writing dependency_links to edlib.egg-info/dependency_links.txt
writing top-level names to edlib.egg-info/top_level.txt
writing manifest file 'edlib.egg-info/SOURCES.txt'
reading manifest file 'edlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'edlib.egg-info/SOURCES.txt'
Copying edlib.egg-info to /<<PKGBUILDDIR>>/debian/python3-edlib/usr/lib/python3.9/dist-packages/edlib-1.3.6.egg-info
Skipping SOURCES.txt
running install_scripts
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
file-rename 's/_static\.a/.a/' `find debian -name libedlib_static.a`
d-shlibmove --commit \
	    --multiarch \
	    --devunversioned \
	    --exclude-la \
	    --movedev debian/tmp/usr/include/* usr/include \
	    --movedev debian/tmp/usr/lib/*/pkgconfig usr/lib/x86_64-linux-gnu \
	    debian/tmp/usr/lib/*/*.so
Library package automatic movement utility
set -e
install -d -m 755 debian/libedlib-dev/usr/lib/x86_64-linux-gnu
install -d -m 755 debian/libedlib0/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/libedlib.a debian/libedlib-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/libedlib.so debian/libedlib-dev/usr/lib/x86_64-linux-gnu
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libedlib.so.0 debian/libedlib0/usr/lib/x86_64-linux-gnu
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libedlib.so.1.2.5 debian/libedlib0/usr/lib/x86_64-linux-gnu
PKGDEV=libedlib-dev
PKGSHL=libedlib0
install -d -m 755 debian/libedlib-dev/usr/include
mv debian/tmp/usr/include/edlib.h debian/libedlib-dev/usr/include
install -d -m 755 debian/libedlib-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig debian/libedlib-dev/usr/lib/x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_python3
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz
   dh_strip
   dh_makeshlibs
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libedlib0/DEBIAN/symbols doesn't match completely debian/libedlib0.symbols
--- debian/libedlib0.symbols (libedlib0_1.2.6-1_amd64)
+++ dpkg-gensymbolskbvZvD	2021-03-01 21:08:06.817495969 +0000
@@ -1,7 +1,7 @@
 libedlib.so.0 libedlib0 #MINVER#
  _ZN18EqualityDefinitionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK17EdlibEqualityPairi at Base 1.2.3
  _ZN18EqualityDefinitionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK17EdlibEqualityPairi at Base 1.2.3
- _ZNSt6vectorIcSaIcEE17_M_realloc_insertIJRKcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_ at Base 1.2.4
+#MISSING: 1.2.6-1# _ZNSt6vectorIcSaIcEE17_M_realloc_insertIJRKcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_ at Base 1.2.4
  _ZNSt6vectorIcSaIcEE17_M_realloc_insertIJcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_ at Base 1.2.4
  _ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_ at Base 1.2.3
  edlibAlign at Base 1.2.3
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list