Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 826774 - sci-libs/nlopt-2.6.2-r1 - sandbox violation: mkdir /var/lib/portage/home/.oracle_jre_usage
Summary: sci-libs/nlopt-2.6.2-r1 - sandbox violation: mkdir /var/lib/portage/home/.ora...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-23 09:38 UTC by grixfosforito
Modified: 2022-05-18 09:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grixfosforito 2021-11-23 09:38:00 UTC
When trying to install sci-libs/nlopt-2.6.2-r1, I get a sandbox access violation with the following errors:

-- Performing Test HAVE_THREAD_LOCAL_STORAGE - Failed
 * ACCESS DENIED:  mkdir:        /var/lib/portage/home/.oracle_jre_usage
 * ACCESS DENIED:  mkdir:        /var/lib/portage/home/.oracle_jre_usage


and the following summary:


 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/tmp/portage/sci-libs/nlopt-2.6.2-r1/temp/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: mkdir
S: deny
P: /var/lib/portage/home/.oracle_jre_usage
A: /var/lib/portage/home/.oracle_jre_usage
R: /var/lib/portage/home/.oracle_jre_usage
C: /usr/local/MATLAB/R2019a/sys/java/jre/glnxa64/jre/bin/java -cp /usr/local/MATLAB/R2019a/java/config/activation/pathlist.jar com/mathworks/activationclient/ActivationApplication -root /usr/local/MATLAB/R2019a -fromMatlab -isStandalone 

F: mkdir
S: deny
P: /var/lib/portage/home/.oracle_jre_usage
A: /var/lib/portage/home/.oracle_jre_usage
R: /var/lib/portage/home/.oracle_jre_usage
C: /usr/local/MATLAB/R2019a/sys/java/jre/glnxa64/jre/bin/java -cp /usr/local/MATLAB/R2019a/java/config/activation/pathlist.jar com/mathworks/activationclient/ActivationApplication -root /usr/local/MATLAB/R2019a -fromMatlab -isStandalone 
 * --------------------------------------------------------------------------------


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-05-18 01:36:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b42d8d1364f977dbfceb02de0784c3b0e9e2df8d

commit b42d8d1364f977dbfceb02de0784c3b0e9e2df8d
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2022-05-18 01:34:02 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2022-05-18 01:35:24 +0000

    sci-libs/nlopt: new upstream v2.7.1.
    
      * Update HOMEPAGE.
      * Disable MATLAB detection in src_configure().
      * No more static libs.
    
    Closes: https://bugs.gentoo.org/661952
    Bug: https://bugs.gentoo.org/826774
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-libs/nlopt/Manifest           |  1 +
 sci-libs/nlopt/nlopt-2.7.1.ebuild | 97 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)
Comment 2 Michael Orlitzky gentoo-dev 2022-05-18 01:38:44 UTC
Can you try the nlopt-2.7.1 that I just added to the tree? I've disabled the on-by-default MATLAB detection that I think is causing your issue, but without MATLAB, I have no way to be sure.
Comment 3 grixfosforito 2022-05-18 09:36:03 UTC
Version 2.7.1 fixes the issue.

Thanks!