Edd Barrett <[email protected]> wrote:

> Thanks to naddy for sending me a build log so I could figure this out.
> My window manager (awesome) was updated to include bash as a RUN_DEPEND.
> When I updated my system, swi-prolog failed to package.

As Edd has further figured out, this happens when bash is installed
_and_ USE_SYSTRACE is enabled.

If swi-prolog's configure detects bash, it will run certain shell
scripts with bash instead of sh.  This is useless, but it doesn't
hurt either.

The actual problem is that bash uses faccessat(2) and that systrace
doesn't cope with the *at() syscalls yet.  This is a deficiency in
the systrace framework, not a problem in any port.  It will also
affect all ports that run bash, including those that really require
it.  We can force swi-prolog to never run bash, but that doesn't
solve the general case.

People who want to build with USE_SYSTRACE enabled need to make it
handle *at().  Talk to matthew@.

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to