This is a multi-part MIME message sent by reportbug.
Package: tpm2-abrmd
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past) User:
ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
X-Debbugs-Cc:
michael.hudson@ubuntu.com
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* Disable testsuite on armhf for now (the mocking the test harness
does fails when _FILE_BITS == 64).
This is very similar to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067418
Thanks for considering the patch.
-- System Information:
Debian Release: trixie/sid
APT prefers mantic-updates
APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic'), (100, 'mantic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-25-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ.UTF-8:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru tpm2-abrmd-3.0.0/debian/control tpm2-abrmd-3.0.0/debian/control
diff -Nru tpm2-abrmd-3.0.0/debian/rules tpm2-abrmd-3.0.0/debian/rules
--- tpm2-abrmd-3.0.0/debian/rules 2022-12-12 12:42:50.000000000 +1300
+++ tpm2-abrmd-3.0.0/debian/rules 2024-03-25 20:21:21.000000000 +1300
@@ -4,9 +4,14 @@
export DEB_CFLAGS_MAINT_APPEND = -Wall
# Some variables:
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+ifeq ($(DEB_HOST_ARCH),armhf)
+DEB_BUILD_OPTIONS+=nocheck
+endif
+
%:
dh $@ --exclude=.la --with autoreconf
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)