Package: openhpi
Version: 2.14.1-1.4
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Hi,

Currently openhpi does not build on new architecture, as ppc64el, due to outdate
liboot and aclocal files, as shown in the following build log:

http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/openhpi_2.14.1-1.4_ppc64el.build

I just created a patch that fixes the problem using autoreconf, as suggested
in the following wiki page:

https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thank you,
Breno
Index: openhpi-2.14.1/debian/rules
===================================================================
--- openhpi-2.14.1.orig/debian/rules	2014-06-23 15:07:26.000000000 +0000
+++ openhpi-2.14.1/debian/rules	2014-06-23 15:08:44.000000000 +0000
@@ -34,8 +34,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	cp -f /usr/share/misc/config.guess config.guess
-	cp -f /usr/share/misc/config.sub config.sub
+	dh_autoreconf
 	# Add here commands to configure the package.
 	# The following Debian defaults don't work...need to figure out what's
 	# wrong:
@@ -58,6 +57,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 	rm -f build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
Index: openhpi-2.14.1/debian/control
===================================================================
--- openhpi-2.14.1.orig/debian/control	2014-06-23 15:07:26.000000000 +0000
+++ openhpi-2.14.1/debian/control	2014-06-23 15:08:38.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Bryan Sutula <bryan.sut...@hp.com>
 Uploaders: Khalid Aziz <kha...@debian.org>
 Homepage: http://openhpi.org
-Build-Depends: debhelper (>= 6.0.7~), autotools-dev, uuid-dev, libglib2.0-dev (>= 2.2), pkg-config, libltdl-dev, openipmi (>= 2.0.7), libopenipmi-dev (>=2.0.7), libsnmp-dev, libssl-dev, libsysfs-dev (>= 0.3), libncurses5-dev, libxml2-dev
+Build-Depends: debhelper (>= 6.0.7~), autotools-dev, uuid-dev, libglib2.0-dev (>= 2.2), pkg-config, libltdl-dev, openipmi (>= 2.0.7), libopenipmi-dev (>=2.0.7), libsnmp-dev, libssl-dev, libsysfs-dev (>= 0.3), libncurses5-dev, libxml2-dev, dh-autoreconf
 Standards-Version: 3.8.3
 
 Package: libopenhpi2

Reply via email to