🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6011

Bug#1155171: snowball FTCBFS for amd64/arm64: passes host flags to build compiler

#6011
From: Helmut Grohne
Date: Tue, 24 Nov 2026 21:00
50 lines
3204 bytes
--GqFXbMo7FeVGP23w
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: snowball
Version: 3.2.0-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

snowball fails to cross build from source, because it passes host
compiler flags to the native build pass. Adding
--reload-all-buildenv-variables fixes that. I'm attaching a patch for
your convenience.

Helmut

--GqFXbMo7FeVGP23w
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="snowball_3.2.0-1.1.debdiff"

diff -Nru snowball-3.2.0/debian/changelog snowball-3.2.0/debian/changelog
--- snowball-3.2.0/debian/changelog	2026-11-20 12:29:28.000000000 +0100
+++ snowball-3.2.0/debian/changelog	2026-11-21 18:36:20.000000000 +0100
@@ -1,3 +1,10 @@
+snowball (3.2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS for amd64/arm64: Reload compiler flags. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 21 Nov 2026 18:36:20 +0100
+
 snowball (3.2.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru snowball-3.2.0/debian/rules snowball-3.2.0/debian/rules
--- snowball-3.2.0/debian/rules	2026-11-20 12:29:28.000000000 +0100
+++ snowball-3.2.0/debian/rules	2026-11-21 18:36:20.000000000 +0100
@@ -7,7 +7,7 @@
 	dh $@
 
 override_dh_auto_build:
-	dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build -- snowball
+	dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build --reload-all-buildenv-variables -- snowball
 	dh_auto_build -- $(shell dpkg-buildflags --export=configure)
 ifneq (,$(filter python3-snowballstemmer,$(shell dh_listpackages)))
 	$(MAKE) dist_libstemmer_python

--GqFXbMo7FeVGP23w--
Technical Details
Message-ID: <O35Mm-dWvb-35@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155171: snowball FTCBFS for amd64/arm64: passes host flags to build compiler
Date: Tue, 24 Nov 2026 22:00:02 +0100
Message-ID: <O35Mm-dWvb-35@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 20:51:23 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1155171@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: snowball@packages.debian.org
X-Debian-Pr-Message: report 1155171
X-Debian-Pr-Package: src:snowball
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: snowball
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="GqFXbMo7FeVGP23w"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004782
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 50
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 21 Nov 2026 18:42:51 +0100
X-Original-Message-ID: <20261121174251.GA2836759@subdivi.de>