[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#756640: xastir: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4



Package: xastir
Version: 2.0.4-1
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
User: debian-devel@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:

	checking whether make sets $(MAKE)... yes

	Configuring xastir 2.0.4

	./config.guess: unable to guess system type

	This script, last modified 2009-11-20, has failed to recognize
	the operating system you are using. It is advised that you
	download the most up to date version of the config scripts from
	...
	configure: error: cannot guess build type; you must specify one
	make: *** [build-stamp] Error 1
	dpkg-buildpackage: error: debian/rules build gave error exit status 2

The full log could be found at the package log on our buildd entries 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

You can find more information about autoreconf in the following link:
https://wiki.debian.org/Autoreconf

In order to have this package compiled fine on ppc64el, we need this patch
applied and also the patch on bug#756638.

Thank you,
Breno
Index: xastir-2.0.4/debian/rules
===================================================================
--- xastir-2.0.4.orig/debian/rules
+++ xastir-2.0.4/debian/rules
@@ -6,6 +6,7 @@ build-indep: build-stamp
 build-stamp:
 
 	dh_testdir
+	dh_autoreconf
 	touch aclocal.m4
 	touch Makefile.in */Makefile.in */*/Makefile.in
 	touch config.h.in
@@ -16,6 +17,7 @@ build-stamp:
 
 clean:
 	dh_testdir
+	dh_autoreconf_clean
 	-rm -f build
 	[ ! -f Makefile ] || $(MAKE) distclean
 	-rm -f src/callpass/Makefile
Index: xastir-2.0.4/debian/control
===================================================================
--- xastir-2.0.4.orig/debian/control
+++ xastir-2.0.4/debian/control
@@ -4,7 +4,7 @@ Priority: extra
 Maintainer: Debian Hams group <debian-hams@lists.debian.org>
 Uploaders: Jerry Stueve <k4int@arrl.net>, Kamal Mostafa <kamal@whence.com>, Hamish Moffatt <hamish@debian.org>, Colin Tuckley <colint@debian.org>
 Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 7), libax25-dev, libmotif-dev, libxext-dev, libxt-dev, festival-dev, libgraphicsmagick1-dev | libgraphicsmagick-dev, libshp-dev, libproj-dev, libpcre3-dev, libcurl4-gnutls-dev | libcurl-ssl-dev, libgdal-dev (>= 1.10.0-0~), libdb-dev, libgeotiff-dev
+Build-Depends: debhelper (>= 7), libax25-dev, libmotif-dev, libxext-dev, libxt-dev, festival-dev, libgraphicsmagick1-dev | libgraphicsmagick-dev, libshp-dev, libproj-dev, libpcre3-dev, libcurl4-gnutls-dev | libcurl-ssl-dev, libgdal-dev (>= 1.10.0-0~), libdb-dev, libgeotiff-dev, dh-autoreconf
 Homepage: http://www.xastir.org/
 Vcs-Browser: http://xastir.cvs.sourceforge.net/viewvc/xastir/xastir/
 Vcs-Cvs: :pserver:anonymous@xastir.cvs.sourceforge.net/cvsroot/xastir

Reply to: