Source: vmemcache Version: 0.8.1-1 Severity: serious Tags: ftbfs patch https://buildd.debian.org/status/package.php?p=vmemcache&suite=sid
... /usr/bin/ld: ../src/libvmemcache.so.0: undefined reference to `__atomic_fetch_add_8' ... Fix/Workaround: --- debian/rules.old 2020-10-26 17:50:08.062846897 +0000 +++ debian/rules 2020-10-26 17:50:29.654659998 +0000 @@ -3,7 +3,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -export DEB_LDFLAGS_MAINT_APPEND = -latomic + +ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel powerpc)) + export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed +endif %: