Bug#871797: libmouse-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC
Dominic Hargreaves
dom at earth.li
Fri Aug 11 17:25:43 UTC 2017
Source: libmouse-perl
Version: 2.4.7-1
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:
t/001_mouse/404-role-overrides.t ...............................
1..2
ok 1
ok 2
ok
Can't locate Mouse/Tiny.pm in @INC (you may need to install the Mouse::Tiny module) (@INC contains: /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/_build/lib . /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 t/001_mouse/600-tiny-tiny.t line 8.
BEGIN failed--compilation aborted at t/001_mouse/600-tiny-tiny.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/001_mouse/600-tiny-tiny.t ....................................
1..2
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
Can't locate Mouse/Tiny.pm in @INC (you may need to install the Mouse::Tiny module) (@INC contains: /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/_build/lib . /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 t/001_mouse/601-tiny-mouse.t line 8.
BEGIN failed--compilation aborted at t/001_mouse/601-tiny-mouse.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/001_mouse/601-tiny-mouse.t ...................................
1..2
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
Can't locate Mouse/Tiny.pm in @INC (you may need to install the Mouse::Tiny module) (@INC contains: /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/_build/lib . /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 t/001_mouse/602-mouse-tiny.t line 15.
BEGIN failed--compilation aborted at t/001_mouse/602-mouse-tiny.t line 15.
# Looks like your test exited with 2 before it could output anything.
t/001_mouse/602-mouse-tiny.t ...................................
1..2
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
The full logs are at:
http://perl.debian.net/rebuild-logs/experimental/libmouse-perl_2.4.7-1/libmouse-perl_2.4.7-1_amd64-2017-08-07T07:12:45Z.build
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