Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 54261
Status: open
Priority: 0/
Queue: CPAN

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

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



Subject: threads is not announced as requirement
Hello, inc/Test/Builder.pm loads threads.pm if certain conditions are true. CPAN's Makefile.PL is not announcing this requirement. I'm not sure what exactly should be fixed. It either inc/Test/Builder.pm shouldn't die on missing modules or Makefile.PL should announce threads and threads::shared as requirements. If you make a choice then I can write patch for you. -- Best regards, Ruslan.
Subject: Re: [rt.cpan.org #54261] threads is not announced as requirement
Date: Wed, 3 Feb 2010 14:13:11 -0500
To: bug-CPAN [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Wed, Feb 3, 2010 at 8:32 AM, Ruslan Zakirov via RT <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> inc/Test/Builder.pm loads threads.pm if certain conditions are true. CPAN's > Makefile.PL is not announcing this requirement. > > I'm not sure what exactly should be fixed. It either inc/Test/Builder.pm > shouldn't die on missing modules or Makefile.PL should announce threads > and threads::shared as requirements. If you make a choice then I can write > patch for you.
How does one wind up with $] > 5.008 and $Config{useithreads} and *not* have threads.pm? That seems like a broken Perl. Alternatively, I wonder whether updating the bundled Test::Builder to 0.94 would help as it seems to have a rather expanded section to cope with threads. -- David
Subject: Re: [rt.cpan.org #54261] threads is not announced as requirement
Date: Wed, 3 Feb 2010 22:31:45 +0300
To: bug-CPAN [...] rt.cpan.org
From: Ruslan Zakirov <ruslan.zakirov [...] gmail.com>
On Wed, Feb 3, 2010 at 10:14 PM, David Golden via RT <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=54261 > > > On Wed, Feb 3, 2010 at 8:32 AM, Ruslan Zakirov via RT > <bug-CPAN@rt.cpan.org> wrote:
>> inc/Test/Builder.pm loads threads.pm if certain conditions are true. CPAN's >> Makefile.PL is not announcing this requirement. >> >> I'm not sure what exactly should be fixed. It either inc/Test/Builder.pm >> shouldn't die on missing modules or Makefile.PL should announce threads >> and threads::shared as requirements. If you make a choice then I can write >> patch for you.
> > How does one wind up with $] > 5.008 and $Config{useithreads} and > *not* have threads.pm?   That seems like a broken Perl.
I don't know. An user is on ALT Linux 4.0 (RH based) distro. Here is his log: http://request-tracker.ru/sites/default/files/log.txt.tar_.gz Show quoted text
> Alternatively, I wonder whether updating the bundled Test::Builder to > 0.94 would help as it seems to have a rather expanded section to cope > with threads.
I saw that too, but I can not comment on this. Show quoted text
> > -- David > >
-- Best regards, Ruslan.