Source: sslsplit Version: 0.5.5-1 Tags: patch User: [email protected] Usertags: ftcbfs
sslsplit fails to cross build from source for two reasons. For one thing it uses the non-standard variable PKGCONFIG for pkg-config. dh_auto_build substitutes PKG_CONFIG. Therefore, sslsplit does not use pkg-config and sneaks in a -lz flags. Then make install also needs access to build tools, but dh_auto_install does not pass them there. Exporting them from dpkg's buildtools.mk helps here. Please consider applying the attached patch to make sslsplit cross buildable. Helmut
diff --minimal -Nru sslsplit-0.5.5/debian/changelog sslsplit-0.5.5/debian/changelog --- sslsplit-0.5.5/debian/changelog 2019-08-31 12:51:47.000000000 +0200 +++ sslsplit-0.5.5/debian/changelog 2020-04-18 21:59:00.000000000 +0200 @@ -1,3 +1,12 @@ +sslsplit (0.5.5-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Supply pkg-config as variable PKGCONFIG. + + Export build tools for make install. + + -- Helmut Grohne <[email protected]> Sat, 18 Apr 2020 21:59:00 +0200 + sslsplit (0.5.5-1) unstable; urgency=medium * New upstream version 0.5.5 diff --minimal -Nru sslsplit-0.5.5/debian/rules sslsplit-0.5.5/debian/rules --- sslsplit-0.5.5/debian/rules 2019-08-31 12:51:18.000000000 +0200 +++ sslsplit-0.5.5/debian/rules 2020-04-18 21:59:00.000000000 +0200 @@ -9,6 +9,10 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 +DPKG_EXPORT_BUILDTOOLS=1 +include /usr/share/dpkg/buildtools.mk +export PKGCONFIG=$(PKG_CONFIG) + # Override upstream's idea where to put system-wide configuration # ($(PREFIX)/etc) export SYSCONFDIR=/etc

