Package: xdelta
Version: 1.1.3
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf
The package xdelta fails to build on ppc64el, as on new architectures, because
the config.{guess,sub} files are out of date, and are not updated during the
build.
This is the error log:
dh_install --sourcedir=debian/tmp --list-missing
dh_install: libxdelta2 missing files (usr/lib/*.so.*), aborting
make: *** [install] Error 255
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I just created a patch that enables it to be built on ppc64el. I am using the
following URL as reference:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build
Thank you,
Breno
-- System Information:
*** End of the template - remove these lines ***
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: xdelta-1.1.3/debian/control
===================================================================
--- xdelta-1.1.3.orig/debian/control 2014-05-21 13:48:55.000000000 +0000
+++ xdelta-1.1.3/debian/control 2014-05-21 14:36:37.000000000 +0000
@@ -2,7 +2,7 @@
Section: utils
Priority: optional
Maintainer: LaMont Jones <[email protected]>
-Build-Depends: debhelper (>> 5.0.0), libglib2.0-dev, zlib1g-dev, autotools-dev
+Build-Depends: debhelper (>> 5.0.0), libglib2.0-dev, zlib1g-dev, dh-autoreconf
Standards-Version: 3.7.3
XS-Vcs-Browser: http://git.debian.org/?p=users/lamont/xdelta.git
XS-Vcs-Git: git://git.debian.org/~lamont/xdelta.git
Index: xdelta-1.1.3/debian/rules
===================================================================
--- xdelta-1.1.3.orig/debian/rules 2014-05-21 13:48:55.000000000 +0000
+++ xdelta-1.1.3/debian/rules 2014-05-21 13:51:37.000000000 +0000
@@ -19,8 +19,7 @@
config.status: configure
dh_testdir
- cp -f /usr/share/misc/config.guess config.guess
- cp -f /usr/share/misc/config.sub config.sub
+ dh_autoreconf
CPPFLAGS=`glib-config --cflags` CFLAGS="${CFLAGS}" \
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info
@@ -44,6 +43,7 @@
clean:
dh_testdir
dh_testroot
+ dh_autoreconf_clean
dh_clean
rm -f build-stamp build
[ ! -f Makefile ] || $(MAKE) distclean