Opened 12 years ago

Last modified 12 years ago

#32745 closed defect

pear-Archive-Tar install failure — at Version 1

Reported by: erik@… Owned by: pixilla@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: pear-Archive_Tar

Description (last modified by pixilla (Bradley Giesbrecht))

MacPorts 2.0.3 on Mac OS 10.5.8 with Xcode 3.1.4 (Mac mini G4)

Steps to reproduce:
# port install pear-Archive-Tar

Expected result:
installed successfully

Actual result:

--->  Computing dependencies for pear-Archive_Tar
--->  Extracting pear-Archive_Tar
Error: Target org.macports.extract returned: shell command failed (see log for details)
Log for pear-Archive_Tar is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_pear-Archive_Tar/pear-Archive_Tar/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

lines 356-359 of the Log:

:info:extract package.xml
:info:extract tar: -: Not found in archive
:info:extract tar: Error exit delayed from previous errors
:info:extract shell command "tar -z -x -v -f '/opt/local/var/macports/distfiles/pear/Archive_Tar-1.3.7.tgz' - -C '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_pear-Archive_Tar/pear-Archive_Tar/work/Archive_Tar-1.3.7/packagesource' package.xml" returned error 2

It appears there is a rogue dash character in the failing command?

I tried port clean and retry, same result.

Change History (1)

comment:1 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Description: modified (diff)
Owner: changed from macports-tickets@… to pixilla@…
Port: pear-Archive-Tar added

Is the Archive_Tar-1.3.7.tgz file a valid archive?

Can you list contents of Archive_Tar-1.3.7.tgz?

$ tar -tzvf /opt/local/var/macports/distfiles/pear/Archive_Tar-1.3.7.tgz
-rw-r--r--  0 1000   1000     8703 Jan  1  1970 package.xml
-rw-r--r--  0 1000   1000    64332 Jan  1  1970 Archive_Tar-1.3.7/Archive/Tar.php
-rw-r--r--  0 1000   1000    18363 Jan  1  1970 Archive_Tar-1.3.7/docs/Archive_Tar.txt
Note: See TracTickets for help on using tickets.