Source: xmlrpc-c Version: 1.59.03-4 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
xmlrpc-c fails to cross build from source, because the variable for the build architecture compiler changed upstream from BUILDTOOL_CC to the more standard CC_FOR_BUILD. debian/rules needs to be updated to follow this renaming. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru xmlrpc-c-1.59.03/debian/changelog xmlrpc-c-1.59.03/debian/changelog --- xmlrpc-c-1.59.03/debian/changelog 2024-05-31 12:37:13.000000000 +0200 +++ xmlrpc-c-1.59.03/debian/changelog 2024-10-08 18:56:17.000000000 +0200 @@ -1,3 +1,11 @@ +xmlrpc-c (1.59.03-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Update variable name for build architecture compiler. + (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 08 Oct 2024 18:56:17 +0200 + xmlrpc-c (1.59.03-4) unstable; urgency=medium * Add a the libxmlrpc-core-c3-dev -> libxmlrpc-util-dev diff --minimal -Nru xmlrpc-c-1.59.03/debian/rules xmlrpc-c-1.59.03/debian/rules --- xmlrpc-c-1.59.03/debian/rules 2024-05-10 18:32:50.000000000 +0200 +++ xmlrpc-c-1.59.03/debian/rules 2024-10-08 18:56:17.000000000 +0200 @@ -2,6 +2,8 @@ #export DEB_BUILD_MAINT_OPTIONS = optimize=+lto +include /usr/share/dpkg/buildtools.mk + %: dh $@ --without=autoreconf @@ -14,8 +16,8 @@ --disable-wininet-client override_dh_auto_build: - dh_auto_build -- BUILDTOOL_CC=gcc 'BUILDTOOL_CCLD=$$(BUILDTOOL_CC)' - $(MAKE) -C tools + dh_auto_build -- 'CC_FOR_BUILD=$(CC_FOR_BUILD)' + dh_auto_build --sourcedirectory=tools override_dh_auto_clean: # Add here commands to clean up after the build process.