Bug#984175: highwayhash: ftbfs with GCC-11

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


Package: src:highwayhash
Version: 0~git20200803.9490b14-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/highwayhash_0~git20200803.9490b14-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.

[...]
    8: median= 35.68 ticks; median abs. deviation= 0.292 ticks
Running on CPU #2, APIC ID 01
                                  spin60:          1 x          149991 =          149991
                                  Level3:          1 x           94405 =           94405
                                  spin30:          1 x           74915 =           74915
                                  Spin10:          1 x           59675 =           59675
                                  Spin20:          1 x           49847 =           49847
                         ProfilerExample:          1 x              36 =              36
                                  Level2:          1 x               2 =               2
                                  Level1:          1 x               0 =               0
Total clocks during analysis: 2189544
VerifySipHash succeeded.
  Portable: done
     SSE41: done
      AVX2: done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
	make -j4 install DESTDIR=/<<BUILDDIR>>/highwayhash-0\~git20200803.9490b14/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 -fPIC -pthread -Wl,-z,relro -Wl,-z,now -pthread -shared obj/sip_hash.o obj/sip_tree_hash.o obj/scalar_sip_tree_hash.o obj/arch_specific.o obj/instruction_sets.o obj/nanobenchmark.o obj/os_specific.o obj/hh_portable.o obj/hh_avx2.o obj/hh_sse41.o obj/c_bindings.o -o lib/libhighwayhash.so.0 -Wl,-soname,libhighwayhash.so.0
mkdir -p /<<PKGBUILDDIR>>/debian/tmp//usr/lib/x86_64-linux-gnu/
mkdir -p /<<PKGBUILDDIR>>/debian/tmp//usr/include//highwayhash
install -m0444 lib/libhighwayhash.a /<<PKGBUILDDIR>>/debian/tmp//usr/lib/x86_64-linux-gnu/
install -m0755 lib/libhighwayhash.so /<<PKGBUILDDIR>>/debian/tmp//usr/lib/x86_64-linux-gnu/
install -m0444 highwayhash/*.h /<<PKGBUILDDIR>>/debian/tmp//usr/include//highwayhash/
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
mkdir -p debian/libhighwayhash0/usr/lib/x86_64-linux-gnu
rename 's/.so/.so.0/' debian/tmp/usr/lib/x86_64-linux-gnu/*.so
install -m0755 debian/tmp/usr/lib/x86_64-linux-gnu/*.so.0 \
	debian/libhighwayhash0/usr/lib/x86_64-linux-gnu/
mkdir -p debian/libhighwayhash-dev/usr/lib/x86_64-linux-gnu
install -m0755 debian/tmp/usr/lib/x86_64-linux-gnu/*.a \
	debian/libhighwayhash-dev/usr/lib/x86_64-linux-gnu/
set -e; cd debian/libhighwayhash-dev/usr/lib/x86_64-linux-gnu/; \
	ln -s libhighwayhash.so.0 libhighwayhash.so
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installman
   dh_lintian
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz -a
   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/libhighwayhash0/DEBIAN/symbols doesn't match completely debian/libhighwayhash0.symbols
--- debian/libhighwayhash0.symbols (libhighwayhash0_0~git20200803.9490b14-1_amd64)
+++ dpkg-gensymbolsS9zVIR	2021-03-01 21:09:25.888906647 +0000
@@ -68,7 +68,7 @@
  _ZNSt6vectorIjSaIjEE17_M_realloc_insertIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ at Base 0~git20200803.9490b14
  _ZNSt6vectorIjSaIjEE17_M_realloc_insertIJjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ at Base 0~git20200803.9490b14
  _ZNSt6vectorImSaImEE17_M_default_appendEm at Base 0~20180209-g14dedec
- _ZNSt8_Rb_treeImSt4pairIKmSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessImESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1_ at Base 0~git20200803.9490b14
+#MISSING: 0~git20200803.9490b14-1# _ZNSt8_Rb_treeImSt4pairIKmSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessImESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1_ at Base 0~git20200803.9490b14
  _ZSt7shuffleIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEERSt20discard_block_engineISt26subtract_with_carry_engineImLm48ELm5ELm12EELm389ELm11EEEvT_SC_OT0_ at Base 0~git20191002.0aaf66b
  _ZSt7shuffleIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEERSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEEvT_SA_OT0_ at Base 0~20180209-g14dedec
  _ZZN11highwayhash4AVX211ConcatenateERKNS0_4V128IjEEmS4_E5table at Base 0~20170419-g1f4a24f
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list