Source: proxychains-ng Version: 4.16-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
proxychains-ng fails to cross build from source, because it rather builds for the build architecture and thus fails dh_strip. dh_auto_configure does not pass any cross tools to configure as it expects an autoconf-style configure script, but this script doesn't understand the --host flag. Rather we need to set the CC environment variable. Please consider applying the attached patch. Helmut
diff --minimal -Nru proxychains-ng-4.16/debian/changelog proxychains-ng-4.16/debian/changelog --- proxychains-ng-4.16/debian/changelog 2023-08-13 21:36:31.000000000 +0200 +++ proxychains-ng-4.16/debian/changelog 2023-12-30 19:11:12.000000000 +0100 @@ -1,3 +1,10 @@ +proxychains-ng (4.16-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Export CC for non-autoconf configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 30 Dec 2023 19:11:12 +0100 + proxychains-ng (4.16-3) unstable; urgency=medium * debian/control: Bump Standards-Version to 4.6.2. diff --minimal -Nru proxychains-ng-4.16/debian/rules proxychains-ng-4.16/debian/rules --- proxychains-ng-4.16/debian/rules 2021-08-15 19:26:07.000000000 +0200 +++ proxychains-ng-4.16/debian/rules 2023-12-30 19:11:10.000000000 +0100 @@ -5,9 +5,11 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -export DPKG_EXPORT_BUILDFLAGS = 1 +DPKG_EXPORT_BUILDFLAGS = 1 +DPKG_EXPORT_BUILDTOOLS = 1 include /usr/share/dpkg/buildflags.mk include /usr/share/dpkg/default.mk +include /usr/share/dpkg/buildtools.mk %: dh $@