Thu Jul 07 18:15:30 2011: Request 69213 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: Module-ScanDeps
     Subject: ScanDeps incompatible with AnyEvent (Perl 5.14, AnyEvent 5.34, 
PAR 1.00.2)
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: schut...@cisco.com, shut...@pobox.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=69213 >


On 2011-06-30 18:46:41, schut...@cisco.com wrote:
> PAR emits this error while trying to compile AnyEvent:

The problem seems to be the outer sub { ... } 
that Module::ScanDeps adds when trying to "compile" some Perl code,
i.e. essentially it runs "perl" on it, but adds some code
to print out %INC at the end. Cf. sub _compile in Module::ScanDeps.

The outer sub causes the warning

Variable "@models" is not available at ...

and the manipulation to $^WARNING_BITS and $^H makes this fatal.

There are probably other ways to achieve _compile's goal, perhaps some
clever hack using some B::* modules.

But what is the reason you are using "pp -c ..." at all? Especially
since you already add modules AnyEvent, AnyEvent::Impl::EV and EV 
explcitly. Are other modules missing in the packed executable?

Cheers, Roderich

Reply via email to