Bug#777966: libpff: ftbfs with GCC-5

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


Package: src:libpff
Version: 20120802-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/libpff_20120802-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_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(
     ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../common -DLOCALEDIR=\"/usr/share/locale\" -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libuna -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c libcsystem_string.c -o libcsystem_string.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../common  -DLOCALEDIR=\"/usr/share/locale\" -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libuna  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o libcsystem_support.lo libcsystem_support.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../common -DLOCALEDIR=\"/usr/share/locale\" -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libuna -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c libcsystem_support.c  -fPIC -DPIC -o .libs/libcsystem_support.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../common -DLOCALEDIR=\"/usr/share/locale\" -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libuna -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c libcsystem_support.c -o libcsystem_support.o >/dev/null 2>&1
/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 libcsystem.la  libcsystem_date_time.lo libcsystem_getopt.lo libcsystem_glob.lo libcsystem_signal.lo libcsystem_string.lo libcsystem_support.lo ../libcstring/libcstring.la ../libcerror/libcerror.la ../libclocale/libclocale.la ../libcnotify/libcnotify.la ../libuna/libuna.la 
libtool: link: (cd .libs/libcsystem.lax/libcstring.a && ar x "/«PKGBUILDDIR»/libcsystem/../libcstring/.libs/libcstring.a")
libtool: link: (cd .libs/libcsystem.lax/libcerror.a && ar x "/«PKGBUILDDIR»/libcsystem/../libcerror/.libs/libcerror.a")
libtool: link: (cd .libs/libcsystem.lax/libclocale.a && ar x "/«PKGBUILDDIR»/libcsystem/../libclocale/.libs/libclocale.a")
libtool: link: (cd .libs/libcsystem.lax/libcnotify.a && ar x "/«PKGBUILDDIR»/libcsystem/../libcnotify/.libs/libcnotify.a")
libtool: link: (cd .libs/libcsystem.lax/libuna.a && ar x "/«PKGBUILDDIR»/libcsystem/../libuna/.libs/libuna.a")
libtool: link: ar cru .libs/libcsystem.a .libs/libcsystem_date_time.o .libs/libcsystem_getopt.o .libs/libcsystem_glob.o .libs/libcsystem_signal.o .libs/libcsystem_string.o .libs/libcsystem_support.o   .libs/libcsystem.lax/libcstring.a/libcstring_support.o .libs/libcsystem.lax/libcstring.a/libcstring_wide_string.o  .libs/libcsystem.lax/libcerror.a/libcerror_error.o .libs/libcsystem.lax/libcerror.a/libcerror_support.o .libs/libcsystem.lax/libcerror.a/libcerror_system.o  .libs/libcsystem.lax/libclocale.a/libclocale_codepage.o .libs/libcsystem.lax/libclocale.a/libclocale_locale.o .libs/libcsystem.lax/libclocale.a/libclocale_support.o  .libs/libcsystem.lax/libcnotify.a/libcnotify_print.o .libs/libcsystem.lax/libcnotify.a/libcnotify_stream.o .libs/libcsystem.lax/libcnotify.a/libcnotify_verbose.o  .libs/libcsystem.lax/libuna.a/libuna_base16_stream.o .libs/libcsystem.lax/libuna.a/libuna_base32_stream.o .libs/libcsystem.lax/libuna.a/libuna_base64_stream.o .libs/libcsystem.lax/libuna.a/libuna_byte_stream.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_10.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_13.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_14.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_15.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_16.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_2.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_3.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_4.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_5.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_6.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_7.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_8.o .libs/libcsystem.lax/libuna.a/libuna_codepage_iso_8859_9.o .libs/libcsystem.lax/libuna.a/libuna_codepage_koi8_r.o .libs/libcsystem.lax/libuna.a/libuna_codepage_koi8_u.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1250.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1251.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1252.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1253.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1254.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1255.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1256.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1257.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_1258.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_874.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_932.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_936.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_949.o .libs/libcsystem.lax/libuna.a/libuna_codepage_windows_950.o .libs/libcsystem.lax/libuna.a/libuna_error.o .libs/libcsystem.lax/libuna.a/libuna_support.o .libs/libcsystem.lax/libuna.a/libuna_unicode_character.o .libs/libcsystem.lax/libuna.a/libuna_url_stream.o .libs/libcsystem.lax/libuna.a/libuna_utf16_stream.o .libs/libcsystem.lax/libuna.a/libuna_utf16_string.o .libs/libcsystem.lax/libuna.a/libuna_utf32_stream.o .libs/libcsystem.lax/libuna.a/libuna_utf32_string.o .libs/libcsystem.lax/libuna.a/libuna_utf7_stream.o .libs/libcsystem.lax/libuna.a/libuna_utf8_stream.o .libs/libcsystem.lax/libuna.a/libuna_utf8_string.o 
libtool: link: ranlib .libs/libcsystem.a
libtool: link: rm -fr .libs/libcsystem.lax
libtool: link: ( cd ".libs" && rm -f "libcsystem.la" && ln -s "../libcsystem.la" "libcsystem.la" )
make[2]: Leaving directory '/«PKGBUILDDIR»/libcsystem'
Making all in pfftools
make[2]: Entering directory '/«PKGBUILDDIR»/pfftools'
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfdatetime -I../libfguid -I../libfvalue -I../libfwnt -I../libfmapi -I../libcsystem  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o export_handle.o export_handle.c
export_handle.c: In function 'export_handle_export_attachment_data':
export_handle.c:6533:6: warning: unused variable 'print_count' [-Wunused-variable]
  int print_count                                    = 0;
      ^
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfdatetime -I../libfguid -I../libfvalue -I../libfwnt -I../libfmapi -I../libcsystem  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o item_file.o item_file.c
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfdatetime -I../libfguid -I../libfvalue -I../libfwnt -I../libfmapi -I../libcsystem  -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../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfdatetime -I../libfguid -I../libfvalue -I../libfwnt -I../libfmapi -I../libcsystem  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o pffexport.o pffexport.c
pffexport.c: In function 'main':
pffexport.c:163:9: warning: variable 'source_length' set but not used [-Wunused-but-set-variable]
  size_t source_length                                          = 0;
         ^
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfdatetime -I../libfguid -I../libfvalue -I../libfwnt -I../libfmapi -I../libcsystem  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o pffinput.o pffinput.c
gcc -DHAVE_CONFIG_H -I. -I../common  -I../include -I../common -I../libcstring -I../libcerror -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libfcache -I../libfdata -I../libfdatetime -I../libfguid -I../libfvalue -I../libfwnt -I../libfmapi -I../libcsystem  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o pffoutput.o pffoutput.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 pffexport export_handle.o item_file.o log_handle.o pffexport.o pffinput.o pffoutput.o ../libcsystem/libcsystem.la ../libfmapi/libfmapi.la ../libfvalue/libfvalue.la ../libfwnt/libfwnt.la ../libfguid/libfguid.la ../libfdatetime/libfdatetime.la ../libcpath/libcpath.la ../libcfile/libcfile.la ../libuna/libuna.la ../libpff/libpff.la ../libcsplit/libcsplit.la ../libcnotify/libcnotify.la ../libclocale/libclocale.la ../libcerror/libcerror.la ../libcstring/libcstring.la  
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,--as-needed -Wl,-z -Wl,relro -o .libs/pffexport export_handle.o item_file.o log_handle.o pffexport.o pffinput.o pffoutput.o  ../libcsystem/.libs/libcsystem.a ../libfmapi/.libs/libfmapi.a ../libfvalue/.libs/libfvalue.a ../libfwnt/.libs/libfwnt.a ../libfguid/.libs/libfguid.a ../libfdatetime/.libs/libfdatetime.a ../libcpath/.libs/libcpath.a ../libcfile/.libs/libcfile.a ../libuna/.libs/libuna.a ../libpff/.libs/libpff.so ../libcsplit/.libs/libcsplit.a ../libcnotify/.libs/libcnotify.a ../libclocale/.libs/libclocale.a ../libcerror/.libs/libcerror.a ../libcstring/.libs/libcstring.a
/usr/bin/ld: ../libuna/.libs/libuna.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]: *** [pffexport] Error 1
Makefile:693: recipe for target 'pffexport' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/pfftools'
make[1]: *** [all-recursive] Error 1
Makefile:741: 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:18: 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