On 02/04/14 16:01, Mike Frysinger wrote: > On Wed 02 Apr 2014 13:01:25 Samuli Suominen wrote: >> Problem 1: >> >> https://bugs.gentoo.org/show_bug.cgi?id=472766#c21 >> >> I'm not sure if wildcards are supported by /etc/sandbox.d/ files > they are not. however, path matching is based on prefixes, so there's always > an implicit glob at the end. would be reasonable to change the code to use > fnmatch. > > e.g. SANDBOX_PREDICT=/dev/dri/card probably works
I hope SANDBOX_PREDICT="/dev/dri/card" with "" is OK too? > > however, i think we're relying on sandbox preventing bad code from doing bad > things. there really should be a way for the build to disable the logic in > the first place from kicking in. > -mike You are right I believe this started after a major mesa version bump, so I'd start looking for the culprit in Mesa's OpenCL code, but I have no idea howto go futher with the debugging... yet Meanwhile, =media-gfx/imagemagick-6.8.8.10[opencl] now installs the sandbox.d file, workaround is better here than nothing since this is affecting multiple binaries, packages :/ - Samuli