Skip Menu |

This queue is for tickets about the Linux-Distribution CPAN distribution.

Report information
The Basics
Id: 36768
Status: resolved
Priority: 0/
Queue: Linux-Distribution

People
Owner: Nobody in particular
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.14
Fixed in: 0.14_01



Subject: Linux::Distribution-0.14 build break
Date: Sun, 15 Jun 2008 07:27:19 -0500
To: bug-Linux-Distribution [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
net1#make test PERL_DL_NONLAZY=1 /common/pkgs/perl-5.10.0-34034/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Linux-Distribution.t....1/2 String found where operator expected at /root/.cpanplus/5.10.0/build/Linux-Distribution-0.14/blib/lib/Linux/Distribution.pm line 57, near "Carp::croak 'you are trying to use a linux specific module on a different OS'" (Do you need to predeclare Carp::croak?) # Failed test 'use Linux::Distribution;' # at t/Linux-Distribution.t line 9. # Tried to use 'Linux::Distribution'. # Error: syntax error at /root/.cpanplus/5.10.0/build/Linux-Distribution-0.14/blib/lib/Linux/Distribution.pm line 57, near "Carp::croak 'you are trying to use a linux specific module on a different OS'" # Compilation failed in require at (eval 2) line 2. # BEGIN failed--compilation aborted at (eval 2) line 2. Undefined subroutine &Linux::Distribution::distribution_name called at t/Linux-Distribution.t line 11. # Looks like you planned 2 tests but only ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test died just after 1. t/Linux-Distribution.t.... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/2 subtests -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Linux::Distribution will not build under perl 5.10 until this is fixed. One needs to force the installation. All needed is the parenthesis around the function call: Replace: Carp::croak 'you are trying to use a linux specific module on a different OS'; with: Carp::croak( 'you are trying to use a linux specific module on a different OS'); or use() Carp instead of require(). This issu also affects the modules requiring Linux::Distribution.
Subject: Re: [rt.cpan.org #36768] Linux::Distribution-0.14 build break
Date: Tue, 24 Jun 2008 10:22:37 -0500
To: bug-Linux-Distribution [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Burak Gursoy via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=36768 > > > Linux::Distribution will not build under perl 5.10 until this is fixed. > One needs to force the installation. > > All needed is the parenthesis around the function call: > > Replace: > Carp::croak 'you are trying to use a linux specific module on a > different OS'; > > with: > > Carp::croak( 'you are trying to use a linux specific module on > a different OS'); > > or use() Carp instead of require(). This issu also affects the modules > requiring Linux::Distribution.
Thanks! -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Втр. Июн. 24 04:23:22 2008, BURAK писал: Show quoted text
> Linux::Distribution will not build under perl 5.10 until this is fixed.
Fixed in 0.14_01. -- Alexandr Ciornii, http://chorny.net