Skip Menu |

This queue is for tickets about the Carp CPAN distribution.

Report information
The Basics
Id: 70808
Status: resolved
Priority: 0/
Queue: Carp

People
Owner: Nobody in particular
Requestors: BEY9A15R [...] be.ibm.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Test failed for DBD-CSV-0.33 on cygwin
Date: Thu, 8 Sep 2011 14:37:42 +0200
To: bug-DBD-CSV [...] rt.cpan.org
From: Nicolas Pheulpin <BEY9A15R [...] be.ibm.com>
CPAN.pm: Building H/HM/HMBRAND/DBD-CSV-0.33.tgz Checking if your kit is complete... Looks good Writing Makefile for DBD::CSV Writing MYMETA.yml and MYMETA.json (/usr/bin/perl Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. cp lib/Bundle/DBD/CSV.pm blib/lib/Bundle/DBD/CSV.pm cp lib/DBD/CSV.pm blib/lib/DBD/CSV.pm Manifying blib/man3/Bundle.DBD.CSV.3pm Manifying blib/man3/DBD.CSV.3pm (/usr/bin/make exited with 0) CPAN::Reporter: make result is 'pass', No errors. HMBRAND/DBD-CSV-0.33.tgz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_meta.t ......... skipped: Author tests not required for installation t/00_pod.t .......... ok t/00_pod_cov.t ...... ok # Showing relevant versions # Using DBI version 1.616 # Using DBD::File version 0.40 # Using SQL::Statement version 1.33 # Using Text::CSV_XS version 0.85 # DBD::CSV 0.33 using Text::CSV_XS (0.85) # DBD::File 0.40 using IO::File (1.14) # DBI::DBD::SqlEngine 0.03 using SQL::Statement 1.33 # DBI 1.616 # OS cygwin (1.7.5(0.22553)) # Perl 5.010001 (i686-cygwin-thread-multi-64int) t/10_base.t ......... ok t/11_dsnlist.t ...... ok t/20_createdrop.t ... ok t/30_insertfetch.t .. ok t/31_delete.t ....... ok t/32_update.t ....... ok t/40_numrows.t ...... ok t/41_nulls.t ........ ok t/42_bindparam.t .... ok t/43_blobs.t ........ ok t/44_listfields.t ... ok Goto undefined subroutine &Carp::short_error_loc at /usr/lib/perl5/5.10/warnings.pm line 451. BEGIN failed--compilation aborted at t/48_utf8.t line 7. t/48_utf8.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/50_chopblanks.t ... ok t/51_commit.t ....... ok t/60_misc.t ......... ok t/70_csv.t .......... ok t/71_csv-ext.t ...... ok t/72_csv-schema.t ... ok t/73_csv-case.t ..... ok t/80_rt.t ........... ok Test Summary Report ------------------- t/48_utf8.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=23, Tests=663, 37 wallclock secs ( 0.25 usr 0.49 sys + 9.33 cusr 18.70 csys = 28.76 CPU) Result: FAIL Failed 1/23 test programs. 0/663 subtests failed. make: *** [test_dynamic] Error 255 (/usr/bin/make test exited with 512) CPAN::Reporter: Test result is 'fail', One or more tests failed. CPAN::Reporter: preparing a CPAN Testers report for DBD-CSV-0.33 CPAN::Reporter: Could not find Metabase tranport 'id_file' parameter located at '/home/bey9a15r/.cpanreporter/metabase_id.json'. See documentation for proper configuration of the 'transport' setting. Test report will not be sent. HMBRAND/DBD-CSV-0.33.tgz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports HMBRAND/DBD-CSV-0.33.tgz Running make install make test had returned bad status, won't install without force Failed during this command: HMBRAND/DBD-CSV-0.33.tgz : make_test NO Tenzij hierboven anders aangegeven: / Sauf indication contraire ci-dessus: / Unless otherwise stated above: International Business Machines of Belgium sprl / bvba Siège social / Maatschappelijke zetel: Avenue du Bourget 42 Bourgetlaan, B-1130 Bruxelles/Brussel N° d'entreprise / Ondernemingsnr: TVA / BTW BE 0405 912 336 RPM Bruxelles / RPR Brussel
Sorry, but this is a Carp bug, and rather new. I'm moving the bug to the Carp queue, with consent of its owner
Subject: [rt.cpan.org #70808] undefined subroutine &Carp::short_error_loc
Date: Fri, 9 Sep 2011 11:48:50 +0200
To: Bug-Carp [...] rt.cpan.org
From: Nicolas Pheulpin <BEY9A15R [...] be.ibm.com>
Same error with this one-liner : Show quoted text
prompt> perl -MFile::Find=find -MFile::Spec::Functions -Tlw -e 'find {
wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC' ... /usr/lib/perl5/vendor_perl/5.10/YAML/Tiny.pm /usr/lib/perl5/vendor_perl/5.10/YAML/Types.pm /usr/lib/perl5/vendor_perl/5.10/YAML/Dumper/Base.pm /usr/lib/perl5/vendor_perl/5.10/YAML/Loader/Base.pm Goto undefined subroutine &Carp::short_error_loc at /usr/lib/perl5/5.10/warnings.pm line 451. Show quoted text
prompt> echo $?
255 Greetings Tenzij hierboven anders aangegeven: / Sauf indication contraire ci-dessus: / Unless otherwise stated above: International Business Machines of Belgium sprl / bvba Siège social / Maatschappelijke zetel: Avenue du Bourget 42 Bourgetlaan, B-1130 Bruxelles/Brussel N° d'entreprise / Ondernemingsnr: TVA / BTW BE 0405 912 336 RPM Bruxelles / RPR Brussel
Subject: Re: [rt.cpan.org #70808] undefined subroutine &Carp::short_error_loc
Date: Fri, 9 Sep 2011 20:23:28 +0100
To: Nicolas Pheulpin via RT <bug-Carp [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Nicolas Pheulpin via RT wrote: Show quoted text
>Same error with this one-liner : >
>prompt> perl -MFile::Find=find -MFile::Spec::Functions -Tlw -e 'find {
>wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'
I can't reproduce it with that command, on 5.10 or 5.14. However, I did manage to reproduce it with the DBD::CSV test suite. I got the failure down to this: $ perl -Mcharnames=full -e1 Goto undefined subroutine &Carp::short_error_loc at /home/zefram/usr/perl/perl_install/perl-5.10.1-i32-f52/lib/5.10.1/warnings.pm line 451. BEGIN failed--compilation aborted. Only happens on 5.10.{0,1}. Not on 5.8.9, not on 5.11.0, not on anything else I tried. Now looking further. -zefram
Subject: Re: [rt.cpan.org #70808] undefined subroutine &Carp::short_error_loc
Date: Fri, 9 Sep 2011 20:28:40 +0100
To: Zefram via RT <bug-Carp [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
I wrote: Show quoted text
>$ perl -Mcharnames=full -e1 >Goto undefined subroutine &Carp::short_error_loc at /home/zefram/usr/perl/perl_install/perl-5.10.1-i32-f52/lib/5.10.1/warnings.pm line 451. >BEGIN failed--compilation aborted.
The bug is that that part of warnings.pm does "require Carp::Heavy", expecting that C:H will define Carp::short_error_loc and the rest of Carp. Historically Carp::Heavy actually defined all of that stuff while Carp.pm only had stubs. In later perls, Carp.pm defines everything. To maintain backcompat, loading Carp::Heavy needs to continue effectively defining everything, by Carp::Heavy loading Carp. It used to do that, but I broke it when I regularised Carp::Heavy for CPANification. Need to restore that part. -zefram
Subject: Re: [rt.cpan.org #70808] undefined subroutine &Carp::short_error_loc
Date: Fri, 9 Sep 2011 20:44:52 +0100
To: Zefram via RT <bug-Carp [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Fixed in Carp-1.23, just uploaded to CPAN. -zefram
Subject: [rt.cpan.org #70808]
Date: Mon, 12 Sep 2011 08:46:05 +0200
To: Bug-Carp [...] rt.cpan.org
From: Nicolas Pheulpin <BEY9A15R [...] be.ibm.com>
Yes, I forgot to precise the Perl version. Now, all is ok with Carp-1.23. Thank You Tenzij hierboven anders aangegeven: / Sauf indication contraire ci-dessus: / Unless otherwise stated above: International Business Machines of Belgium sprl / bvba Siège social / Maatschappelijke zetel: Avenue du Bourget 42 Bourgetlaan, B-1130 Bruxelles/Brussel N° d'entreprise / Ondernemingsnr: TVA / BTW BE 0405 912 336 RPM Bruxelles / RPR Brussel