Bug#871729: libembperl-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC

Dominic Hargreaves dom at earth.li
Thu Aug 10 22:45:02 UTC 2017


Source: libembperl-perl
Version: 2.5.0-11
Severity: normal
User: debian-perl at lists.debian.org
Usertags: debhelper-use-unsafe-inc-removal

This package FTBFS when debhelper is changed to not export
PERL_USE_UNSAFE_INC to the build environment. This export was added in
2016 at the same time that '.' was removed from INC by default, to
avoid breakage, but was a temporary change.

As well as allowing us to (eventually) remove this export from debhelper,
fixing this bug in your package will also help upstream, since this
change has been made in perl 5.26 upstream.

Additionally, it's possible that the problem may also exist at runtime
for your package (though from experience this is less likely).

Note that the rebuild testing was against a locally-modified version
of debhelper, but you can get the same effect by setting debhelper
compat level 11 in your package, which also removes the same
export.

For information about how to fix this class of issues, please refer
to the upstream release notes (in particular, 'Script authors' and
'Module Authors'):

http://perldoc.perl.org/perldelta.html#Removal-of-the-current-directory-(%22.%22)-from-%40INC

The relevant build failure logs are below:

PERL_DL_NONLAZY=0 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl 

loading...                    do "test/conf/config.pl" failed, '.' is no longer in @INC; did you mean do "./test/conf/config.pl"? at test.pl line 1326.
Use of uninitialized value $EPSESSIONVERSION in pattern match (m//) at test.pl line 1332.
Use of uninitialized value $EPSESSIONVERSION in numeric ge (>=) at test.pl line 1332.
Can't locate test/testapp.pl in @INC (@INC contains: /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.0 /usr/local/share/perl/5.26.0 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at test.pl line 1426.

Test terminated with fatal error

Please feel feel free to get in touch with the Debian Perl team at              debian-perl at lists.debian.org if you need any more information or                assistance to fix this issue.              

Cheers,
Dominic.



More information about the pkg-perl-maintainers mailing list