Source: consolekit2 Version: 1.2.6-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
consolekit2 fails to cross build from source, because it configures twice. The first time is during autogen.sh for the build architecture and this fails. This run is unnecessary and only happens, because NOCONFIGURE is mis-spelled in debian/rules. I'm attaching a patch for your convenience. Unfortunately, this does not make consolekit2 cross builable as it has a gobject scanner executable that is run during build. This is not currently fixable. Please close this bug anyway. Helmut
diff --minimal -Nru consolekit2-1.2.6/debian/changelog consolekit2-1.2.6/debian/changelog --- consolekit2-1.2.6/debian/changelog 2023-11-16 13:42:48.000000000 +0100 +++ consolekit2-1.2.6/debian/changelog 2023-12-04 15:23:48.000000000 +0100 @@ -1,3 +1,10 @@ +consolekit2 (1.2.6-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Improve cross building: Fix spelling of NOCONFIGURE. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 04 Dec 2023 15:23:48 +0100 + consolekit2 (1.2.6-3) unstable; urgency=medium * License appstream metainfo as FSFAP. diff --minimal -Nru consolekit2-1.2.6/debian/rules consolekit2-1.2.6/debian/rules --- consolekit2-1.2.6/debian/rules 2023-11-16 13:42:48.000000000 +0100 +++ consolekit2-1.2.6/debian/rules 2023-12-04 15:23:47.000000000 +0100 @@ -17,7 +17,7 @@ # As XDT macros are present in configure.ac, plain dh_autoreconf runs # xdt-autogen, see #893746; but that invokes glib-gettextize which creates an # incompatible po/Makefile.in.in. So ensure ./autogen.sh itself is run. - NO_CONFIGURE=1 dh_autoreconf --as-needed ./autogen.sh + NOCONFIGURE=1 dh_autoreconf --as-needed ./autogen.sh override_dh_auto_configure: dh_auto_configure -- $(CONFFLAGS) \