[MacPorts] #55827: sandbox-exec: execvp() of 'sh' failed: No such file or directory (was: Installing gnuplot, cvs, ghostscript, ..... each fails with the same error.)

MacPorts noreply at macports.org
Thu Feb 15 17:49:18 UTC 2018


#55827: sandbox-exec: execvp() of 'sh' failed: No such file or directory
----------------------+------------------------
  Reporter:  orcioni  |      Owner:
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:
Resolution:           |   Keywords:  highsierra
      Port:           |
----------------------+------------------------
Changes (by ryandesign):

 * keywords:   => highsierra
 * component:  ports => base


Old description:

> Each of these port fails to install with the same error. I have a fresh
> installation of HighSierra MacPort, no migration from old ports.
>
> Below an extract from
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gnuplot/gnuplot/main.log
>
> ======================
>
> :info:extract sandbox-exec: execvp() of 'sh' failed: No such file or
> directory
>
> :info:extract Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gnuplot/gnuplot/work"
> && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/gnuplot/5.2.2/gnuplot-5.2.2.tar.gz' |
> /usr/bin/tar -xf -
>
> :info:extract Exit code: 71
>

> ======================
>
> If I execute from prompt the above command, it succeeded.
> Same behavior, with different file names, for the other ports in subject.
>
> I hope someone can help me,
>
> many greetings
>
> sim

New description:

 Each of these port fails to install with the same error. I have a fresh
 installation of HighSierra MacPort, no migration from old ports.

 Below an extract from
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gnuplot/gnuplot/main.log

 {{{
 :info:extract sandbox-exec: execvp() of 'sh' failed: No such file or
 directory
 :info:extract Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gnuplot/gnuplot/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/gnuplot/5.2.2/gnuplot-5.2.2.tar.gz' |
 /usr/bin/tar -xf -
 :info:extract Exit code: 71
 }}}

 If I execute from prompt the above command, it succeeded.
 Same behavior, with different file names, for the other ports in subject.

 I hope someone can help me,

 many greetings

 sim

--

Comment:

 Are you using trace mode? If so, maybe it's a similar problem to #55575;
 the workaround is not to use trace mode.

 If you're not using trace mode... Has it ever worked? If so, what changed?

--
Ticket URL: <https://trac.macports.org/ticket/55827#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list