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

Bug 512530

Summary: =dev-util/cmake-2.8.12.2-r1 with =dev-lang/ekopath-5.0.1_pre20131115 - sandbox violation in /usr/lib/crt1.o (open_wr) by /opt/ekopath/lib/5.0.1/x8664/ldfe
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bertrand, mgorny, sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
sandbox.log
emerge --info

Description Bertrand Jacquin 2014-06-05 19:14:05 UTC
When =dev-lang/ekopath-5.0.1_pre20131115 is installed and then trying to build cmake, it result to many sandbox violation.

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe -fomit-frame-pointer
C++             -march=native -O2 -pipe -fomit-frame-pointer
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-util/cmake-2.8.12.2-r1/work/cmake-2.8.12.2_build
>>> Source configured.
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-24945.log"
 *

Full log attached (portage and sandbox), and emerge --info

Reproducible: Always
Comment 1 Bertrand Jacquin 2014-06-05 19:14:27 UTC
Created attachment 378332 [details]
build.log
Comment 2 Bertrand Jacquin 2014-06-05 19:14:40 UTC
Created attachment 378334 [details]
sandbox.log
Comment 3 Bertrand Jacquin 2014-06-05 19:14:50 UTC
Created attachment 378336 [details]
emerge --info
Comment 4 Christoph Junghans (RETIRED) gentoo-dev 2014-07-13 20:05:24 UTC
Something similar happens if dev-lang/ifc is installed.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-04-22 13:01:09 UTC
ekopath is fixed not to break sandbox. Now, what remains is CMake trying hard to find a random Fortran compiler.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2015-04-22 17:01:38 UTC
(In reply to Michał Górny from comment #5)
> ekopath is fixed not to break sandbox. Now, what remains is CMake trying
> hard to find a random Fortran compiler.

Please elaborate. That's not a particularly useful piece of information.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-04-22 17:14:39 UTC
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - /opt/ekopath/bin/pathf95

I'm not convinced that Gentoo packages should try to use non-GNU compilers implicitly, and what are the implications of that.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-04-22 17:19:45 UTC
AFAIK it's only checking out the environment as part of build. Anything actually using fortran and cmake-utils.eclass gets tc-getFC automatically.