Source: dirac
Version: 1.0.2-6
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
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: libdirac-decoder0 missing files
(usr/lib/*/libdirac_decoder.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 the diract package in:
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: dirac-1.0.2/debian/control
===================================================================
--- dirac-1.0.2.orig/debian/control
+++ dirac-1.0.2/debian/control
@@ -7,7 +7,8 @@ Uploaders:
DM-Upload-Allowed: yes
Build-Depends:
autoconf,
- debhelper (>= 8.1.3~)
+ debhelper (>= 8.1.3~),
+ dh-autoreconf
Build-Depends-Indep:
doxygen-latex,
graphviz
Index: dirac-1.0.2/debian/rules
===================================================================
--- dirac-1.0.2.orig/debian/rules
+++ dirac-1.0.2/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
%:
- dh $@ --parallel
+ dh $@ --parallel --with autoreconf
override_dh_auto_configure:
dh_auto_configure