Bug#660259: mpich2: FTBFS: [sparc] missing files

Samuel Thibault sthibault at debian.org
Sun May 6 16:42:34 UTC 2012


tags 660259 + patch
thanks

Hello,

Picca Frédéric-Emmanuel, le Fri 17 Feb 2012 20:44:45 +0100, a écrit :
> dh_install: libmpich2-3 missing files (usr/lib/libmpich.so.3*), aborting

It fails to link due to missing references to some OPA primitives, and
such. That does not happen on other arches just because of the atomic
pritimive support discrepancy. Actually mpich now has atomic primitive
support, so the attached patch fixes the build, please upload it so that
mpich can migrate to testing.

Samuel
-------------- next part --------------
--- debian/rules.orig	2012-05-06 18:39:28.603488141 +0200
+++ debian/rules	2012-05-06 18:39:29.571462949 +0200
@@ -32,7 +32,7 @@
 
 # On sparc and sh4, OPA isn't available, so we need to fallback to
 # emulation mode. There's a performance penalty, unfortunately.
-ifneq (,$(findstring $(DEB_HOST_GNU_CPU),sparc sh4))
+ifneq (,$(findstring $(DEB_HOST_GNU_CPU),sh4))
 	        DEB_CONFIGURE_EXTRA_FLAGS += --with-atomic-primitives=no
 endif
 


More information about the debian-science-maintainers mailing list