Bug#871728: libdata-objectdriver-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC
Dominic Hargreaves
dom at earth.li
Thu Aug 10 22:42:40 UTC 2017
Source: libdata-objectdriver-perl
Version: 0.14-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:
dh_auto_test
perl Build test --verbose 1
t/00-compile.t .............
1..2
ok 1 - use Data::ObjectDriver;
ok 2 - use Data::ObjectDriver::SQL;
ok
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib /<<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-col-inheritance.t line 7.
t/01-col-inheritance.t .....
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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-basic.t line 8.
t/02-basic.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/03-primary-keys.t line 8.
t/03-primary-keys.t ........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/04-clone.t line 8.
t/04-clone.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/05-deflate.t line 8.
t/05-deflate.t .............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib /<<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/06-errors.t line 6.
t/06-errors.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/07-has-a-cached.t line 8.
t/07-has-a-cached.t ........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/07-has-a.t line 8.
t/07-has-a.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/08-iterator.t line 8.
t/08-iterator.t ............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib /<<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/09-resultset.t line 7.
t/09-resultset.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib /<<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/10-resultset-peek.t line 10.
t/10-resultset-peek.t ......
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/11-sql.t .................
1..68
ok 1 - Created SQL object
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10 - single bare group by
ok 11 - single group by with desc
ok 12 - multiple group by
ok 13 - multiple group by with desc
ok 14 - single order by
ok 15 - multiple order by
ok 16 - group by with order by
ok 17
ok 18
ok 19 - bogus limit causes as_sql assertion
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60 - DISTINCT is absent by default
ok 61 - we can turn on DISTINCT
ok 62 - index hint is absent by default
ok 63 - we can turn on USE INDEX
ok 64 - USE INDEX with JOIN
ok 65 - USE INDEX with JOINs
ok 66
ok 67 - correctly untainted
ok 68 - correctly untainted
ok
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/12-windows.t line 9.
t/12-windows.t .............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib /<<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/20-driver-sqlite.t line 7.
t/20-driver-sqlite.t .......
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/cached t/lib /<<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/31-cached.t line 8.
t/31-cached.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/partitioned /<<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/32-partitioned.t line 7.
t/32-partitioned.t .........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/views /<<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/33-views.t line 7.
t/33-views.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/both t/lib /<<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/34-both.t line 8.
t/34-both.t ................
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/multiplexed /<<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/35-multiplexed.t line 7.
t/35-multiplexed.t .........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib /<<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/41-callbacks.t line 7.
t/41-callbacks.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/partitioned /<<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/42-callbacks-multi-pk.t line 7.
t/42-callbacks-multi-pk.t ..
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate t/lib/db-common.pl in @INC (@INC contains: t/lib/both t/lib /<<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/50-profiling.t line 8.
t/50-profiling.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/01-col-inheritance.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/02-basic.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/03-primary-keys.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/04-clone.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/05-deflate.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/06-errors.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/07-has-a-cached.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/07-has-a.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/08-iterator.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/09-resultset.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/10-resultset-peek.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/12-windows.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20-driver-sqlite.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/31-cached.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/32-partitioned.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/33-views.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/34-both.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/35-multiplexed.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/41-callbacks.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/42-callbacks-multi-pk.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/50-profiling.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=23, Tests=70, 2 wallclock secs ( 0.04 usr 0.02 sys + 1.16 cusr 0.08 csys = 1.30 CPU)
Result: FAIL
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