Source: icu Version: 72.1-4 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
icu fails to cross build from source due to architecture-specific compiler flags such as PAC/BTI having been added recently. It currently passes host compiler flags to its native pass and that doesn't go well. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru icu-72.1/debian/changelog icu-72.1/debian/changelog --- icu-72.1/debian/changelog 2023-10-20 17:44:53.000000000 +0200 +++ icu-72.1/debian/changelog 2023-12-07 09:16:20.000000000 +0100 @@ -1,3 +1,10 @@ +icu (72.1-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Differentiate build and host compiler flags. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 07 Dec 2023 09:16:20 +0100 + icu (72.1-4) unstable; urgency=medium [ Adrian Bunk <b...@debian.org> ] diff --minimal -Nru icu-72.1/debian/rules icu-72.1/debian/rules --- icu-72.1/debian/rules 2023-10-20 17:44:53.000000000 +0200 +++ icu-72.1/debian/rules 2023-12-07 09:16:19.000000000 +0100 @@ -35,7 +35,7 @@ ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) dh_auto_configure -- --enable-static --disable-layoutex --disable-icu-config else - dh_auto_configure -B $(CURDIR)/build-native -- --host=$(DEB_BUILD_GNU_TYPE) --disable-layoutex --disable-icu-config + dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --reload-all-buildenv-variables -B $(CURDIR)/build-native -- --disable-layoutex --disable-icu-config dh_auto_build -B $(CURDIR)/build-native dh_auto_configure -- --enable-static --with-cross-build=$(CURDIR)/build-native endif