[Debian-med-packaging] Bug#925835: spoa: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:48:12 GMT 2019


Package: src:spoa
Version: 1.1.5-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/spoa_1.1.5-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.

[...]
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libspoa.so.1.1.5
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libspoa.so
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libspoa_static.a
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/spoa
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/spoa/spoa.hpp
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/spoa/graph.hpp
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/spoa/alignment_engine.hpp
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/spoa-1.pc
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/spoa
-- Set runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/spoa" to ""
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
file-rename 's/_static\.a/.a/' `find debian -name libspoa_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/libspoa-dev/usr/lib/x86_64-linux-gnu
install -d -m 755 debian/libspoa1.1.5/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/libspoa.a debian/libspoa-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/libspoa.so debian/libspoa-dev/usr/lib/x86_64-linux-gnu
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libspoa.so.1.1.5 debian/libspoa1.1.5/usr/lib/x86_64-linux-gnu
PKGDEV=libspoa-dev
PKGSHL=libspoa1.1.5
install -d -m 755 debian/libspoa-dev/usr/include
mv debian/tmp/usr/include/spoa debian/libspoa-dev/usr/include
install -d -m 755 debian/libspoa-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig debian/libspoa-dev/usr/lib/x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installexamples -a
   dh_installman -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_missing -a
   dh_dwz -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/libspoa1.1.5/DEBIAN/symbols doesn't match completely debian/libspoa1.1.5.symbols
--- debian/libspoa1.1.5.symbols (libspoa1.1.5_1.1.5-1_amd64)
+++ dpkg-gensymbolsrelMRH	2019-03-26 16:55:47.191259354 +0000
@@ -63,7 +63,8 @@
  _ZNK4spoa5Graph8subgraphEjjRSt6vectorIiSaIiEE at Base 1.1.3
  _ZNK4spoa5Graph9print_dotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.1.5
  _ZNKSt5ctypeIcE8do_widenEc at Base 1.1.5
- _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE21_M_insert_unique_nodeEmmPNS1_10_Hash_nodeIjLb0EEEm at Base 1.1.3
+#MISSING: 1.1.5-1# _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE21_M_insert_unique_nodeEmmPNS1_10_Hash_nodeIjLb0EEEm at Base 1.1.3
+ _ZNSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE9_M_rehashEmRKm at Base 1.1.5-1
  _ZNSt11_Deque_baseIjSaIjEE17_M_initialize_mapEm at Base 1.1.3
  _ZNSt11_Deque_baseIjSaIjEED1Ev at Base 1.1.3
  _ZNSt11_Deque_baseIjSaIjEED2Ev at Base 1.1.3
dh_makeshlibs: failing due to earlier errors
make: *** [debian/rules:12: binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2



More information about the Debian-med-packaging mailing list