Bug#970194: pmix FTBFS on armel/mipsel: No atomic primitives available

2020-09-12 Thread John Paul Adrian Glaubitz
Control: retitle -1 pmix FTBFS on armel/m68k/mipsel/sh4: No atomic primitives 
available

Hi Adrian!

This issue affects m68k and sh4 as well, so the architecture list should 
include them:

+ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel sh4))
+  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic 
-Wl,--as-needed
+endif

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#970194: pmix FTBFS on armel/mipsel: No atomic primitives available

2020-09-12 Thread Adrian Bunk
Source: pmix
Version: 3.2.0~rc1-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/package.php?p=pmix=sid

...
configure: error: No atomic primitives available for arm-unknown-linux-gnueabi


Fix:

--- debian/rules.old2020-09-12 18:52:20.106150933 +
+++ debian/rules2020-09-12 18:52:31.126056610 +
@@ -2,6 +2,10 @@
 
 export DH_VERBOSE=1
 
+ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel))
+  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic 
-Wl,--as-needed
+endif
+
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk