[82103] trunk/dports/archivers
Anders F Björklund
afb at macports.org
Tue Aug 9 08:44:39 PDT 2011
>> ---> Activating rpm2cpio @5.2.1_0
>> DEBUG: Using /bin/pax
>> pax: Cannot identify format. Searching...
>> pax: End of archive volume 1 reached
>> pax: unknown format, 1925 bytes skipped.
>> pax: Sorry, unable to determine archive format.
>> shell command "/bin/pax -r -v -p e -f /opt/local/var/macports/software/rpm2cpio/rpm2cpio-5.2.1_0.darwin_11.noarch.tbz2 ." returned error 1
>> Error: Target org.macports.activate returned: shell command failed (see log for details)
>
> Must be a bug in base, it most definitely shouldn't use pax for .tbz2!
That would be http://trac.macports.org/ticket/30532
(fixed in http://trac.macports.org/changeset/81577)
% puts [file tail opt/local/var/macports/software/rpm2cpio/rpm2cpio-5.2.1_0.darwin_11.noarch.tbz2]
rpm2cpio-5.2.1_0.darwin_11.noarch.tbz2
% puts [file extension opt/local/var/macports/software/rpm2cpio/rpm2cpio-5.2.1_0.darwin_11.noarch.tbz2]
.tbz2
It was using the wrong file command, and then a too
generous regexp which matches cp(io|gz) anywhere...
Should be fixed in 2.0.2 (says r81579)
--anders
More information about the macports-dev
mailing list