Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456984 - sys-cluster/mpich2-1.5 should not DEPEND on sys-apps/hwloc
Summary: sys-cluster/mpich2-1.5 should not DEPEND on sys-apps/hwloc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Justin Bronder (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-02-12 19:19 UTC by Laurence
Modified: 2015-04-20 16:44 UTC (History)
3 users (show)

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


Attachments
FEATURES="-strict" emerge mpich2 # works on my Raspberry Pi (mpich2-1.5.ebuild,2.59 KB, text/plain)
2013-02-12 19:19 UTC, Laurence
Details
patch of the ebuild changes requested. (mpich2-1.5-ebuild-RPi.patch,285 bytes, patch)
2013-02-12 19:22 UTC, Laurence
Details | Diff

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