Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 73598
Status: resolved
Priority: 0/
Queue: Log-Log4perl

People
Owner: Nobody in particular
Requestors: gshank [...] cpan.org
Cc:
AdminCc:

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



Subject: missing pre-req on DBD::CSV version
Missing pre-req on version of DBD::CSV. Installation of Log::Log4Perl failed with DBD::CSV 0.26 / Text::CSV_XS 0.70. Upgraded to DBD::CSV 0.33 and Text::CSV_XS 0.85 and installation succeeded.
On Thu Dec 29 13:35:56 2011, GSHANK wrote: Show quoted text
> Missing pre-req on version of DBD::CSV. Installation of Log::Log4Perl > failed with DBD::CSV > 0.26 / Text::CSV_XS 0.70.
Interesting, Log4perl doesn't require any of these modules but if they're there, it is running tests on them, which seem to fail. You got the error message by any chance?
Subject: Re: [rt.cpan.org #73598] missing pre-req on DBD::CSV version
Date: Thu, 29 Dec 2011 17:58:34 -0500
To: bug-Log-Log4perl [...] rt.cpan.org
From: Gerda Shank <gerda.shank [...] gmail.com>
On 12/29/11 1:48 PM, Michael_Schilli via RT wrote: Show quoted text
> Interesting, Log4perl doesn't require any of these modules but if > they're there, it is running tests on them, which seem to fail. You > got the error message by any chance?
Here's the section of the build.log: t/033UsrCspec.t ...... ok DBD::CSV::db do failed: Can't call method "print" on an undefined value at /usr/share/perl5/DBD/CSV.pm line 282. [for Statement " CREATE TABLE log4perltest ( loglevel char(9) , message char(128), shortcaller char(5), thingid char(6), category char(16), pkg char(16), runtime1 char(16), runtime2 char(16) ) "] at t/034DBI.t line 61. DBD::CSV::db do failed: Can't call method "print" on an undefined value at /usr/share/perl5/DBD/CSV.pm line 282. [for Statement " CREATE TABLE log4perltest ( loglevel char(9) , message char(128), shortcaller char(5), thingid char(6), category char(16), pkg char(16), runtime1 char(16), runtime2 char(16) ) "] at t/034DBI.t line 61. # Looks like your test exited with 25 before it could output anything. t/034DBI.t ........... Dubious, test returned 25 (wstat 6400, 0x1900) Failed 32/32 subtests DBD::CSV::db do failed: Can't call method "print" on an undefined value at /usr/share/perl5/DBD/CSV.pm line 282. [for Statement " CREATE TABLE log4perltest ( loglevel char(9) , message char(128), shortcaller char(5), thingid char(6), category char(16), pkg char(16), runtime1 char(16), runtime2 char(16) ) "] at t/035JDBCAppender.t line 55. Log4perl: DBI appender error: ' Execution ERROR: No such column 'loglevel' called from /home/gshank/.cpanm/work/1325183137.7379/Log-Log4perl-1.34/blib/lib/Log/Log4perl/Appender/DBI.pm at 139. ' at t/035JDBCAppender.t line 102 # Looks like your test exited with 25 before it could output anything. t/035JDBCAppender.t .. Dubious, test returned 25 (wstat 6400, 0x1900) Failed 14/14 subtests t/036JSyslog.t ....... ok Gerda
Thanks for the detailed info, I could reproduce the problem for DBD::CSV, so 0.26, so I bumped up the minimum required version to 0.33 (only if installed, Log4perl will skip the test if it isn't): https://github.com/mschilli/log4perl/commit/603cd565116bd5c15950ee821341a28c4e6c4f2c