On 8/3/22 13:20, Sebastiaan Couwenberg wrote:
2.2.0 FTFBS on some architectures:
https://buildd.debian.org/status/package.php?p=tilemaker
-latomic is required on some architecture, something like the following
may suffice:
diff --git a/debian/rules b/debian/rules
index 6246cf3..de32874 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/pkg-info.mk
TM_VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
-export DEB_CXXFLAGS_MAINT_APPEND=-DTM_VERSION=$(TM_VERSION)
+ifneq (,$(filter $(DEB_BUILD_ARCH),armel mipsel powerpc))
+ export DEB_CXXFLAGS_MAINT_APPEND=-DTM_VERSION=$(TM_VERSION)
-latomic
+else
+ export DEB_CXXFLAGS_MAINT_APPEND=-DTM_VERSION=$(TM_VERSION)
+endif
%:
dh $@ --buildsystem=cmake
I see you pushed a commit with the above, have you tested it on one or
more of the architectures in question (e.g. using qemu or a guest
account on the porterboxes)?
Ideally upstream would fix their buildsystem to add -latomic when
needed, llvm and chromium do this in their CMake builds for example.
Could you provide a patch for their cmake and makefile buildsystems?
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1