It tries to create directories on the live filesystem :|
Created attachment 243549 [details] Build log
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!
Sorry, Diego. Didn't saw that. Nevertheless I think it is a buildsystem problem, not supporting ifort correctly. @kde What do you think?
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}.
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
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.
*** This bug has been marked as a duplicate of bug 332657 ***
*** Bug 336077 has been marked as a duplicate of this bug. ***