Bug#888733: hyantesite FTBFS on most architectures: test failures
Steve Langasek
steve.langasek at canonical.com
Sun Apr 8 02:08:32 BST 2018
Package: hyantesite
Version: 1.3.0-2
Followup-For: Bug #888733
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch
Dear maintainers,
Looking into this build failure (which is also reproducible in Ubuntu), I
see that it's a consequence of the packaging changes in -2 causing the
upstream test suite to be run at build for the first time.
If I run dh_auto_test in the previous version of the package, it fails in
the same way. Thus this is not a regression in the software on these
architectures, only a regression in buildability because the build now
detects that the package is broken.
Attached is a patch that would allow ignoring the test failures on
architectures other than amd64 and armel in the near term, until they are
fixed upstream.
An alternative solution would be to request removal of the broken binaries
from the archive on other architectures, depending on how serious this
breakage is.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
diff -Nru hyantesite-1.3.0/debian/rules hyantesite-1.3.0/debian/rules
--- hyantesite-1.3.0/debian/rules 2018-01-25 03:49:37.000000000 -0800
+++ hyantesite-1.3.0/debian/rules 2018-04-07 17:22:25.000000000 -0700
@@ -3,8 +3,19 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq (,$(filter amd64 armel,$(DEB_HOST_ARCH)))
+ALLOW_FAILING_TESTS := true
+else
+ALLOW_FAILING_TESTS := false
+endif
+
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --enable-doc
+
+override_dh_auto_test:
+ dh_auto_test || $(ALLOW_FAILING_TESTS)
More information about the debian-science-maintainers
mailing list