Developer version numbers on cpan testers?

2014-04-22 Thread NebCon, Inc

Hi CPAN Testers;
  My tests of LaTeXML are showing warnings like:
Argument 2.07_02 isn't numeric in subroutine entry at 
/home/cpan/pit/bare/perl-5.8.9/lib/5.8.9/File/Temp.pm line 14.


usually on OpenBSD systems.  These cause some tests to fail,
since we're capturing STDERR to manage errors, warnings, etc.

The warning above would seem to come either from some
Module requiring a developer version of File::Temp,
or that there is a developer version installed.
My code uses File::Temp, but doesn't ask for
a specific version.

Is there something I should be doing differently
(besides ignoring STDERR) to avoid this sensitivity
or to avoid the warning?  Or should I just ignore
such Fails ?

Thanks;
bruce



Re: Developer version numbers on cpan testers?

2014-04-22 Thread David Cantrell
On Mon, Apr 21, 2014 at 12:33:54PM -0400, NebCon, Inc wrote:

   My tests of LaTeXML are showing warnings like:
 Argument 2.07_02 isn't numeric in subroutine entry at 
 /home/cpan/pit/bare/perl-5.8.9/lib/5.8.9/File/Temp.pm line 14.
 
 usually on OpenBSD systems.

This doesn't appear to be possible with the version of File::Temp that
was distributed with perl 5.8.9, or with the current version on the
CPAN. What version do you have installed? Can you temporarily
monkey-patch it to vomit out a stack trace so you can see where it's
being called from and with what arguments?

-- 
David Cantrell | http://www.cantrell.org.uk/david

  I remember when computers were frustrating because they did
  exactly what you told them to.  That seems kinda quaint now.
  -- JD Baldwin, in the Monastery


Re: Developer version numbers on cpan testers?

2014-04-22 Thread David Golden
On Tue, Apr 22, 2014 at 8:12 AM, David Cantrell da...@cantrell.org.uk wrote:
 This doesn't appear to be possible with the version of File::Temp that
 was distributed with perl 5.8.9, or with the current version on the
 CPAN. What version do you have installed? Can you temporarily
 monkey-patch it to vomit out a stack trace so you can see where it's
 being called from and with what arguments?

David,

He's complaining about a smoker, not his own machine:

/home/cpan/pit/bare/perl-5.8.9/lib/5.8.9/File/Temp.pm

Is /home/cpan/pit/ one of your smokers?

-- 
David Golden x...@xdg.me Twitter/IRC: @xdg


Re: Developer version numbers on cpan testers?

2014-04-22 Thread David Cantrell
On Tue, Apr 22, 2014 at 09:14:43AM -0400, David Golden wrote:
 On Tue, Apr 22, 2014 at 8:12 AM, David Cantrell da...@cantrell.org.uk wrote:
  This doesn't appear to be possible with the version of File::Temp that
  was distributed with perl 5.8.9, or with the current version on the
  CPAN. What version do you have installed? Can you temporarily
  monkey-patch it to vomit out a stack trace so you can see where it's
  being called from and with what arguments?
 He's complaining about a smoker, not his own machine:
   /home/cpan/pit/bare/perl-5.8.9/lib/5.8.9/File/Temp.pm

I got confused because LaTeXML doesn't show up on metacpan. I see now
that search.cpan *does* know about it.

 Is /home/cpan/pit/ one of your smokers?

Nope.

-- 
David Cantrell | Cake Smuggler Extraordinaire

What is the difference between hearing aliens through the
fillings in your teeth and hearing Jesus in your heart?


Re: Developer version numbers on cpan testers?

2014-04-22 Thread David Golden
On Tue, Apr 22, 2014 at 9:29 AM, David Cantrell da...@cantrell.org.uk wrote:
 Is /home/cpan/pit/ one of your smokers?

 Nope.

Doh.  It's BinGOs.  I knew that.

http://www.cpantesters.org/cpan/report/a0d9762a-c98b-11e3-9f96-e4d5e82f99b1


-- 
David Golden x...@xdg.me Twitter/IRC: @xdg


Re: Developer version numbers on cpan testers?

2014-04-22 Thread Barbie
On Tue, Apr 22, 2014 at 2:49 PM, David Golden x...@xdg.me wrote:

 On Tue, Apr 22, 2014 at 9:29 AM, David Cantrell da...@cantrell.org.uk
 wrote:
  Is /home/cpan/pit/ one of your smokers?
 
  Nope.

 Doh.  It's BinGOs.  I knew that.

 http://www.cpantesters.org/cpan/report/a0d9762a-c98b-11e3-9f96-e4d5e82f99b1


I spotted similar with one of my distributions. It's weird as the version
of File::Temp actually specifies 'use File::Path 2.06', but File::Path is
at version 2.07_02 on BinGOs' system. I think the fault is in the import()
of File::Path, but haven't had the opportunity to test. File::Path is now
at 2.09, so my next release is forcing that as a minimum requirement, in
the hope it removes the fault.

Cheers,
Barbie.


Re: Developer version numbers on cpan testers?

2014-04-22 Thread David Golden
On Tue, Apr 22, 2014 at 11:35 AM, Barbie bar...@missbarbell.co.uk wrote:
 I spotted similar with one of my distributions. It's weird as the version of
 File::Temp actually specifies 'use File::Path 2.06', but File::Path is at
 version 2.07_02 on BinGOs' system. I think the fault is in the import() of
 File::Path, but haven't had the opportunity to test. File::Path is now at
 2.09, so my next release is forcing that as a minimum requirement, in the
 hope it removes the fault.

It's probably C $VERSION = 2.07_02  without a subsequent C
$VERSION = eval $VERSION  and the warning is triggered off the
-VERSION check.

Loading version.pm would fix that, too, by overriding
UNIVERSAL::VERSION to something saner.

David

-- 
David Golden x...@xdg.me Twitter/IRC: @xdg