Mon Jul 30 04:54:21 2012: Request 78660 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: Module-ScanDeps
     Subject: t/90-rt59710.t fails: "Can't locate Storable.pm in @INC" 
(perl-5.17.2)
   Broken in: (no value)
    Severity: Normal
       Owner: Nobody
  Requestors: pe...@makholm.net
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=78660 >


On 2012-07-30 04:02:19, pmakholm wrote:
> Trying to install PAR-Packer 1.013 on perl 5.17.2 fails with the
> following transcript of the test suite:
> Can't locate Storable.pm in @INC (@INC contains: CODE(0x19efe38)
> BEGIN failed--compilation aborted at Unicode/UCD.pm line 138.

That's caused by Unicode::UCD in Perl 5.17.x switching from

  use Storable qw(dclone);

to

  sub _dclone ($) { # Use Storable::dclone if available; otherwise
emulate it.
    use if defined &DynaLoader::boot_DynaLoader, Storable => qw(dclone);
    return dclone(shift) if defined &dclone;
    ...

The latter (conditional) dependency on Storable can't be detected
by static analysisi (yet). Possible fixes:

(a) add %Preload rule:  Unicode/UCD.pm => [qw( Storable.pm )]
(b) teach Module::ScanDeps about "use if ..." constructs

Cheers, Roderich





Reply via email to