Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 614644

Summary: <dev-perl/DBI-1.637.0 fails tests without '.' in @INC (do "t/lib.pl" failed)
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: minor Keywords: TESTFAILURE
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://rt.cpan.org/Ticket/Display.html?id=120443
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 643232    
Bug Blocks: 612408    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-04 14:25:53 UTC
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# --- Perl 5.025011 on x86_64-linux
t/02dbidrv.t .................... ok                                    
t/01basics.t .................... ok                                    
t/04mods.t ...................... ok                                    
t/03handle.t .................... ok                                    
t/07kids.t ...................... ok                                    
t/05concathash.t ................ ok                                    
t/06attrs.t ..................... ok                                    
t/08keeperr.t ................... ok                                    
t/11fetch.t ..................... ok                                    
t/09trace.t ..................... ok                                    
===(     760;1    2/238  0/? )==========================================do "t/lib.pl" failed, '.' is no longer in @INC at t/10examp.t line 142.
Undefined subroutine &main::test_dir called at t/10examp.t line 149.
# Looks like your test exited with 2 just after 45.
t/10examp.t ..................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 193/238 subtests
t/12quote.t ..................... ok                                    
t/13taint.t ..................... ok                                    
t/14utf8.t ...................... ok                                    
t/15array.t ..................... ok                                    
t/16destroy.t ................... ok                                    
t/19fhtrace.t ................... ok                                    
t/30subclass.t .................. ok                                    
t/20meta.t ...................... ok                                    
t/35thrclone.t .................. skipped: this linux perl 5.025011 not supported for DBI iThreads
t/31methcache.t ................. ok                                    
t/41prof_dump.t ................. ok                                    
t/43prof_env.t .................. ok                                    
t/40profile.t ................... ok                                    
t/42prof_data.t ................. ok                                    
t/48dbi_dbd_sqlengine.t ......... ok                                    
===(    1207;3  1/?  0/?  0/? )=========================================do "t/lib.pl" failed, '.' is no longer in @INC at t/51dbm_file.t line 16.
Undefined subroutine &main::test_dir called at t/51dbm_file.t line 18.
t/51dbm_file.t .................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
===(    1207;3  1/?  0/? )==============================================do "t/lib.pl" failed, '.' is no longer in @INC at t/49dbd_file.t line 20.
Undefined subroutine &main::test_dir called at t/49dbd_file.t line 22.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 2.
t/49dbd_file.t .................. Dubious, test returned 2 (wstat 512, 0x200)
All 2 subtests passed
===(    1208;3  0/?  0/? )==============================================do "t/lib.pl" failed, '.' is no longer in @INC at t/50dbm_simple.t line 84.
Undefined subroutine &main::test_dir called at t/50dbm_simple.t line 86.
t/50dbm_simple.t ................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/52dbm_complex.t ............... skipped: DBI::SQL::Nano is being used
Comment 1 Ettore Di Giacinto (RETIRED) gentoo-dev 2017-04-20 12:26:04 UTC
Upcoming release will include https://github.com/perl5-dbi/dbi/commit/ad36110ff5a233a4d5f7eb6e7ce0cc2d66dedd6e that appears to address the issue
Comment 2 Larry the Git Cow gentoo-dev 2017-10-07 19:37:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac5b8e8e26afcdc8efde9df04dcffd794a314c1

commit 4ac5b8e8e26afcdc8efde9df04dcffd794a314c1
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-07 19:37:24 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-07 19:37:39 +0000

    dev-perl/DBI: Bump to version 1.637 re bug #614644
    
    Upstream:
    - Fix CWE-134 where possible crashes can occur due to db errors
      containing a "%"
    - Fix extension detection for DBD::File related drivers
    - Fixes for dot-in-inc on 5.26
    - Fix loss of error message on parent handle
    - Fix $_ disappearing inside callbacks
    - Objects now allowed as passwords without die()ing
    - $sth NAME_* attributes now settable from Perl
    - Add support for DBD::XMLSimple
    
    Bug: https://bugs.gentoo.org/614644
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/DBI/DBI-1.637.0.ebuild | 32 ++++++++++++++++++++++++++++++++
 dev-perl/DBI/Manifest           |  1 +
 2 files changed, 33 insertions(+)}
Comment 3 Larry the Git Cow gentoo-dev 2018-01-30 02:18:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e1f8dc85d949228f7116397d78f58233ceaae1

commit a6e1f8dc85d949228f7116397d78f58233ceaae1
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-01-30 01:58:14 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-01-30 02:18:09 +0000

    dev-perl/DBI: Cleanup old re bug #614644
    
    Closes: https://bugs.gentoo.org/614644
    Package-Manager: Portage-2.3.18, Repoman-2.3.6

 dev-perl/DBI/DBI-1.634.0.ebuild | 32 --------------------------------
 dev-perl/DBI/DBI-1.636.0.ebuild | 32 --------------------------------
 dev-perl/DBI/Manifest           |  2 --
 3 files changed, 66 deletions(-)