#30532: cpio @2.10 gets pax error activating with MacPorts 2.0.0 ------------------------------------------+--------------------------------- Reporter: md14-macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: ------------------------------------------+--------------------------------- I get the following error when trying to install cpio with MacPorts 2.0.0. {{{ $ sudo port -v install cpio ... ---> Activating cpio @2.10_0 pax: Cannot identify format. Searching... pax: Cpio file name in header is corrupted pax: Invalid header, starting valid header search. pax: Cpio file name length 6624 is out of range pax: Cpio file name length 22785 is out of range pax: Cpio file name length 9226 is out of range pax: Cpio file name length 16866 is out of range pax: Cpio file name length 50616 is out of range pax: Cpio file name length 23165 is out of range pax: End of archive volume 1 reached pax: WARNING! These patterns were not matched: . shell command "/bin/pax -r -v -p e -f /opt/local/var/macports/software/cpio/cpio-2.10_0.darwin_10.x86_64.tbz2 ." returned error 1 Error: Target org.macports.activate returned: shell command failed (see log for details) Warning: the following items did not execute (for cpio): org.macports.activate Log for cpio is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_cpio/cpio/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} The complete build log is attached. This appears to be a base problem since the error did not occur when I installed the same port using MacPorts 1.9.2. The pax command recognizes the cpio-2.10_0.darwin_10.x86_64.tbz2 file if you include the -j option, although I don't know whether or not that is the correct way to fix this problem. {{{ $ /bin/pax -r -v -p e -j -f /opt/local/var/macports/software/cpio/cpio-2.10_0.darwin_10.x86_64.tbz2 . }}} Mac OS X 10.6.8, Xcode 3.2.6. -- Ticket URL: <https://trac.macports.org/ticket/30532> MacPorts <http://www.macports.org/> Ports system for Mac OS