[Debian-med-packaging] Bug#701423: jellyfish: ftbfs with eglibc-2.17

Matthias Klose doko at debian.org
Sat Feb 23 11:35:24 UTC 2013


Package: src:jellyfish
Version: 1.1.5-1
Severity: important
Tags: sid jessie
User: debian-glibc at lists.debian.org
Usertags: ftbfs-glibc-2.17

The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.

The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.

  ./jellyfish/err.hpp:42:46: error: ignoring return value of 'char* strerror_r(int, char*, size_t)', declared with attribute warn_unused_result [-Werror=unused-result]

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/jellyfish_1.1.5-1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To install eglibc from experimental,

  apt-get -t experimental install libc6-dev

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev


[...]
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/compat.sh
config.status: creating jellyfish-1.1.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_auto_build -a
make[1]: Entering directory `/«PKGBUILDDIR»'
make  all-am
make[2]: Entering directory `/«PKGBUILDDIR»'
  CXX    jellyfish/libjellyfish_la-square_binary_matrix.lo
/bin/bash ./libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -Werror -Wnon-virtual-dtor -I. -D_FORTIFY_SOURCE=2 -g -O3 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o jellyfish/libjellyfish_la-square_binary_matrix.lo `test -f 'jellyfish/square_binary_matrix.cc' || echo './'`jellyfish/square_binary_matrix.cc
  CXX    jellyfish/libjellyfish_la-err.lo
/bin/bash ./libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -Werror -Wnon-virtual-dtor -I. -D_FORTIFY_SOURCE=2 -g -O3 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o jellyfish/libjellyfish_la-err.lo `test -f 'jellyfish/err.cc' || echo './'`jellyfish/err.cc
In file included from jellyfish/err.cc:17:0:
./jellyfish/err.hpp: In static member function 'static void err::no_t::write(std::ostream&, int)':
./jellyfish/err.hpp:42:46: error: ignoring return value of 'char* strerror_r(int, char*, size_t)', declared with attribute warn_unused_result [-Werror=unused-result]
       strerror_r(e, err_str, sizeof(err_str));
                                              ^
cc1plus: all warnings being treated as errors
make[2]: *** [jellyfish/libjellyfish_la-err.lo] Error 1
make[1]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Debian-med-packaging mailing list