Source: icu Version: 60.2-6 Tags: patch User: helm...@debian.org Usertags: rebootstrap
icu fails to cross build from source, because the native build pass fails linking -licu-le-hb. It turns out that icu does not Build-Depends: libicu-le-hb-dev:native, so this is quite expected. Adding the dependency is not going to help though, because libicu-le-hb-dev Depends on libicu-dev (which is a problem, see 898571 and #898806) and since libicu-dev is not M-A:same (see #898820) and is thus not coinstallable. Yes, you really need to fix the dependency cycle soon. In the mean time, we can perform the native build pass without libicu-le-hb-dev. The host build pass still uses the library and thus cross building succeeds. It still isn't bootstrappable, but being cross buildable is part of the way. Please consider applying the attached patch. Helmut
diff --minimal -Nru icu-60.2/debian/changelog icu-60.2/debian/changelog --- icu-60.2/debian/changelog 2018-05-10 17:14:59.000000000 +0200 +++ icu-60.2/debian/changelog 2018-08-21 22:39:01.000000000 +0200 @@ -1,3 +1,10 @@ +icu (60.2-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Build the native pass without libicu-le-hb-dev. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 21 Aug 2018 22:39:01 +0200 + icu (60.2-6) unstable; urgency=medium * Build with Paragraph Layout API. diff --minimal -Nru icu-60.2/debian/rules icu-60.2/debian/rules --- icu-60.2/debian/rules 2018-04-24 18:45:42.000000000 +0200 +++ icu-60.2/debian/rules 2018-08-21 22:39:01.000000000 +0200 @@ -25,7 +25,7 @@ ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) dh_auto_configure -- --enable-static else - dh_auto_configure -B $(CURDIR)/build-native -- --host=$(DEB_BUILD_GNU_TYPE) + dh_auto_configure -B $(CURDIR)/build-native -- --host=$(DEB_BUILD_GNU_TYPE) --disable-layoutex dh_auto_build -B $(CURDIR)/build-native dh_auto_configure -- --enable-static --with-cross-build=$(CURDIR)/build-native endif