Skip Menu |
 

This queue is for tickets about the PPM-Make CPAN distribution.

Report information
The Basics
Id: 119133
Status: resolved
Priority: 0/
Queue: PPM-Make

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

Bug Information
Severity: (no value)
Broken in: 0.9903
Fixed in: (no value)



Subject: Cannot deal with .tar.bz2 distributions
Download (untitled) / with headers
text/plain 922b
A few CPAN distributions are distributed as .tar.bz2 files --- and these cannot be handled by make_ppm: C:\Users\IEUser>make_ppm CPAN::Testers::ParseReport Using Archive::Tar .... Using Compress::Zlib .... Using dmake .... Using C:\Strawberry\perl\bin\perl.exe .... Working directory: C:\Users\IEUser\AppData\Local\Temp Database was generated on Mon, 05 Dec 2016 21:12:19 GMT Fetching with LWP: http://cpan.strawberryperl.com/authors/id/A/AN/ANDK/CHECKSUMS Fetching http://cpan.strawberryperl.com/authors/id/A/AN/ANDK/CPAN-Testers-ParseR eport-0.4.1.tar.bz2 ... Fetching http://cpan.strawberryperl.com/authors/id/A/AN/ANDK/CHECKSUMS ... Extracting files from CPAN-Testers-ParseReport-0.4.1.tar.bz2 .... Cannot chdir to CPAN-Testers-ParseReport-0.4.1.tar.bz2: No such file or director y at C:/Strawberry/perl/site/lib/PPM/Make.pm line 93. Similar results I get with File::Rsync::Mirror::Recent and Net::CIDR::Lookup.
Download (untitled) / with headers
text/plain 1.4k
On Tue Dec 06 07:11:25 2016, SREZIC wrote: Show quoted text
> A few CPAN distributions are distributed as .tar.bz2 files --- and > these cannot be handled by make_ppm: > > > C:\Users\IEUser>make_ppm CPAN::Testers::ParseReport > Using Archive::Tar .... > Using Compress::Zlib .... > Using dmake .... > Using C:\Strawberry\perl\bin\perl.exe .... > Working directory: C:\Users\IEUser\AppData\Local\Temp > Database was generated on Mon, 05 Dec 2016 21:12:19 GMT > > Fetching with LWP: > http://cpan.strawberryperl.com/authors/id/A/AN/ANDK/CHECKSUMS > Fetching http://cpan.strawberryperl.com/authors/id/A/AN/ANDK/CPAN- > Testers-ParseR > eport-0.4.1.tar.bz2 ... > Fetching http://cpan.strawberryperl.com/authors/id/A/AN/ANDK/CHECKSUMS > ... > Extracting files from CPAN-Testers-ParseReport-0.4.1.tar.bz2 .... > Cannot chdir to CPAN-Testers-ParseReport-0.4.1.tar.bz2: No such file > or director > y at C:/Strawberry/perl/site/lib/PPM/Make.pm line 93. > > > > Similar results I get with File::Rsync::Mirror::Recent and > Net::CIDR::Lookup.
Thanks for the report. Shipped 0.9904 with a fix not to try to gunzip a bzipped tarball. I also added IO::Uncompress::Bunzip2 dependency so Archive::Tar correctly extracts a bzipped tarball. I tried to add a bzip2 option too, but it didn't work well for me so I reverted that, hoping everyone has a decent version of tar that extracts a bzipped tarball with -x option. If this assumption is wrong, I'll revisit this ticket again. Sorry for the delay. Hope this helps.


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.