Source: ibus-kkc Version: 1.5.22-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
ibus-kkc fails to cross build from source, because it configures for the build architecture. If you look into a native build, you can spot that it actually configures twice: once during override_dh_autoreconf and once during dh_auto_configure. It is that former invocation that fails during cross builds and it is that former invocation that is entirely useless. Let's skip it to make cross builds succeed. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru ibus-kkc-1.5.22/debian/changelog ibus-kkc-1.5.22/debian/changelog --- ibus-kkc-1.5.22/debian/changelog 2022-09-27 22:09:18.000000000 +0200 +++ ibus-kkc-1.5.22/debian/changelog 2023-04-05 21:33:01.000000000 +0200 @@ -1,3 +1,10 @@ +ibus-kkc (1.5.22-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Configure only once. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 05 Apr 2023 21:33:01 +0200 + ibus-kkc (1.5.22-3) unstable; urgency=medium * Team upload. diff --minimal -Nru ibus-kkc-1.5.22/debian/rules ibus-kkc-1.5.22/debian/rules --- ibus-kkc-1.5.22/debian/rules 2022-09-27 22:04:41.000000000 +0200 +++ ibus-kkc-1.5.22/debian/rules 2023-04-05 21:32:59.000000000 +0200 @@ -16,7 +16,7 @@ dh $@ override_dh_autoreconf: - ./autogen.sh + NOCONFIGURE=1 ./autogen.sh execute_before_dh_auto_configure: sed -i 's!<layout>jp</layout>!<layout>default</layout>!' src/kkc.xml.in.in