Wed Aug 26 08:13:36 2009: Request 49002 was acted upon.
Transaction: Correspondence added by [email protected]
Queue: Module-ScanDeps
Subject: Re: [rt.cpan.org #49002] Event.pm dependency: pp fails to find
Event/idle.pm
Broken in: 0.94
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=49002 >
> Can't locate Event/idle.pm in @INC (@INC contains: CODE(0xa2d3ac0)
Bug is actually in Module::ScanDeps that is used by PAR::Packer to
determine all modules used (transitively) by your script.
Event.pm loads Event/idle.pm etc in a way that can't be detected
by static analysis. Hence, we must provide M::SD with a hint.
Can you try the follwing patch? Note that in order to see any effect you must
- apply the patch to the source of Module::ScanDeps
- re-build and install Module::ScanDeps
- re-pack your failing script
Cheers, Roderich
--- Module-ScanDeps-0.94/lib/Module/ScanDeps.pm 2009-08-10
20:28:30.000000000 +0200
+++ Module-ScanDeps-rt49002/lib/Module/ScanDeps.pm 2009-08-26
14:03:27.000000000 +0200
@@ -275,6 +275,7 @@
termios.ph asm/termios.ph sys/termiox.ph sys/termios.ph sys/ttycom.ph
) ],
'Email/Send.pm' => 'sub',
+ 'Event.pm' => 'sub',
'ExtUtils/MakeMaker.pm' => sub {
grep /\bMM_/, _glob_in_inc('ExtUtils', 1);
},