[From nobody Mon Jun 29 09:41:07 2026
Received: (at submit) by bugs.debian.org; 31 Jan 2025 21:20:53 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.6 required=4.0 tests=BAYES_00, DATE_IN_PAST_03_06, 
 DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF,
 SPF_HELO_NONE, 
 SPF_NONE,WORD_WITHOUT_VOWELS autolearn=no autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 70; spammy,
 0. spammytokens: hammytokens:0.000-+--grohne, 0.000-+--Grohne,
 0.000-+--dh_auto_clean, 0.000-+--H*F:U*helmut,
 0.000-+--H*F:D*subdivi.de
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:52318)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;helmut@subdivi.de&gt;) id 1tdyRX-0029UN-GO
 for submit@bugs.debian.org; Fri, 31 Jan 2025 21:20:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k12.isilmar-4; t=1738358448;
 bh=zaz7iKCr5tebrkZlZQEMsLGI81Fi//3w7x3B2M7pTpg=;
 h=Date:From:To:Subject:From;
 b=ebveoydyWTQ0cJpefHWJcetD9Pqf8pNYrw13a+7YD0huOb/KKAETjarb2b0GW/DRK
 FVdXw+YEg0XyPAPAMfX8s5xQxvvhtI6Wf58bxZ7c0fvIm/2f+z2dwG4dhMiKTot1d5
 gNtsP7JhPT63qe/CsFZckkSOuNON5xwtvZJD6mRUJfE0Dc+SmiiFpXYEO0lQC3IqR4
 Xl/GZeNRIxAovj0XNEt1yFKNP925i8+XOpJldviCCvUs6/ze7JovYhWfdA7AtUqdaI
 47isYiKWucW8Y+wUubZu/F2xB2ceNCRPQpE1D4ti9xwvIUQk0t1JYDW+w7RIAOuuSU
 TUw8clJH4E75w==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id B784120031B
 for &lt;submit@bugs.debian.org&gt;; Fri, 31 Jan 2025 21:20:48 +0000 (UTC)
Date: Fri, 31 Jan 2025 17:47:08 +0100
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: gnustep-gui FTCBFS: configures for the build architecture during
 dh_auto_clean
Message-ID: &lt;20250131164708.GA323826@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;pova3BNk4kB1KKar&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.0.2
Delivered-To: submit@bugs.debian.org


--pova3BNk4kB1KKar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: gnustep-gui
Version: 0.31.1-8
Tags: patch
User: debian-cross@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

--pova3BNk4kB1KKar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=&quot;gnustep-gui_0.31.1-8.1.debdiff&quot;

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 &lt;helmut@subdivi.de&gt;  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

--pova3BNk4kB1KKar--
]