I filed this upstream bug
https://github.com/gluster/glusterfs/issues/2979 and am using this
patch in Ubuntu:

diff --git a/debian/rules b/debian/rules
index 0e28ea8e..7bfab4c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,12 @@ include /usr/share/dpkg/pkg-info.mk

 export DEB_BUILD_MAINT_OPTIONS = hardening=+all

+# Fix build on these arches (LP: #1951408) (#1000215)
+ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf mipsel))
+DEB_CFLAGS_MAINT_APPEND = -DUATOMIC_NO_LINK_ERROR
+export DEB_CFLAGS_MAINT_APPEND
+endif
+
 DEB_CONFIGURE_EXTRA_FLAGS := \
        --disable-linux-io_uring --enable-firewalld
--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)


We donĀ“t built armel or mipsel in Ubuntu, but I included them in the
hopes of being able to keep this package a sync.

Reply via email to