>>>>> On Mon, 06 Nov 2006 17:33:09 -0500, John Peacock <[EMAIL PROTECTED]> said:

  > Andreas J. Koenig wrote:
 >> t/002_config....Bareword "Internals::inc_sub_generation" not allowed while 
 >> "strict subs" in use at 
 >> /home/src/perl/repoperls/installed-perls/perl/pDHoAxM/[EMAIL 
 >> PROTECTED]/lib/5.9.5/constant.pm line 112.
 >> Compilation failed in require at 
 >> /home/src/perl/repoperls/installed-perls/perl/pDHoAxM/[EMAIL 
 >> PROTECTED]/lib/site_perl/5.9.5/YAML.pm line 12.
 >> BEGIN failed--compilation aborted at 
 >> /home/src/perl/repoperls/installed-perls/perl/pDHoAxM/[EMAIL 
 >> PROTECTED]/lib/site_perl/5.9.5/YAML.pm line 12.
 >> Compilation failed in require at blib/lib/SVN/Notify/Config.pm line 5.
 >> BEGIN failed--compilation aborted at blib/lib/SVN/Notify/Config.pm line 5.
 >> Compilation failed in require at t/002_config line 11.

  > This is really something that should be targeted at the YAML queue, or 
rather to
  > bleadperl itself (since constant.pm is a core module).  I certainly care 
about
  > the results, but it isn't really SVN::Notify::Config's fault here...

Why are you so sure? I'd love to confirm your claim but I fear there
is no way to prove it but an explanation of what really goes on, or
what would you say?

While inspecting the involved files I found this highly suspicious
line in t/testconfig:

  #!/usr/bin/perl -MSVN::Notify::Config=$0

This looks to me as if your tests might be using an old perl with
current @INC. Is this possible?

To back this up let me show you that the bleadperl I used for the test
can parse constant.pm without problems but /usr/bin/perl cannot:

% /home/src/perl/repoperls/installed-perls/*/*/[EMAIL PROTECTED]/bin/perl -c 
/home/src/perl/repoperls/installed-perl/pDHoAxM/[EMAIL 
PROTECTED]/lib/5.9.5/constant.pm
/home/src/perl/repoperls/installed-perls/perl/pDHoAxM/[EMAIL 
PROTECTED]/lib/5.9.5/constant.pm syntax OK
% /usr/bin/perl -c /home/src/perl/repoperls/installed-perls/perl/pDHoAxM/[EMAIL 
PROTECTED]/lib/5.9.5/constant.pm  
Bareword "Internals::inc_sub_generation" not allowed while "strict subs" in use 
at /home/src/perl/repoperls/installed-perls/perl/pDHoAxM/[EMAIL 
PROTECTED]/lib/5.9.5/constant.pm line 112.
/home/src/perl/repoperls/installed-perls/perl/pDHoAxM/[EMAIL 
PROTECTED]/lib/5.9.5/constant.pm had compilation errors.

Can I pass this on to you? Can you tell for sure that you are not
calling /usr/bin/perl? Or could you take some more precautions to
assure you run the tests with the perl that invoked them?

Thanks,
-- 
andreas

Reply via email to