Bug#837562: libembperl-perl: FTBFS with bindnow and PIE enabled

Balint Reczey balint at balintreczey.hu
Mon Sep 12 14:27:02 UTC 2016


Source: libembperl-perl
Version: 2.5.0-8
Severity: important
User: balint at balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64 with patched GCC and dpkg.

The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64.

For more information about the changes to sid's dpkg and GCC please
visit:
 https://wiki.debian.org/Hardening/PIEByDefaultTransition

Relevant part (hopefully):
...
Writing Embperl.bs
chmod 644 "Embperl.bs"
PERL_DL_NONLAZY=0 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl" "-Iblib/lib"
"-Iblib/arch" test.pl
loading...                    Can't load
'/<<PKGBUILDDIR>>/blib/arch/auto/Embperl/Embperl.so' for module Embperl:
/<<PKGBUILDDIR>>/blib/arch/auto/Embperl/Embperl.so: undefined symbol:
ap_hook_open_logs at /usr/lib/x86_64-linux-gnu/perl/5.22/DynaLoader.pm
line 187.
 at test.pl line 1916.
Compilation failed in require at test.pl line 1916.
BEGIN failed--compilation aborted at test.pl line 1916.

Test terminated with fatal error
Use of uninitialized value $EPHTTPD in string ne at test.pl line 1300.
Makefile:1619: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
...

The full build log is available from:
 https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/libembperl-perl_2.5.0-8_amd64.build.gz

Thanks,
Balint



More information about the pkg-perl-maintainers mailing list