Source: xdiskusage
Version: 1.60-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

xdiskusage fails to cross build from source, because it fails to
configure. Looking closer, it fails configuring during make distclean
because it passes host compiler flags to a build compiler and that makes
the compiler unhappy. Sure enough, running configure during make
distclean is a bad idea. Consider applying the attached patch to fix
this.

Helmut
diff --minimal -Nru xdiskusage-1.60/debian/changelog 
xdiskusage-1.60/debian/changelog
--- xdiskusage-1.60/debian/changelog    2023-08-29 18:15:33.000000000 +0200
+++ xdiskusage-1.60/debian/changelog    2023-12-30 19:17:38.000000000 +0100
@@ -1,3 +1,10 @@
+xdiskusage (1.60-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Do not run configure during make distclean. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 30 Dec 2023 19:17:38 +0100
+
 xdiskusage (1.60-2) unstable; urgency=medium
 
   * debian/docs: Dropped, we use debian/xdiskusage.docs.
diff --minimal -Nru xdiskusage-1.60/debian/rules xdiskusage-1.60/debian/rules
--- xdiskusage-1.60/debian/rules        2023-08-29 18:12:22.000000000 +0200
+++ xdiskusage-1.60/debian/rules        2023-12-30 19:17:20.000000000 +0100
@@ -21,6 +21,9 @@
 %:
        dh $@
 
+execute_before_dh_auto_clean:
+       touch makeinclude
+
 override_dh_auto_build:
        # Explicitly pass flags
        dh_auto_build -- \

Reply via email to