Source: xxhash Version: 0.8.3-2 Severity: important Justification: architecture cross bootstrap regression Tags: patch User: [email protected] Usertags: ftcbfs User: [email protected] Usertags: rebootstrap
xxhash fails to cross build from source, because make install examines $(CC) -dumpmachine for deciding what needs to be linked and then attempts to link build architecture objects. Exporting CC for make install (not done by dh_auto_install by default) fixes this. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru xxhash-0.8.3/debian/changelog xxhash-0.8.3/debian/changelog --- xxhash-0.8.3/debian/changelog 2025-01-05 00:06:24.000000000 +0100 +++ xxhash-0.8.3/debian/changelog 2025-01-24 17:54:47.000000000 +0100 @@ -1,3 +1,10 @@ +xxhash (0.8.3-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Also export CC for make install. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Fri, 24 Jan 2025 17:54:47 +0100 + xxhash (0.8.3-2) unstable; urgency=medium * Fix FTBFS by adding specific symbols for i386 and amd64. diff --minimal -Nru xxhash-0.8.3/debian/rules xxhash-0.8.3/debian/rules --- xxhash-0.8.3/debian/rules 2025-01-05 00:06:24.000000000 +0100 +++ xxhash-0.8.3/debian/rules 2025-01-24 17:54:45.000000000 +0100 @@ -4,6 +4,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/buildtools.mk +export CC # used in make install ifneq (,$(filter $(DEB_HOST_ARCH_CPU),i386 amd64)) export LIBXXH_DISPATCH=1

