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

Bug 525440

Summary: sci-physics/clhep-2.2.0.1: missing headers cause geant compilation failure
Product: Gentoo Linux Reporter: Guilherme Amadio <amadio>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: amadio, s.rohmen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Guilherme Amadio gentoo-dev 2014-10-14 20:47:47 UTC
CLHEP doesn't install Utility/atomic_int.h and Utility/thread_local.h, but these files are needed by geant, which then fails to compile. The patch below resolves the issue. Please also bump to version 2.2.0.3, as this problem is fixed in that version.

--- CLHEP/Utility/Utility/CMakeLists.txt.old    2014-10-14 17:32:34.375091541 -0300
+++ CLHEP/Utility/Utility/CMakeLists.txt        2014-10-14 17:15:04.192127902 -0300
@@ -1,7 +1,9 @@
 
-set( pkginclude_HEADERS keywords.h
+set( pkginclude_HEADERS atomic_int.h
+                       keywords.h
                        memory.h
                        noncopyable.h
+                       thread_local.h
                        type_traits.h )
 
 # notice that defs.h is not referenced here


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-15 08:43:45 UTC

*** This bug has been marked as a duplicate of bug 525272 ***
Comment 2 Alan Smithee 2015-01-17 17:18:29 UTC
according the the changelog of CLHEP /1/ the problem was fixed in version 2.2.0.2. I filed a version bump with ebuild in another bug report (#536872) to version 2.2.0.4.

/1/ http://git.cern.ch/pubweb/CLHEP.git/blob/refs/heads/CLHEP_2_200_branch:/ChangeLog