Bug#777945: libewf: ftbfs with GCC-5

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


Package: src:libewf
Version: 20140608-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/libewf_20140608-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

[...]
../libuna/libuna_base64_stream.h:57:5: warning: inline function 'libuna_base64_triplet_copy_to_base64_stream' declared but never defined
 int libuna_base64_triplet_copy_to_base64_stream(
     ^
../libuna/libuna_base64_stream.h:46:5: warning: inline function 'libuna_base64_triplet_copy_from_base64_stream' declared but never defined
 int libuna_base64_triplet_copy_from_base64_stream(
     ^
../libuna/libuna_base64_stream.h:38:5: warning: inline function 'libuna_base64_character_copy_to_sixtet' declared but never defined
 int libuna_base64_character_copy_to_sixtet(
     ^
In file included from ewftools_libuna.h:32:0,
                 from ewfoutput.c:70:
../libuna/libuna_base32_stream.h:78:5: warning: inline function 'libuna_base32_quintuplet_copy_to_byte_stream' declared but never defined
 int libuna_base32_quintuplet_copy_to_byte_stream(
     ^
../libuna/libuna_base32_stream.h:68:5: warning: inline function 'libuna_base32_quintuplet_copy_from_byte_stream' declared but never defined
 int libuna_base32_quintuplet_copy_from_byte_stream(
     ^
../libuna/libuna_base32_stream.h:57:5: warning: inline function 'libuna_base32_quintuplet_copy_to_base32_stream' declared but never defined
 int libuna_base32_quintuplet_copy_to_base32_stream(
     ^
../libuna/libuna_base32_stream.h:46:5: warning: inline function 'libuna_base32_quintuplet_copy_from_base32_stream' declared but never defined
 int libuna_base32_quintuplet_copy_from_base32_stream(
     ^
../libuna/libuna_base32_stream.h:38:5: warning: inline function 'libuna_base32_character_copy_to_quintet' declared but never defined
 int libuna_base32_character_copy_to_quintet(
     ^
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libcdatetime -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfvalue -I../libmfdata -I../libhmac -I../libodraw -I../libsmdev -I../libsmraw -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o guid.o guid.c
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libcdatetime -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfvalue -I../libmfdata -I../libhmac -I../libodraw -I../libsmdev -I../libsmraw -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o imaging_handle.o imaging_handle.c
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libcdatetime -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfvalue -I../libmfdata -I../libhmac -I../libodraw -I../libsmdev -I../libsmraw -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o log_handle.o log_handle.c
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libcdatetime -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfvalue -I../libmfdata -I../libhmac -I../libodraw -I../libsmdev -I../libsmraw -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o platform.o platform.c
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libcdatetime -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfvalue -I../libmfdata -I../libhmac -I../libodraw -I../libsmdev -I../libsmraw -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o process_status.o process_status.c
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libcdatetime -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfvalue -I../libmfdata -I../libhmac -I../libodraw -I../libsmdev -I../libsmraw -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o storage_media_buffer.o storage_media_buffer.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,--as-needed -Wl,-z,relro -o ewfacquire byte_size_string.o digest_hash.o device_handle.o ewfacquire.o ewfinput.o ewfoutput.o guid.o imaging_handle.o log_handle.o platform.o process_status.o storage_media_buffer.o ../libodraw/libodraw.la ../libsmdev/libsmdev.la ../libsmraw/libsmraw.la -luuid ../libhmac/libhmac.la -lcrypto -ldl ../libcsystem/libcsystem.la ../libcsplit/libcsplit.la ../libcdatetime/libcdatetime.la ../libewf/libewf.la ../libcnotify/libcnotify.la ../libclocale/libclocale.la ../libcerror/libcerror.la ../libcstring/libcstring.la  -lbz2 
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--as-needed -Wl,-z -Wl,relro -o .libs/ewfacquire byte_size_string.o digest_hash.o device_handle.o ewfacquire.o ewfinput.o ewfoutput.o guid.o imaging_handle.o log_handle.o platform.o process_status.o storage_media_buffer.o  ../libodraw/.libs/libodraw.a ../libsmdev/.libs/libsmdev.a ../libsmraw/.libs/libsmraw.a -lbfio -lpthread -luuid ../libhmac/.libs/libhmac.a -lcrypto -ldl ../libcsystem/.libs/libcsystem.a ../libcsplit/.libs/libcsplit.a ../libcdatetime/.libs/libcdatetime.a ../libewf/.libs/libewf.so ../libcnotify/.libs/libcnotify.a ../libclocale/.libs/libclocale.a ../libcerror/.libs/libcerror.a ../libcstring/.libs/libcstring.a -lbz2
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libcdatetime -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfvalue -I../libmfdata -I../libhmac -I../libodraw -I../libsmdev -I../libsmraw -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o ewfacquirestream.o ewfacquirestream.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,--as-needed -Wl,-z,relro -o ewfacquirestream byte_size_string.o digest_hash.o ewfacquirestream.o ewfinput.o ewfoutput.o guid.o imaging_handle.o log_handle.o platform.o process_status.o storage_media_buffer.o -luuid ../libhmac/libhmac.la -lcrypto -ldl ../libcsystem/libcsystem.la ../libcsplit/libcsplit.la ../libcdatetime/libcdatetime.la ../libewf/libewf.la ../libcnotify/libcnotify.la ../libclocale/libclocale.la ../libcerror/libcerror.la ../libcstring/libcstring.la  -lbz2 
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--as-needed -Wl,-z -Wl,relro -o .libs/ewfacquirestream byte_size_string.o digest_hash.o ewfacquirestream.o ewfinput.o ewfoutput.o guid.o imaging_handle.o log_handle.o platform.o process_status.o storage_media_buffer.o  -luuid ../libhmac/.libs/libhmac.a -lcrypto -ldl ../libcsystem/.libs/libcsystem.a ../libcsplit/.libs/libcsplit.a ../libcdatetime/.libs/libcdatetime.a ../libewf/.libs/libewf.so ../libcnotify/.libs/libcnotify.a ../libclocale/.libs/libclocale.a ../libcerror/.libs/libcerror.a ../libcstring/.libs/libcstring.a -lbz2
/usr/bin/ld: ../libcsystem/.libs/libcsystem.a(libuna_byte_stream.o): undefined reference to symbol 'libuna_unicode_character_copy_from_utf16'
//usr/lib/x86_64-linux-gnu/libbfio.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [ewfacquirestream] Error 1
Makefile:1094: recipe for target 'ewfacquirestream' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/ewftools'
make[1]: *** [all-recursive] Error 1
Makefile:844: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:30: 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