Package: libdc1394-22 Version: 2.2.1-2 Severity: normal Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el User: debian-de...@lists.debian.org Usertags: autoreconf
Dear Maintainer, Currently this package FTBFS when compiled in new architectures (as ppc64el) that is not supported on the outdated package autotools files, mainly because it fails to understand that the new architectures has support for shared libraries, as shown below: make[1]: Leaving directory `/«PKGBUILDDIR»' dh_install -O--parallel dh_install: libdc1394-22-dev missing files (usr/lib/*/lib*.so), aborting make: *** [binary] Error 255 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 The full log could be found at http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/Build-Attempted.html I created this patch that call autoreconf to updates the autotool files during the build, as suggest by the following wiki: https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build I tested it on ppc64el and it worked. Thank you, Breno
Index: libdc1394-22-2.2.2/debian/control =================================================================== --- libdc1394-22-2.2.2.orig/debian/control +++ libdc1394-22-2.2.2/debian/control @@ -3,7 +3,7 @@ Section: libs Priority: extra Maintainer: Guus Sliepen <g...@debian.org> Uploaders: Peter De Schrijver (p2) <p...@debian.org> -Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.0), libraw1394-dev (>= 2.0.1), libusb-1.0-0-dev, libx11-dev, libxv-dev, pkg-config, chrpath, doxygen-latex, texlive-latex-recommended, texlive-fonts-recommended, autotools-dev +Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.0), libraw1394-dev (>= 2.0.1), libusb-1.0-0-dev, libx11-dev, libxv-dev, pkg-config, chrpath, doxygen-latex, texlive-latex-recommended, texlive-fonts-recommended, dh-autoreconf Standards-Version: 3.9.5 Homepage: http://damien.douxchamps.net/ieee1394/libdc1394/ Index: libdc1394-22-2.2.2/debian/rules =================================================================== --- libdc1394-22-2.2.2.orig/debian/rules +++ libdc1394-22-2.2.2/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --parallel --with autotools-dev + dh $@ --parallel --with autoreconf override_dh_auto_configure: dh_auto_configure -- --enable-doxygen-pdf --enable-doxygen-html