[Debian GNUstep maintainers] Bug#1094879: gnustep-gui FTCBFS: configures for the build architecture during dh_auto_clean
Helmut Grohne
helmut at subdivi.de
Fri Jan 31 16:47:08 GMT 2025
Source: gnustep-gui
Version: 0.31.1-8
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
gnustep-gui fails to cross build from source, because it configures
during dh_auto_clean without passing --host but passing a cross CC. As a
result this configure invocation and the dh_auto_clean operation fails.
The configuration is also quite useless, because whatever is configured
is subsequently deleted. The configure step can be inhibited by touching
two files. I'm attaching a patch for doing so. Once dh_auto_clean
passes, the rest of the package cross builds just fine. Please consider
applying the patch and talking to upstream to figure out a way of
running make distlcean without invoking configure.
Helmut
-------------- next part --------------
diff --minimal -Nru gnustep-gui-0.31.1/debian/changelog gnustep-gui-0.31.1/debian/changelog
--- gnustep-gui-0.31.1/debian/changelog 2025-01-28 06:36:00.000000000 +0100
+++ gnustep-gui-0.31.1/debian/changelog 2025-01-30 13:24:26.000000000 +0100
@@ -1,3 +1,10 @@
+gnustep-gui (0.31.1-8.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Do not run configure during dh_auto_clean. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Thu, 30 Jan 2025 13:24:26 +0100
+
gnustep-gui (0.31.1-8) unstable; urgency=medium
* Upload to unstable.
diff --minimal -Nru gnustep-gui-0.31.1/debian/rules gnustep-gui-0.31.1/debian/rules
--- gnustep-gui-0.31.1/debian/rules 2025-01-28 05:48:30.000000000 +0100
+++ gnustep-gui-0.31.1/debian/rules 2025-01-30 13:24:26.000000000 +0100
@@ -87,7 +87,14 @@
$(RM) -r debian/tmp$(GNUSTEP_SYSTEM_DOC)/Developer/Gui/ReleaseNotes/0.*
endif
+override_dh_auto_clean-arch:
+ # Otherwise make clean runs configure
+ touch config.make gui.make
+ dh_auto_clean
+
override_dh_auto_clean-indep:
+ # Otherwise make clean runs configure
+ touch config.make gui.make
dh_auto_clean -- doc=yes
# Doc symlinks
More information about the pkg-GNUstep-maintainers
mailing list