Ticket #32745 (closed defect: fixed)
pear-Archive_Tar install failure
| 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@…) (diff)
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
comment:1 Changed 18 months ago by pixilla@…
- Owner changed from macports-tickets@… to pixilla@…
- Port set to pear-Archive-Tar
- Description modified (diff)
comment:2 Changed 18 months 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:4 Changed 17 months ago by pixilla@…
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 17 months ago by erik@…
bash-3.2# which tar /usr/bin/tar bash-3.2# tar --version tar (GNU tar) 1.15.1
Note: See
TracTickets for help on using
tickets.


Is the Archive_Tar-1.3.7.tgz file a valid archive?
Can you list contents of Archive_Tar-1.3.7.tgz?