Skip Menu |

This queue is for tickets about the XML-LibXML-PrettyPrint CPAN distribution.

Report information
The Basics
Id: 124365
Status: new
Priority: 0/
Queue: XML-LibXML-PrettyPrint

People
Owner: Nobody in particular
Requestors: a_gobinath [...] yahoo.co.in
Cc:
AdminCc:

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



Subject: Error in # cpan2rpm --no-depchk --no-sign XML::LibXML::PrettyPrint
Date: Thu, 8 Feb 2018 09:35:18 +0000 (UTC)
To: "bug-XML-LibXML-PrettyPrint [...] rt.cpan.org" <bug-XML-LibXML-PrettyPrint [...] rt.cpan.org>
From: "Gobinath.a" <a_gobinath [...] yahoo.co.in>
Hi, I'm using cpan2rpm to generate the rpm for XML::LibXML::PrettyPrint. The following is the command used:# cpan2rpm --no-depchk --no-sign XML::LibXML::PrettyPrint Above fails with the following error:==================================================== -- cpan2rpm - Ver: 2.028 -- Upgrade check Fetch: HTTP -- module: XML::LibXML::PrettyPrint -- Using cached URL: http://search.cpan.org//CPAN/authors/id/T/TO/TOBYINK/XML-LibXML-PrettyPrint-0006.tar.gz Tarball found - not fetching Metadata retrieval Tarball extraction: [/root/rpmbuild/SOURCES/XML-LibXML-PrettyPrint-0.006.tar.gz] get_meta(): Not a directory at /usr/local/bin/cpan2rpm line 396. -- Done -- ===================================================== This error is related to the XML-LibXML-PrettyPrint-0.006.tar.gz itself. cpan2rpm expects the first entry in the tar ball to be the base directory (by using tar -ztvf XML-LibXML-PrettyPrint-0.006.tar.gz). XML-LibXML-PrettyPrint-0.006.tar.gz includes just the files. The directory structure are not included in the XML-LibXML-PrettyPrint-0.006.tar.gz, which leads to this issue. Existing:-rw-rw-r-- tai/tai        3174 2014-09-07 06:05 XML-LibXML-PrettyPrint-0.006/CONTRIBUTING-rw-rw-r-- tai/tai        1179 2014-09-07 06:05 XML-LibXML-PrettyPrint-0.006/COPYRIGHT: Expected:drwxr-xr-x root/root         0 2018-02-07 06:31 XML-LibXML-PrettyPrint-0.006/ drwxr-xr-x root/root         0 2018-02-07 06:31 XML-LibXML-PrettyPrint-0.006/bin/ -rw-rw-r-- symbol/symbol  1100 2014-09-07 06:05 XML-LibXML-PrettyPrint-0.006/bin/xml-pretty: As a workaround, extracting and repacking XML-LibXML-PrettyPrint-0.006.tar.gz solves the issue. Please upload the tar ball with the directory structure as well. Thanks,Gobinath.a