[Debian-med-packaging] Bug#977817: libxdf successfully cross builds a broken package

Helmut Grohne helmut at subdivi.de
Sun Dec 20 22:08:00 GMT 2020


Source: libxdf
Version: 0.99.6+dfsg-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libxdf successfully cross builds a broken package, because it confuses
the terms build and host. Please refer to man dpkg-architecture for
details. It also confuses the gnu type and the multiarch triplet.
They're equal almost everywhere but on i386. Please consider applying
the attached patch to fix both.

Helmut
-------------- next part --------------
diff --minimal -Nru libxdf-0.99.6+dfsg/debian/changelog libxdf-0.99.6+dfsg/debian/changelog
--- libxdf-0.99.6+dfsg/debian/changelog	2020-12-18 21:32:48.000000000 +0100
+++ libxdf-0.99.6+dfsg/debian/changelog	2020-12-20 23:04:31.000000000 +0100
@@ -1,3 +1,10 @@
+libxdf (0.99.6+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Fix build/host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 20 Dec 2020 23:04:31 +0100
+
 libxdf (0.99.6+dfsg-1) unstable; urgency=medium
 
   * New upstream version
diff --minimal -Nru libxdf-0.99.6+dfsg/debian/rules libxdf-0.99.6+dfsg/debian/rules
--- libxdf-0.99.6+dfsg/debian/rules	2020-12-18 21:32:48.000000000 +0100
+++ libxdf-0.99.6+dfsg/debian/rules	2020-12-20 23:04:30.000000000 +0100
@@ -12,7 +12,7 @@
 		    --devunversioned \
 		    --exclude-la \
 		    --movedev debian/tmp/usr/include usr \
-		    --movedev debian/tmp/usr/share/libxdfConfig.cmake usr/lib/$(DEB_BUILD_GNU_TYPE)/cmake \
+		    --movedev debian/tmp/usr/share/libxdfConfig.cmake usr/lib/$(DEB_HOST_MULTIARCH)/cmake \
 		    debian/tmp/usr/lib/*/*.so
 	# No idea whether this is needed in user installations - but the name sounds strange
 	find debian -name libxdfConfig-none.cmake -delete
\ No newline at end of file


More information about the Debian-med-packaging mailing list