Bug#925713: highwayhash: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:45:37 GMT 2019


Package: src:highwayhash
Version: 0~git20190222.276dd7b-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at 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/highwayhash_0~git20190222.276dd7b-1_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.

[...]
g++ -g -O2 -fdebug-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 -m0555 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 -a
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installman -a
   dh_lintian -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_missing -a
   dh_strip -a
   dh_makeshlibs -a
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
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~git20190222.276dd7b-1_amd64)
+++ dpkg-gensymbolsrf8P0s	2019-03-26 16:55:12.688604997 +0000
@@ -42,6 +42,7 @@
  _ZN11highwayhash5CpuidEjjPj at Base 0~20170419-g1f4a24f
  _ZN11highwayhash6ApicIdEv at Base 0~20170419-g1f4a24f
  _ZN11highwayhash6MedianIfEET_PSt6vectorIS1_SaIS1_EE at Base 0~20170419-g1f4a24f
+ _ZN11highwayhash8Portable15HHStatePortable6UpdateERA4_Km at Base 0~git20190222.276dd7b-1
  _ZNK11highwayhash11HighwayHashILj1EEclERA4_KmPKcmPA2_m at Base 0~20170419-g1f4a24f
  _ZNK11highwayhash11HighwayHashILj1EEclERA4_KmPKcmPA4_m at Base 0~20170419-g1f4a24f
  _ZNK11highwayhash11HighwayHashILj1EEclERA4_KmPKcmPm at Base 0~20170419-g1f4a24f
@@ -64,10 +65,22 @@
  _ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv at Base 0~20180209-g14dedec
  _ZNSt24uniform_int_distributionImEclISt20discard_block_engineISt26subtract_with_carry_engineImLm48ELm5ELm12EELm389ELm11EEEEmRT_RKNS0_10param_typeE at Base 0~20170419-g1f4a24f
  _ZNSt6vectorISt4pairIjiESaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0~20180103-geeea446
+ _ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_ at Base 0~git20190222.276dd7b-1
 #MISSING: 0~git20190222.276dd7b-1# _ZNSt6vectorIjSaIjEE17_M_realloc_insertIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ at Base 0~20180209-g14dedec
  _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~20170419-g1f4a24f
+ _ZNSt8_Rb_treeImSt4pairIKmSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessImESaIS5_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESG_IJEEEEESt17_Rb_tree_iteratorIS5_ESt23_Rb_tree_const_iteratorIS5_EDpOT_ at Base 0~git20190222.276dd7b-1
+#MISSING: 0~git20190222.276dd7b-1# _ZNSt8_Rb_treeImSt4pairIKmSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessImESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERS1_ at Base 0~20170419-g1f4a24f
  _ZNSt8_Rb_treeImSt4pairIKmSt6vectorIjSaIjEEESt10_Select1stIS5_ESt4lessImESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E at Base 0~20170419-g1f4a24f
+ _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPSt4pairIjiESt6vectorIS3_SaIS3_EEEElS3_NS0_5__ops15_Iter_less_iterEEvT_T0_SC_T1_T2_ at Base 0~git20190222.276dd7b-1
+ _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEElfNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_ at Base 0~git20190222.276dd7b-1
+ _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEljNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_ at Base 0~git20190222.276dd7b-1
+ _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEElmNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_ at Base 0~git20190222.276dd7b-1
+ _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIjiESt6vectorIS3_SaIS3_EEEENS0_5__ops15_Iter_less_iterEEvT_SB_T0_ at Base 0~git20190222.276dd7b-1
+ _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_ at Base 0~git20190222.276dd7b-1
+ _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_ at Base 0~git20190222.276dd7b-1
+ _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEElNS0_5__ops15_Iter_less_iterEEvT_S9_T0_T1_ at Base 0~git20190222.276dd7b-1
+ _ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIPSt4pairIjiESt6vectorIS3_SaIS3_EEEENS0_5__ops15_Iter_less_iterEEvT_SB_SB_SB_T0_ at Base 0~git20190222.276dd7b-1
+ _ZSt7shuffleIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEERSt20discard_block_engineISt26subtract_with_carry_engineImLm48ELm5ELm12EELm389ELm11EEEvT_SC_OT0_ at Base 0~git20190222.276dd7b-1
  _ZSt7shuffleIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEERSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEEvT_SA_OT0_ at Base 0~20180209-g14dedec
  _ZZN11highwayhash4AVX211ConcatenateERKNS0_4V128IjEEmS4_E5table at Base 0~20170419-g1f4a24f
  _ZZN11highwayhash8Portable15HHStatePortable5ResetEPKmE5init0 at Base 0~20170419-g1f4a24f
dh_makeshlibs: failing due to earlier errors
make: *** [debian/rules:22: binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2



More information about the debian-science-maintainers mailing list