trace mode fails with sh: /usr/bin/tar: No such file or directory

Ken Cunningham ken.cunningham.webuse at gmail.com
Sun Dec 17 20:18:31 UTC 2017


I haven’t been able to use trace mode to test port installs because of the following error. Am I doing something wrong?



$ sudo port -vst install poco
--->  Fetching distfiles for poco
--->  poco-1.6.0-all.tar.bz2 does not exist in /opt/local/var/macports/distfiles/poco
--->  Attempting to fetch poco-1.6.0-all.tar.bz2 from https://distfiles.macports.org/poco
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3784k  100 3784k    0     0  1949k      0  0:00:01  0:00:01 --:--:-- 1948k
The following file would have been hidden from the build system by trace mode if it existed:
  /var/root/.CFUserTextEncoding
--->  Verifying checksums for poco
--->  Checksumming poco-1.6.0-all.tar.bz2
--->  Extracting poco
--->  Extracting poco-1.6.0-all.tar.bz2
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_poco/poco/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/poco/poco-1.6.0-all.tar.bz2' | /usr/bin/tar -xf - 
sh: /usr/bin/tar: No such file or directory

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: Broken pipe
	Input file = /opt/local/var/macports/distfiles/poco/poco-1.6.0-all.tar.bz2, output file = (stdout)
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_poco/poco/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/poco/poco-1.6.0-all.tar.bz2' | /usr/bin/tar -xf - 
Exit code: 127
Error: Failed to extract poco: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_poco/poco/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port poco failed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20171217/e8ed82e5/attachment-0001.html>


More information about the macports-dev mailing list