Skip Menu |

This queue is for tickets about the Catalyst-Helper-AuthDBIC CPAN distribution.

Report information
The Basics
Id: 54533
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Catalyst-Helper-AuthDBIC

People
Owner: Nobody in particular
Requestors: alfonso.pinto [...] gmail.com
Cc:
AdminCc:

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



Subject: Problems building Catalyst-Helper-AuthDBIC-0.11
Trying to install from CPAN returns the following errors: t/02-usage.t ...... 4/? # Failed test 'auth bootstrap' # at t/02-usage.t line 20. # got: 255 # expected: 0 # Failed test 'created user' # at t/02-usage.t line 21. # got: 2 # expected: 0 # Looks like you failed 2 tests of 5. and: Test Summary Report ------------------- t/live-test.t (Wstat: 0 Tests: 3 Failed: 0) Parse errors: Plan (1..3) must be at the beginning or end of the TAP output Files=6, Tests=13, 5 wallclock secs ( 0.03 usr 0.03 sys + 3.84 cusr 0.55 csys = 4.45 CPU) Result: FAIL Failed 1/6 test programs. 0/13 subtests failed. make: *** [test_dynamic] Error 255 Perl version: This is perl, v5.10.0 built for i486-linux-gnu-thread-multi SO: Linux debian 2.6.26-2-686 #1 SMP Sat Dec 26 09:01:51 UTC 2009 i686 GNU/Linux Find attached a patch that solves the issues.
Subject: Catalyst-Helper-AuthDBIC-0.11.patch
Only in .cpan/build/Catalyst-Helper-AuthDBIC-0.11-2fvyYI: blib diff -crB Catalyst-Helper-AuthDBIC-0.11/lib/Catalyst/Helper/AuthDBIC.pm .cpan/build/Catalyst-Helper-AuthDBIC-0.11-2fvyYI/lib/Catalyst/Helper/AuthDBIC.pm *** Catalyst-Helper-AuthDBIC-0.11/lib/Catalyst/Helper/AuthDBIC.pm 2010-01-31 12:50:56.000000000 +0100 --- .cpan/build/Catalyst-Helper-AuthDBIC-0.11-2fvyYI/lib/Catalyst/Helper/AuthDBIC.pm 2010-02-12 04:02:55.000000000 +0100 *************** *** 105,111 **** app_name() . "::Auth::Schema", ); system( @cmd ); ! my $schema_name = app_name() . "::Auth::Schema"; my $user_schema = "$schema_name"."::User"; my @path = split /::/, $user_schema; my $user_schema_path = join '/', @path; --- 105,111 ---- app_name() . "::Auth::Schema", ); system( @cmd ); ! my $schema_name = app_name() . "::Auth::Schema::Result"; my $user_schema = "$schema_name"."::User"; my @path = split /::/, $user_schema; my $user_schema_path = join '/', @path; Only in .cpan/build/Catalyst-Helper-AuthDBIC-0.11-2fvyYI: Makefile Only in .cpan/build/Catalyst-Helper-AuthDBIC-0.11-2fvyYI: pm_to_blib diff -crB Catalyst-Helper-AuthDBIC-0.11/t/live-test.t .cpan/build/Catalyst-Helper-AuthDBIC-0.11-2fvyYI/t/live-test.t *** Catalyst-Helper-AuthDBIC-0.11/t/live-test.t 2010-01-31 12:42:53.000000000 +0100 --- .cpan/build/Catalyst-Helper-AuthDBIC-0.11-2fvyYI/t/live-test.t 2010-02-12 04:05:02.000000000 +0100 *************** *** 2,16 **** use strict; use warnings; ! use Test::More; BEGIN { eval { require Test::WWW::Mechanize::Catalyst } or plan skip_all => 'Need Test::WWW::Mechanize::Catalyst to run this test'; } - plan tests => 3; - # setup library path use FindBin qw($Bin); use lib "$Bin/lib"; --- 2,14 ---- use strict; use warnings; ! use Test::More tests => 3; BEGIN { eval { require Test::WWW::Mechanize::Catalyst } or plan skip_all => 'Need Test::WWW::Mechanize::Catalyst to run this test'; } # setup library path use FindBin qw($Bin); use lib "$Bin/lib";
PAtch applied, will appear in version 0.12