Source: thrift Version: 0.13.0-4 Severity: serious Tags: ftbfs patch Control: affects -1 src:gnuradio
https://buildd.debian.org/status/logs.php?pkg=thrift&ver=0.13.0-4 ... dpkg-shlibdeps: warning: symbol __atomic_load_8 used by debian/libthrift-0.13.0/usr/lib/mipsel-linux-gnu/libthrift-0.13.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol __atomic_store_8 used by debian/libthrift-0.13.0/usr/lib/mipsel-linux-gnu/libthrift-0.13.0.so found in none of the libraries ... Fix/workaround: --- debian/rules.old 2020-10-26 08:49:09.892500470 +0000 +++ debian/rules 2020-10-26 08:49:55.572083074 +0000 @@ -9,6 +9,10 @@ export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions +ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel)) + export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed +endif + # for Go install export DH_GOPKG=thrift export XDG_CACHE_HOME=$(CURDIR)/go-cache/