Source: pmix
Version: 3.2.0~rc1-1
Severity: serious
Tags: ftbfs patch

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

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


Fix:

--- debian/rules.old    2020-09-12 18:52:20.106150933 +0000
+++ debian/rules        2020-09-12 18:52:31.126056610 +0000
@@ -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
 

Reply via email to