Assuming setting --disable-tests will disable the upstream tests in the
build, the following patch might resolve the package build failures:
diff -Nru mlmmj-1.5.0/debian/rules mlmmj-1.5.0/debian/rules
--- mlmmj-1.5.0/debian/rules 2025-04-14 23:57:09.000000000 -0400
+++ mlmmj-1.5.0/debian/rules 2025-04-18 16:04:03.000000000 -0400
@@ -10,6 +10,11 @@
EXTRA_CONF_OPTS += --disable-tests
endif
+# Avoid build tests on CPU architectures that tests fail
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), amd64 mips64el mips64el sh4))
+ EXTRA_CONF_OPTS += --disable-tests
+endif
A 'debdiff' containing this is attached.
Somewhere I have some instructions on setting up cowbuilder with qemu to
emulate an architecture, I'm going to see if I can build a cowbuilder
instance for arm64 and see if I can do a build that avoids running the
tests.
-- Chris
--
Chris Knadle
chris.kna...@coredump.us
diff -Nru mlmmj-1.5.0/debian/changelog mlmmj-1.5.0/debian/changelog
--- mlmmj-1.5.0/debian/changelog 2025-04-15 18:00:12.000000000 -0400
+++ mlmmj-1.5.0/debian/changelog 2025-04-18 16:04:03.000000000 -0400
@@ -1,3 +1,10 @@
+mlmmj (1.5.0-2) UNRELEASED; urgency=medium
+
+ * debian/rules: Avoid build tests on architecture where tests fail
+ (Closes: #1103308)
+
+ -- Christopher Knadle <chris.kna...@coredump.us> Fri, 18 Apr 2025 16:04:03 -0400
+
mlmmj (1.5.0-1) unstable; urgency=medium
[ Michael Jeanson ]
diff -Nru mlmmj-1.5.0/debian/rules mlmmj-1.5.0/debian/rules
--- mlmmj-1.5.0/debian/rules 2025-04-14 23:57:09.000000000 -0400
+++ mlmmj-1.5.0/debian/rules 2025-04-18 16:04:03.000000000 -0400
@@ -10,6 +10,11 @@
EXTRA_CONF_OPTS += --disable-tests
endif
+# Avoid build tests on CPU architectures that tests fail
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU), amd64 mips64el mips64el sh4))
+ EXTRA_CONF_OPTS += --disable-tests
+endif
+
%:
dh $@