🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Tue, 24 Nov 2026 21:00
Bug#1155169: squid FTCBFS for amd64/arm64: passes host compiler flags to the build compiler
#6001
Author: Helmut Grohne
Date: Tue, 24 Nov 2026 21:00
50 lines
3234 bytes
--HDS6WBREk6cFQtek
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

squid fails to cross build from source, because it passes compiler flags
meant for the host compiler to the build compiler. Since amd64 and arm64
have architecture-specific compiler flags, cross building for these is
broken. I'm attaching a patch to fix this. Please consider applying it.

Helmut

--HDS6WBREk6cFQtek
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="squid_7.8-1.1.debdiff"

diff -Nru squid-7.8/debian/changelog squid-7.8/debian/changelog
--- squid-7.8/debian/changelog	2026-11-03 14:58:11.000000000 +0100
+++ squid-7.8/debian/changelog	2026-11-22 16:56:35.000000000 +0100
@@ -1,3 +1,10 @@
+squid (7.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS for amd64/arm64: Pass suitable build compiler flags. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 22 Nov 2026 16:56:35 +0100
+
 squid (7.8-1) unstable; urgency=high
 
   [ Amos Jeffries <amosjeffries@squid-cache.org> ]
diff -Nru squid-7.8/debian/rules squid-7.8/debian/rules
--- squid-7.8/debian/rules	2026-11-03 14:58:11.000000000 +0100
+++ squid-7.8/debian/rules	2026-11-22 16:56:34.000000000 +0100
@@ -21,7 +21,7 @@
 
 # Build Environment settings
 DEB_CONFIGURE_EXTRA_FLAGS := \
-		BUILDCXXFLAGS="$(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)" \
+		BUILDCXXFLAGS="$(CXXFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD)" \
 		BUILDCXX=$(CXX_FOR_BUILD) \
 		--disable-arch-native \
 		--disable-translation \

--HDS6WBREk6cFQtek--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads