Source: libffi Source-Version: 3.2.1-3 Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el
-- Hi, here is a patch to enable autoreconf for libffi as it was not figuring out the good linker on ppc64el : --- checking whether the powerpc64le-linux-gnu-gcc linker (/usr/powerpc64le-linux-gnu/bin/ld -m elf64ppc) supports shared libraries... no --- and it should be ld only. This was particularly problematic when cross compiling and rebootstrap was impacted : https://jenkins.debian.net/view/All/job/rebootstrap_ppc64el_gcc5/44/console Thanks, Fred
diff -Nru libffi-3.2.1/debian/control libffi-3.2.1/debian/control --- libffi-3.2.1/debian/control 2014-11-18 16:58:51.000000000 +0100 +++ libffi-3.2.1/debian/control 2015-10-22 10:21:33.000000000 +0200 @@ -5,7 +5,8 @@ Build-Depends: debhelper (>= 5), g++-multilib [amd64 i386 mips mipsel powerpc ppc64 s390 sparc kfreebsd-amd64], dejagnu, lsb-release, texinfo, - dpkg-dev (>= 1.16.0~ubuntu4) + dpkg-dev (>= 1.16.0~ubuntu4), + dh-autoreconf, libltdl-dev Standards-Version: 3.9.6 Section: libs diff -Nru libffi-3.2.1/debian/rules libffi-3.2.1/debian/rules --- libffi-3.2.1/debian/rules 2014-06-04 15:28:42.000000000 +0200 +++ libffi-3.2.1/debian/rules 2015-10-26 10:29:11.000000000 +0100 @@ -39,6 +39,7 @@ dh_testdir rm -rf build mkdir -p build + dh_autoreconf cd build && ../configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ @@ -75,6 +76,7 @@ rm -f stamp-* rm -rf build* rm -f doc/libffi.info + dh_autoreconf_clean dh_clean install: build