[Debian-med-packaging] Bug#897795: librcsb-core-wrapper: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:22:25 BST 2018


Package: src:librcsb-core-wrapper
Version: 1.005-5
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/librcsb-core-wrapper_1.005-5_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/GenCont.C -o ./obj/GenCont.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
make[3]: Entering directory '/<<PKGBUILDDIR>>/common'
libtool --mode=compile g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O  -fPIC -std=c++11 -Werror -Wall -Wno-deprecated   -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW  -I./include -I../include   -c src/RcsbFile.C -o ./obj/RcsbFile.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/RcsbFile.C  -fPIC -DPIC -o ./obj/.libs/RcsbFile.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/RcsbFile.C -o ./obj/RcsbFile.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
make[3]: Entering directory '/<<PKGBUILDDIR>>/common'
libtool --mode=compile g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O  -fPIC -std=c++11 -Werror -Wall -Wno-deprecated   -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW  -I./include -I../include   -c src/GenString.C -o ./obj/GenString.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/GenString.C  -fPIC -DPIC -o ./obj/.libs/GenString.o
src/GenString.C: In static member function 'static bool String::IsNumber(const string&)':
src/GenString.C:539:12: error: catching polymorphic type 'class std::exception' by value [-Werror=catch-value=]
     catch (exception)
            ^~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:156: GenString.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
make[3]: *** Waiting for unfinished jobs....
make[3]: Entering directory '/<<PKGBUILDDIR>>/common'
libtool --mode=compile g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O  -fPIC -std=c++11 -Werror -Wall -Wno-deprecated   -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW  -I./include -I../include   -c src/CifString.C -o ./obj/CifString.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/CifString.C  -fPIC -DPIC -o ./obj/.libs/CifString.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/CifString.C -o ./obj/CifString.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
make[3]: Entering directory '/<<PKGBUILDDIR>>/common'
libtool --mode=compile g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O  -fPIC -std=c++11 -Werror -Wall -Wno-deprecated   -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW  -I./include -I../include   -c src/mapped_vector.C -o ./obj/mapped_vector.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/mapped_vector.C  -fPIC -DPIC -o ./obj/.libs/mapped_vector.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/mapped_vector.C -o ./obj/mapped_vector.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
make[3]: Entering directory '/<<PKGBUILDDIR>>/common'
libtool --mode=compile g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O  -fPIC -std=c++11 -Werror -Wall -Wno-deprecated   -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW  -I./include -I../include   -c src/mapped_ptr_vector.C -o ./obj/mapped_ptr_vector.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/mapped_ptr_vector.C  -fPIC -DPIC -o ./obj/.libs/mapped_ptr_vector.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/mapped_ptr_vector.C -o ./obj/mapped_ptr_vector.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
make[3]: Entering directory '/<<PKGBUILDDIR>>/common'
libtool --mode=compile g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O  -fPIC -std=c++11 -Werror -Wall -Wno-deprecated   -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW  -I./include -I../include   -c src/DataInfo.C -o ./obj/DataInfo.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/DataInfo.C  -fPIC -DPIC -o ./obj/.libs/DataInfo.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/DataInfo.C -o ./obj/DataInfo.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
make[3]: Entering directory '/<<PKGBUILDDIR>>/common'
libtool --mode=compile g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O  -fPIC -std=c++11 -Werror -Wall -Wno-deprecated   -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW  -I./include -I../include   -c src/Serializer.C -o ./obj/Serializer.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/Serializer.C  -fPIC -DPIC -o ./obj/.libs/Serializer.o
libtool: compile:  g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O -fPIC -std=c++11 -Werror -Wall -Wno-deprecated -DHAVE_STRCASECMP -DINCL_TEMPLATE_SRC -DHAVE_PLACEMENT_NEW -I./include -I../include -c src/Serializer.C -o ./obj/Serializer.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/common'
libtool:   error: 'lib/*.lo' is not a valid libtool object
make[2]: *** [Makefile:107: lib/librcsb-core-wrapper.la] Error 1
dh_auto_build: make -j8 -Oline returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_build-nopy] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Debian-med-packaging mailing list