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

Bug 416695

Summary: dev-util/cmake ebuilds up to 2.8.8-r2 fail with access violation if intel compilers installed (with workaround)
Product: Gentoo Linux Reporter: John (EBo) David <ebo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info

Description John (EBo) David 2012-05-20 09:03:31 UTC
dev-util/cmake searches for, and apparently preferentially binds to, the intel compiler suite if it is installed, but the problems go away if I temorarily remove access to them by moving /opt/intel.  After that, cmake builds correctly.

For reference, here is a snippet of the error:

-- Build files have been written to: /var/tmp/portage/dev-util/cmake-2.8.8-r2/work/cmake-2.8.8_build
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------

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: /usr/local/share/macrovision/storage
A: /usr/local/share/macrovision/storage
R: /usr/local/share/macrovision/storage
C: /opt/intel/composerxe-2011.9.293/bin/intel64/ifort -c /var/tmp/portage/dev-util/cmake-2.8.8-r2/work/cmake-2.8.8_build/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTryCompileExec2446328104.dir/testFortranCompiler.f.o 
--------------------------------------------------------------------------------

>>> Failed to emerge dev-util/cmake-2.8.8-r2, Log file:
Comment 1 John (EBo) David 2012-05-20 09:04:07 UTC
Created attachment 312329 [details]
emerge info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-21 03:16:25 UTC

*** This bug has been marked as a duplicate of bug 332657 ***