Skip Menu |
 

This queue is for tickets about the PAR-Dist-FromCPAN CPAN distribution.

Report information
The Basics
Id: 24057
Status: resolved
Priority: 0/
Queue: PAR-Dist-FromCPAN

People
Owner: Nobody in particular
Requestors: jpierce [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.03



Subject: cpan2par build fails
Download (untitled) / with headers
text/plain 544b
I tried building Regexp:Keep with: This is perl, v5.8.0 built for i386-linux-thread-multi And received this seemingly fatal error: No such file or directory at /usr/lib/perl5/site_perl/5.8.0/PAR/Dist.pm line 249. This appears to be where the archive gets zipped. There was no archive in the current directory (to be expected since it was likely built in a temp folder). I chdir'd to the CPAN build directory for the module and found a corresponding par file. It appears to have been zipped (unzip -t gives a reasonable TOC) and installs find.
Download (untitled) / with headers
text/plain 3.2k
On Fri Dec 22 22:12:59 2006, JPIERCE wrote: Show quoted text
> I tried building Regexp:Keep with: > This is perl, v5.8.0 built for i386-linux-thread-multi > > And received this seemingly fatal error: > No such file or directory at /usr/lib/perl5/site_perl/5.8.0/PAR/Dist.pm > line 249. > > This appears to be where the archive gets zipped. There was no archive > in the current directory (to be expected since it was likely built in a > temp folder). I chdir'd to the CPAN build directory for the module and > found a corresponding par file. It appears to have been zipped (unzip -t > gives a > reasonable TOC) and installs find.
Hi Jerrad, thanks for the bug report! I can't reproduce the problem on any of my linux systems with the current versions of all involved modules. (Log attached for reference.) Did you install the newest versions of PAR::Dist, CPAN.pm and PAR::Dist::FromCPAN? I'm unsure how to proceed without being able to directly debug the issue. Steffen tsee@tsee64:/tmp/tmp$ cpan2par -p Regexp::Keep CPAN: File::HomeDir loaded ok CPAN: Term::ANSIColor loaded ok CPAN: Storable loaded ok Going to read /home/tsee/.cpan/Metadata Database was generated on Fri, 29 Dec 2006 16:25:34 GMT Running make for module Regexp::Keep Running make for P/PI/PINYAN/Regexp-Keep-0.02.tar.gz CPAN: Digest::SHA loaded ok CPAN: Module::Signature loaded ok WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC Signature for /home/tsee/.cpan/sources/authors/id/P/PI/PINYAN/CHECKSUMS ok CPAN: Compress::Zlib loaded ok Checksum for /home/tsee/.cpan/sources/authors/id/P/PI/PINYAN/Regexp-Keep-0.02.tar.gz ok Scanning cache /home/tsee/.cpan/build for sizes CPAN: Archive::Tar loaded ok Regexp-Keep-0.02/ Regexp-Keep-0.02/MANIFEST Regexp-Keep-0.02/META.yml Regexp-Keep-0.02/test.pl Regexp-Keep-0.02/Keep.pm Regexp-Keep-0.02/README Regexp-Keep-0.02/Makefile.PL Regexp-Keep-0.02/Keep.xs Removing previously used /home/tsee/.cpan/build/Regexp-Keep-0.02 Package came without SIGNATURE CPAN.pm: Going to build P/PI/PINYAN/Regexp-Keep-0.02.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Regexp::Keep CPAN: YAML loaded ok cp Keep.pm blib/lib/Regexp/Keep.pm /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap Keep.xs > Keep.xsc && mv Keep.xsc Keep.c cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl/5.8/CORE" Keep.c Running Mkbootstrap for Regexp::Keep () chmod 644 Keep.bs rm -f blib/arch/auto/Regexp/Keep/Keep.so cc -shared -L/usr/local/lib Keep.o -o blib/arch/auto/Regexp/Keep/Keep.so \ \ chmod 755 blib/arch/auto/Regexp/Keep/Keep.so cp Keep.bs blib/arch/auto/Regexp/Keep/Keep.bs chmod 644 blib/arch/auto/Regexp/Keep/Keep.bs Manifying blib/man3/Regexp::Keep.3pm /usr/bin/make -- OK Successfully created binary distribution 'Regexp-Keep-0.02-x86_64-linux-gnu-thread-multi-5.8.8.par'. Its contents are accessible in compliant browsers as: jar:file:///home/tsee/.cpan/build/Regexp-Keep-0.02/Regexp-Keep-0.02-x86_64-linux-gnu-thread-multi-5.8.8.par!/MANIFEST
Subject: Re: [rt.cpan.org #24057] cpan2par build fails
Date: Sat, 30 Dec 2006 17:13:47 -0500
To: bug-PAR-Dist-FromCPAN [...] rt.cpan.org
From: Jerrad Pierce <belg4mit [...] MIT.EDU>
Download (untitled) / with headers
text/plain 291b
Yes, I had installed the latest versions of everything available at the time. -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org -- MOTD on Prickle-Prickle, the 72nd of The Aftermath, in the YOLD 3172: No civilized person ever goes to bed the same day he gets up
From: robin [...] smidsrod.no
Download (untitled) / with headers
text/plain 642b
On Fre. 22. Des. 2006 22:12:59, JPIERCE wrote: Show quoted text
> No such file or directory at /usr/lib/perl5/site_perl/5.8.0/PAR/Dist.pm > line 249.
It seems like this error is related to Archive::Zip availability. I got the same error and noticed that Archive::Zip was not installed. I had the "zip" command line tool installed, but for some reason it didn't work. I assume it is called with wrong parameters. My version of zip is "Zip 2.31 (March 8th 2005)", bundled with Ubuntu 6.06. Installing Archive::Zip with the cpan shell solved the problem. I was trying to build URI::Escape with the following command line: cpan2par -v -f -t -p URI::Escape
Download (untitled) / with headers
text/plain 506b
Hi, On Tue Aug 19 09:05:39 2008, http://robin.smidsrod.no/ wrote: Show quoted text
> On Fre. 22. Des. 2006 22:12:59, JPIERCE wrote: >
> > No such file or directory at /usr/lib/perl5/site_perl/5.8.0/PAR/Dist.pm > > line 249.
> > It seems like this error is related to Archive::Zip availability.
[...] aha, that explains well why I wasn't able to reproduce. As a stop-gap measure, I have added an explicit dependency on Archive::Zip to PAR::Dist::FromCPAN. Thanks for the update on this old issue. Best regards, Steffen


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.