sci-libs/nlopt has an automagic dependency on Matlab. When the configure script detects Matlab, it attempts to start it in order to get information from it. Matlab requires R/W access to files outside the sandbox, causing violation. Workaround: emerge with EXTRA_ECONF='--without-matlab' Gentoo could either decide to not support Matlab and disable the automagic dependency, or provide a sandbox exception and an einfo notice to rebuild sci-libs/nlopt when (un)installing Matlab. I am in favor of the first option since automatically running a massive proprietary package outside a sandbox doesn't sound very wise. Unless /dev/ptmx (see sandbox log below) is really the only thing accessed. Reproducible: Always Steps to Reproduce: 1. emerge sci-libs/nlopt Actual Results: Sandbox violation Expected Results: sci-libs/nlopt successfuly installed Sandbox log: ============ VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /dev/ptmx A: /dev/ptmx R: /dev/ptmx C: /usr/local/matlab/bin/glnxa64/MATLAB -nodisplay -r path;quit -nojvm
+ 01 Apr 2012; Justin Lecher <jlec@gentoo.org> nlopt-2.2.4.ebuild, + metadata.xml: + Disable build of matlab plugin per default, #410211 +