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

Bug 456984

Summary: sys-cluster/mpich2-1.5 should not DEPEND on sys-apps/hwloc
Product: Gentoo Linux Reporter: Laurence <laurence.baldwin>
Component: [OLD] ServerAssignee: Justin Bronder (RETIRED) <jsbronder>
Status: RESOLVED FIXED    
Severity: normal CC: arm, cluster, laurence.baldwin
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: FEATURES="-strict" emerge mpich2 # works on my Raspberry Pi
patch of the ebuild changes requested.

Description Laurence 2013-02-12 19:19:17 UTC
Created attachment 338718 [details]
FEATURES="-strict" emerge  mpich2 # works on my Raspberry Pi

The mpich2 ebuild has a dependency for sys-apps/hwloc, this in turn pulls in numactl which are not supported and won't build on my ARM system (Raspberry Pi). 

If I removed the sys-apps/hwloc dependency mpich2 builds fine and from my tests works perfectly again ARM system (Raspberry Pi).

Can this (sys-apps/hwloc) dependency be removed for ARM and the keyword for mpich2 changed to ~ARM?

Attached my edited ebuild and patch.
Comment 1 Laurence 2013-02-12 19:22:15 UTC
Created attachment 338720 [details, diff]
patch of the ebuild changes requested.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-13 19:24:29 UTC
Comment on attachment 338718 [details]
FEATURES="-strict" emerge  mpich2 # works on my Raspberry Pi

--- mpich2-1.5.ebuild   2013-01-07 04:06:58.114790244 +0100
+++ -   2013-02-13 20:24:20.511390108 +0100
@@ -20,7 +20,6 @@
 
 COMMON_DEPEND="
        dev-libs/libaio
-       sys-apps/hwloc
        romio? ( net-fs/nfs-utils )"
 
 DEPEND="${COMMON_DEPEND}
Comment 3 Justin Bronder (RETIRED) gentoo-dev 2013-02-14 15:14:18 UTC
@arm:  How would you guys like to handle this?  mpich2 does bundle sys-apps/hwloc which is probably why things are working for Laurence when the DEPEND is removed.
Comment 4 Justin Bronder (RETIRED) gentoo-dev 2015-04-20 16:44:49 UTC
=sys-apps/hwloc-1.10.0-r1 is keyworded on arm.