Opened 7 years ago

Last modified 7 years ago

#55827 new defect

sandbox-exec: execvp() of 'sh' failed: No such file or directory — at Version 1

Reported by: orcioni (Simone Orcioni) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: highsierra Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

Changed 7 years ago by orcioni (Simone Orcioni)

Attachment: main.log added

gnuplot main.log

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)
Keywords: highsierra added
Summary: Installing gnuplot, cvs, ghostscript, ..... each fails with the same error.sandbox-exec: execvp() of 'sh' failed: No such file or directory

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?

Note: See TracTickets for help on using tickets.