Bug#1116707: mark ccache Multi-Arch: foreign
Package: ccache
Version: 4.12-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cross@lists.debian.org
Control: affects -1 + src:qt6-graphs
Hi,
it seems that some Qt packages started adding Build-Depends on ccache in
ways that you cannot just remove it. This generally causes cross build
failures as it is the host ccache that is being installed and cannot be
run. It's not entirely clear why we would need ccache during package
builds (as a non-optional component), but that's another question.
I argue that one of ccache's main goals is not to behave differently
than the real compiler. Which compiler that is is none of ccache's
concerns, but if the passed compiler is a cross compiler, then ccache
dutifully cross compiles stuff as expected. Therefore, I propose marking
it Multi-Arch: foreign. Does any of d-cross@l.d.o readers have
objections to this reasoning?
I'm attaching a patch for your convenience.
Helmut
diff -Nru ccache-4.12/debian/changelog ccache-4.12/debian/changelog
--- ccache-4.12/debian/changelog 2025-09-18 21:34:33.000000000 +0200
+++ ccache-4.12/debian/changelog 2025-09-30 14:32:04.000000000 +0200
@@ -1,3 +1,10 @@
+ccache (4.12-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Mark ccache Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 30 Sep 2025 14:32:04 +0200
+
ccache (4.12-1) unstable; urgency=medium
* New upstream release 4.12
diff -Nru ccache-4.12/debian/control ccache-4.12/debian/control
--- ccache-4.12/debian/control 2025-09-18 21:34:33.000000000 +0200
+++ ccache-4.12/debian/control 2025-09-30 14:32:02.000000000 +0200
@@ -10,6 +10,7 @@
Package: ccache
Architecture: any
+Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: distcc | icecc
Description: Compiler cache for fast recompilation of C/C++ code
Reply to: