develooper Front page | perl.perl5.porters | Postings from June 2009

Re: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.34

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
June 23, 2009 12:21
Subject:
Re: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.34
Message ID:
20090623192133.GC18688@iabyn.com
On Sun, Jun 14, 2009 at 03:37:26PM -0500, Craig A. Berry wrote:
> On Sat, Jun 13, 2009 at 5:07 AM, Chris 'BinGOs'
> Williams<chris@bingosnet.co.uk> wrote:
> > Hi,
> >
> > The recent changes to CPANPLUS-0.87_01 have caused issues with the CPANPLUS::Dist::Build
> > testsuite.
> >
> > Here is a patch to bring the CPANPLUS::Dist::Build in core up to date with the CPAN release
> > version 0.34
> >
> > Highlights from the ChangeLog:
> > ========================================================
> > 0.34 Sat Jun 13 09:50:24 BST 2009
> >  - Fixed the 02packages.details.txt.gz file in our fake CPAN
> >      CPANPLUS-0.87_01 now checks this file for sanity. Ours
> >      was not sane >:) Spotted by the ever vigilant Vincent Pit.
> > ========================================================
> 
> Definitions of sanity vary :-).  On VMS I now see the following
> failure.  As far as I can tell there really are 18 lines in the
> gunzipped text file.  I don't know what is telling it that there
> should be 10755 lines (or why).

10755 Sounds suspiciously like some permissions bits.

Has this been looked into any further yet?

> $ define perl_core 1
> $ perl [-.lib.cpanplus.dist.build.t]02_cpanplus-dist-build.t
> ok 1 - use CPANPLUS::Dist::Build;
> ok 2 - Format is available
> ok 3 - Module object created for 'noxs'
> ok 4 -    Tarball
> 'D0:[CRAIG.PERL.LIB.CPANPLUS.DIST.BUILD.T.src.noxs]Foo-Bar-0.01.tar.gz'
> exists
> [MSG] No 'D0:[CRAIG.PERL.LIB.CPANPLUS.DIST.BUILD.T.dummy-cpanplus.custom-sources]'
> dir, skipping custom sources
> [ERROR] Expected to read at least 10755 lines, but
> D0:[CRAIG.PERL.LIB.CPANPLUS.DIST.BUILD.T.dummy-cpanplus]02packages.details.txt.gz
>  contains only 18 lines!
> 
> Can't call method "is_uptodate" without a package or object reference
> at /perl_root/lib/CPANPLUS/Module.pm line 680.
> 1..4
> # Looks like your test exited with 1024 just after 4.

-- 
The warp engines start playing up a bit, but seem to sort themselves out
after a while without any intervention from boy genius Wesley Crusher.
    -- Things That Never Happen in "Star Trek" #17

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About