Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525440 - sci-physics/clhep-2.2.0.1: missing headers cause geant compilation failure
Summary: sci-physics/clhep-2.2.0.1: missing headers cause geant compilation failure
Status: RESOLVED DUPLICATE of bug 525272
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 20:47 UTC by Guilherme Amadio
Modified: 2015-01-17 17:18 UTC (History)
2 users (show)

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


Attachments

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