Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 333423

Summary: dev-lang/ifc will cause sandbox violation when tested for
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, mmokrejs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-19 10:31:29 UTC
It tries to create directories on the live filesystem :|
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-19 10:31:39 UTC
Created attachment 243549 [details]
Build log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-19 11:11:54 UTC
Uhm no Justin, it's ifc the problem! When ifort is executed, it tries to write to /usr/local. cmake only exercise the problem, but it's for ifc itself!
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-08-19 11:25:56 UTC
Sorry, Diego. Didn't saw that. Nevertheless I think it is a buildsystem problem, not supporting ifort correctly.

@kde
What do you think?
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2010-08-20 08:48:16 UTC
Buildsystem executes whatever iforth ctest files ask for, and they ask for creation stuff in /usr/local.

You might patch it to prefix everything with ${TESTDIR} value there, and in ebuild later you can set it to ${T}.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-09-27 06:48:11 UTC
I am hitting this Problem also with autotools:


F: mkdir
S: deny
P: /usr/local/share/macrovision
A: /usr/local/share/macrovision
R: /usr/local/share/macrovision
C: ifort -o conftest conftest.f 
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2010-09-27 07:03:37 UTC
I found the source of the problem, it only happens if the compiler is install without a valid license file on the system:

ACCESS DENIED  mkdir:        /usr/local/share/macrovision

Error: A license for FCompL is not available (-76,61026,2).

License file(s) used were (in this order):
    1.  Trusted Storage
ACCESS DENIED  mkdir:        /usr/local/share/macrovision
**  2.  /opt/intel/Compiler/11.1/072/Licenses
**  3.  /var/tmp/portage/sys-cluster/mpich2-1.3_rc1/homedir/intel/licenses
**  4.  /opt/intel/licenses/*.lic
**  5.  /Users/Shared/Library/Application Support/Intel/Licenses
**  6.  /opt/intel/Compiler/11.1/072/bin/intel64/*.lic

Please visit http://software.intel.com/sites/support/ if you require technical assistance.

ifort: error #10052: could not checkout FLEXlm license
configure:7551: $? = 1
configure:7562: ifort -c  conftest.f 1>&5
ACCESS DENIED  mkdir:        /usr/local/share/macrovision


I don't think, that we can do much against it.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-10 16:45:16 UTC

*** This bug has been marked as a duplicate of bug 332657 ***
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2010-10-23 12:32:57 UTC
*** Bug 336077 has been marked as a duplicate of this bug. ***