Bug#777938: libbfio: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:33:07 UTC 2015


Package: src:libbfio
Version: 20140105-2
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/libbfio_20140105-2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
  fi; \
}
make[3]: Leaving directory '/«PKGBUILDDIR»/po'
test ! -f ./libbfio.pot || \
  test -z "" || make 
make[2]: Leaving directory '/«PKGBUILDDIR»/po'
Making check in manuals
make[2]: Entering directory '/«PKGBUILDDIR»/manuals'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/«PKGBUILDDIR»/manuals'
Making check in tests
make[2]: Entering directory '/«PKGBUILDDIR»/tests'
make  bfio_test_handle_read bfio_test_handle_seek bfio_test_handle_write bfio_test_pool_seek bfio_test_pool_read bfio_test_pool_write test_handle_seek.sh test_handle_read.sh test_handle_write.sh test_pool_read.sh test_pool_seek.sh test_pool_write.sh test_runner.sh
make[3]: Entering directory '/«PKGBUILDDIR»/tests'
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcthreads -I../libcdata -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o bfio_test_handle_read.o bfio_test_handle_read.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o bfio_test_handle_read bfio_test_handle_read.o ../libbfio/libbfio.la ../libcerror/libcerror.la ../libcstring/libcstring.la 
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -o .libs/bfio_test_handle_read bfio_test_handle_read.o  ../libbfio/.libs/libbfio.so ../libcerror/.libs/libcerror.a ../libcstring/.libs/libcstring.a
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_from_utf8'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_from_utf32'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_to_utf32_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_size_to_utf8'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_size_to_utf32'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_to_utf8'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_size_to_byte_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_from_utf16'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_from_utf7_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_size_to_utf7_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_from_utf32_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_from_utf16_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_from_byte_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_to_utf32'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_to_utf16_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_size_to_utf16'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_to_utf7_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_to_byte_stream'
../libbfio/.libs/libbfio.so: undefined reference to `libuna_unicode_character_copy_to_utf16'
collect2: error: ld returned 1 exit status
make[3]: *** [bfio_test_handle_read] Error 1
Makefile:807: recipe for target 'bfio_test_handle_read' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/tests'
make[2]: *** [check-am] Error 2
Makefile:1151: recipe for target 'check-am' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/tests'
make[1]: *** [check-recursive] Error 1
Makefile:655: recipe for target 'check-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build-arch] Error 2
debian/rules:16: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the forensics-devel mailing list