Source: libhttp-entity-parser-perl
Version: 0.18-1
Severity: normal
User: debian-p...@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:

Can't locate t/Util.pm in @INC (you may need to install the t::Util module) 
(@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/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/01_content_type/multipart.t line 7.
BEGIN failed--compilation aborted at t/01_content_type/multipart.t line 7.
t/01_content_type/multipart.t ............ 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/Util.pm in @INC (you may need to install the t::Util module) 
(@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/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/01_content_type/multipart_form_data.t line 7.
BEGIN failed--compilation aborted at t/01_content_type/multipart_form_data.t 
line 7.
t/01_content_type/multipart_form_data.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/01_content_type/url_encoded.t .......... 
ok 1 - a=b&c=d
ok 2
ok 3 - a=b;c=d
ok 4
ok 5 - a=1&b=2;c=3
ok 6
ok 7 - a==b&c==d
ok 8
ok 9 - a=b& c=d
ok 10
ok 11 - a=b; c=d
ok 12
ok 13 - a=b; c =d
ok 14
ok 15 - a=b;c= d 
ok 16
ok 17 - a=b&+c=d
ok 18
ok 19 - a=b&+c+=d
ok 20
ok 21 - a=b&c=+d+
ok 22
ok 23 - a=b&%20c=d
ok 24
ok 25 - a=b&%20c%20=d
ok 26
ok 27 - a=b&c=%20d%20
ok 28
ok 29 - a&c=d
ok 30
ok 31 - a=b&=d
ok 32
ok 33 - a=b&=
ok 34
ok 35 - &
ok 36
ok 37 - =
ok 38
ok 39 - 
ok 40
1..40
ok
Can't locate t/Util.pm in @INC (you may need to install the t::Util module) 
(@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/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/02_http_body/multipart.t line 4.
BEGIN failed--compilation aborted at t/02_http_body/multipart.t line 4.
t/02_http_body/multipart.t ............... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/Util.pm in @INC (you may need to install the t::Util module) 
(@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/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/02_http_body/octetstream.t line 4.
BEGIN failed--compilation aborted at t/02_http_body/octetstream.t line 4.
t/02_http_body/octetstream.t ............. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/Util.pm in @INC (you may need to install the t::Util module) 
(@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/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/02_http_body/urlencoded.t line 4.
BEGIN failed--compilation aborted at t/02_http_body/urlencoded.t line 4.
t/02_http_body/urlencoded.t .............. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Test Summary Report
-------------------
t/01_content_type/multipart.t          (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/01_content_type/multipart_form_data.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/02_http_body/multipart.t             (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/02_http_body/octetstream.t           (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/02_http_body/urlencoded.t            (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=8, Tests=49,  1 wallclock secs ( 0.02 usr  0.02 sys +  0.29 cusr  0.02 
csys =  0.35 CPU)
Result: FAIL

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

Cheers,
Dominic.

Reply via email to