[MacPorts] #55575: port -vst install fails with "/usr/bin/tar: No such file or directory"

MacPorts noreply at macports.org
Fri Dec 22 19:57:18 UTC 2017


#55575: port -vst install fails with "/usr/bin/tar: No such file or directory"
----------------------+--------------------
 Reporter:  janstary  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  base      |    Version:  2.4.99
 Keywords:            |       Port:
----------------------+--------------------
 This is 2.4.99 on MacOS 13.10.2
 Trying to install a port with `sudo port -vst install` repeatably fails.
 For example, `sudo port -vst install pstree` will fail, the log saying

 {{{
 :info:extract Executing:  cd "/opt/local/var/macports/build
 /_opt_mports_macports-ports_sysutils_pstree/pstree/work/pstree-2.39" &&
 /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/pstree/pstree-2.39.tar.gz' |
 /usr/bin/tar -xf -
 :debug:extract system:  cd "/opt/local/var/macports/build
 /_opt_mports_macports-ports_sysutils_pstree/pstree/work/pstree-2.39" &&
 /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/pstree/pstree-2.39.tar.gz' |
 /usr/bin/tar -xf -
 :info:extract sh: /usr/bin/tar: No such file or directory
 :info:extract gzip: error writing to output: Broken pipe
 :info:extract gzip:
 /opt/local/var/macports/distfiles/pstree/pstree-2.39.tar.gz: uncompress
 failed
 :info:extract Command failed:  cd "/opt/local/var/macports/build
 /_opt_mports_macports-ports_sysutils_pstree/pstree/work/pstree-2.39" &&
 /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/pstree/pstree-2.39.tar.gz' |
 /usr/bin/tar -xf -
 :info:extract Exit code: 127
 }}}

 The same happens with `sudpo port -t intall`, with any other port.
 On the other hand, `sudo port -vs install pstree` will work,
 so I suspect the `-t` to be the culprit.

--
Ticket URL: <https://trac.macports.org/ticket/55575>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list