Skip Menu |

This queue is for tickets about the cpan2rpm CPAN distribution.

Report information
The Basics
Id: 2071
Status: resolved
Priority: 0/
Queue: cpan2rpm

People
Owner: ecalder [...] cpan.org
Requestors: bbb [...] cpan.org
Cc:
AdminCc:

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



Subject: Invalid tarball directory - error: Bad exit status (%prep)
It doesn't do so well when the directory created by the tarball doesn't match exactly with what the tarball name is. $ cpan2rpm MIME-tools -- cpan2rpm - Ver: 2.011 -- Searching CPAN website Found URL http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/MIME-tools-5.411a.tar.gz Tarball extraction: [/home/rob/redhat/SOURCES/MIME-tools-5.411a.tar.gz] Metadata retrieval Generating spec file Generating package error: line 15: Unknown tag: ___ _ _ _ _ ___ _ [...] $ vi ~/redhat/SPECS/MIME-tools.spec # fix messed vendor as explained in Bug #2061 $ rpmbuild -ba ~/redhat/SPECS/MIME-tools.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.32105 + umask 022 + cd /home/rob/redhat/BUILD + cd /home/rob/redhat/BUILD + rm -rf MIME-tools-5.411a + /bin/gzip -dc /home/rob/redhat/SOURCES/MIME-tools-5.411a.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd MIME-tools-5.411a /var/tmp/rpm-tmp.32105: cd: MIME-tools-5.411a: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.32105 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.32105 (%prep)