[Debian-med-packaging] Bug#925761: libthread-pool: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:46:43 GMT 2019


Package: src:libthread-pool
Version: 1.0.0-2
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/libthread-pool_1.0.0-2_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.

[...]
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: Nothing to be done for 'preinstall'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libthread_pool.so.1.0.0
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libthread_pool.so.0
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libthread_pool.so
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libthread_pool_static.a
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/thread_pool
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/thread_pool/thread_pool.hpp
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 "lib*_static.a"`
d-shlibmove --commit \
	    --multiarch \
	    --devunversioned \
	    --exclude-la \
	    --movedev debian/tmp/usr/include/* usr/include \
	    debian/tmp/usr/lib/*.so
Library package automatic movement utility
set -e
install -d -m 755 debian/libthread-pool-dev/usr/lib/x86_64-linux-gnu
install -d -m 755 debian/libthread-pool0/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/libthread_pool.a debian/libthread-pool-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/libthread_pool.so debian/libthread-pool-dev/usr/lib/x86_64-linux-gnu
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libthread_pool.so.0 debian/libthread-pool0/usr/lib/x86_64-linux-gnu
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libthread_pool.so.1.0.0 debian/libthread-pool0/usr/lib/x86_64-linux-gnu
PKGDEV=libthread-pool-dev
PKGSHL=libthread-pool0
install -d -m 755 debian/libthread-pool-dev/usr/include
mv debian/tmp/usr/include/thread_pool debian/libthread-pool-dev/usr/include
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -a
   dh_installchangelogs -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: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libthread-pool0/DEBIAN/symbols doesn't match completely debian/libthread-pool0.symbols
--- debian/libthread-pool0.symbols (libthread-pool0_1.0.0-2_amd64)
+++ dpkg-gensymbolslzfxXI	2019-03-26 16:58:44.757060410 +0000
@@ -10,14 +10,14 @@
  _ZN11thread_pool9Semaphore4waitEv at Base 1.0.0
  _ZN11thread_pool9SemaphoreC1Ej at Base 1.0.0
  _ZN11thread_pool9SemaphoreC2Ej at Base 1.0.0
- _ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_ at Base 1.0.0
+#MISSING: 1.0.0-2# _ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_ at Base 1.0.0
  _ZNSt5dequeISt8functionIFvvEESaIS2_EED1Ev at Base 1.0.0
  _ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev at Base 1.0.0
  _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvPN11thread_pool10ThreadPoolEES5_EEEEE6_M_runEv at Base 1.0.0
  _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvPN11thread_pool10ThreadPoolEES5_EEEEED0Ev at Base 1.0.0
  _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvPN11thread_pool10ThreadPoolEES5_EEEEED1Ev at Base 1.0.0
  _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvPN11thread_pool10ThreadPoolEES5_EEEEED2Ev at Base 1.0.0
- _ZNSt6vectorINSt6thread2idESaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 1.0.0
+#MISSING: 1.0.0-2# _ZNSt6vectorINSt6thread2idESaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 1.0.0
  _ZNSt6vectorISt6threadSaIS0_EE17_M_realloc_insertIJRFvPN11thread_pool10ThreadPoolEES6_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_ at Base 1.0.0
  _ZTINSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvPN11thread_pool10ThreadPoolEES5_EEEEEE at Base 1.0.0
  _ZTSNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFvPN11thread_pool10ThreadPoolEES5_EEEEEE at Base 1.0.0
dh_makeshlibs: failing due to earlier errors
make: *** [debian/rules:9: 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