Source: firebird3.0 Version: 3.0.5.33100.ds4-2 Tags: patch User: [email protected] Usertags: rebootstrap
firebird3.0 fails to cross build from source, because debian/rules uses the build architecture pkg-config for looking up the host icu-i18n and fails. The attached patch makes it use the host pkg-config. This makes the build proceed, but not succeed. Please consider applying the attached patch anyway and close this bug when doing so. Helmut
diff --minimal -Nru firebird3.0-3.0.5.33100.ds4/debian/changelog firebird3.0-3.0.5.33100.ds4/debian/changelog --- firebird3.0-3.0.5.33100.ds4/debian/changelog 2019-02-08 08:59:55.000000000 +0100 +++ firebird3.0-3.0.5.33100.ds4/debian/changelog 2019-05-12 07:42:50.000000000 +0200 @@ -1,3 +1,10 @@ +firebird3.0 (3.0.5.33100.ds4-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Address FTCBFS: Obtain pkg-config from dpkg's buildtools.mk. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 12 May 2019 07:42:50 +0200 + firebird3.0 (3.0.5.33100.ds4-2) unstable; urgency=medium * rules: fail if unable to determine ICU version. diff --minimal -Nru firebird3.0-3.0.5.33100.ds4/debian/rules firebird3.0-3.0.5.33100.ds4/debian/rules --- firebird3.0-3.0.5.33100.ds4/debian/rules 2019-02-08 08:40:37.000000000 +0100 +++ firebird3.0-3.0.5.33100.ds4/debian/rules 2019-05-12 07:42:46.000000000 +0200 @@ -29,6 +29,8 @@ $(error CLIENT_SOVER not defined) endif +-include /usr/share/dpkg/buildtools.mk +PKG_CONFIG ?= pkg-config # Use the following lines to set the compiler if # the default Debian one can't be used (or you want to try # the bleeding edge) @@ -240,7 +242,7 @@ dh_md5sums -i dh_builddeb -i -ICU_VER := $(shell pkg-config icu-i18n --modversion|sed 's/[^0-9]*\([0-9]\+\).*/\1/') +ICU_VER := $(shell $(PKG_CONFIG) icu-i18n --modversion|sed 's/[^0-9]*\([0-9]\+\).*/\1/') ifeq ($(ICU_VER),) $(error Unable to determine ICU version) endif

