Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333423 - dev-lang/ifc will cause sandbox violation when tested for
Summary: dev-lang/ifc will cause sandbox violation when tested for
Status: RESOLVED DUPLICATE of bug 332657
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 336077 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-19 10:31 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-10-23 12:32 UTC (History)
2 users (show)

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


Attachments
Build log (cmake-2.8.1-r2:20100819-101937.log,51.59 KB, text/plain)
2010-08-19 10:31 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***