Source: ioquake3 Version: 1.36+u20250830.3e0b279+dfsg-1 Tags: patch User: [email protected] Usertags: ftcbfs
Hi, ioquake3 started to fail to cross build from source. The root cause is to be found in debian/rules where $(CC) defaults to cc and pkg-config is hard coded. I suggest including dpkg's buildtools.mk and using $(PKG_CONFIG) to use triplet-prefixed build tools. Once doing so, ioquake3 cross builds again. I'm attaching a patch for your convenience. Helmut
diff -Nru ioquake3-1.36+u20250830.3e0b279+dfsg/debian/changelog ioquake3-1.36+u20250830.3e0b279+dfsg/debian/changelog --- ioquake3-1.36+u20250830.3e0b279+dfsg/debian/changelog 2025-08-31 00:00:29.000000000 +0200 +++ ioquake3-1.36+u20250830.3e0b279+dfsg/debian/changelog 2025-08-31 15:34:46.000000000 +0200 @@ -1,3 +1,10 @@ +ioquake3 (1.36+u20250830.3e0b279+dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use triplet-prefixed build tools. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 31 Aug 2025 15:34:46 +0200 + ioquake3 (1.36+u20250830.3e0b279+dfsg-1) unstable; urgency=medium * New upstream snapshot, fixing FTBFS on architectures not recognised by diff -Nru ioquake3-1.36+u20250830.3e0b279+dfsg/debian/rules ioquake3-1.36+u20250830.3e0b279+dfsg/debian/rules --- ioquake3-1.36+u20250830.3e0b279+dfsg/debian/rules 2025-08-31 00:00:29.000000000 +0200 +++ ioquake3-1.36+u20250830.3e0b279+dfsg/debian/rules 2025-08-31 15:34:45.000000000 +0200 @@ -22,6 +22,7 @@ endif include /usr/share/dpkg/default.mk +include /usr/share/dpkg/buildtools.mk export ASMFLAGS = $(ASFLAGS) $(CPPFLAGS) @@ -63,12 +64,12 @@ debian/depends.so: debian/shlibdeps-helper.c debian/rules $(CC) -shared $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wl,--no-as-needed \ -o$@ $< \ - $$(pkg-config --cflags --libs gl) + $$($(PKG_CONFIG) --cflags --libs gl) debian/recommends.so: debian/shlibdeps-helper.c debian/rules $(CC) -shared $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wl,--no-as-needed \ -o$@ $< \ - $$(pkg-config --cflags --libs libcurl) + $$($(PKG_CONFIG) --cflags --libs libcurl) execute_after_dh_shlibdeps-arch: debian/depends.so debian/recommends.so dh_shlibdeps -pioquake3 \

