[MacPorts] #55827: sandbox-exec: execvp() of 'sh' failed: No such file or directory

MacPorts noreply at macports.org
Tue Feb 20 18:37:11 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:           |

Comment (by neverpanic):

 The messages you provided are all from `kernel`. There should be messages
 from `sandboxd` that explain the sandbox violation. You should also see
 these messages when running the MacPorts commands. If you do not see any
 sandboxd messages it's probably unrelated to the sandbox (although I
 really don't know what else would be causing this).

 The warnings printed by selfupdate may just be another instance of the
 same problem, since that uses `system`, which internally uses `sandbox-
 exec`. It's interesting to see that you were able to install precompiled
 packages, because I'd assume those use the same mechanism for extraction,
 but I didn't verify that (or they may have a different sandbox profile).

 So: Please check Console.app for messages from `sandboxd`.

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

More information about the macports-tickets mailing list