Opened 12 years ago

Last modified 12 years ago

#32745 closed defect

pear-Archive_Tar install failure — at Version 7

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 (7)

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

comment:2 Changed 12 years ago by erik@…

Yes:

bash-3.2# pwd
/opt/local/var/macports/distfiles/pear
bash-3.2# tar -tzvf /opt/local/var/macports/distfiles/pear/Archive_Tar-1.3.7.tgz
-rw-r--r-- 1000/1000      8703 1970-01-01 10:13:08 package.xml
-rw-r--r-- 1000/1000     64332 1970-01-01 10:13:08 Archive_Tar-1.3.7/Archive/Tar.php
-rw-r--r-- 1000/1000     18363 1970-01-01 10:13:08 Archive_Tar-1.3.7/docs/Archive_Tar.txt

comment:3 Changed 12 years ago by erik@…

bump

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

erik: please provide the location and version of your tar command.

$ which tar
/usr/bin/tar
$ tar --version
bsdtar 2.6.2 - libarchive 2.6.2

comment:5 Changed 12 years ago by erik@…

bash-3.2# which tar
/usr/bin/tar
bash-3.2# tar --version
tar (GNU tar) 1.15.1

comment:6 Changed 12 years ago by erik@…

bump

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

Description: modified (diff)
Summary: pear-Archive-Tar install failurepear-Archive_Tar install failure
Note: See TracTickets for help on using tickets.