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

Breno Leitao brenohl at br.ibm.com
Thu Jul 24 13:46:26 UTC 2014


Package: libgcrypt11
Version: 1.5.3-3
Severity: normal
Tags: patch
User: debian-powerpc at lists.debian.org
Usertags: ppc64el
User: debian-devel at 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: 

	cd debian/tmp/usr/lib/powerpc64le-linux-gnu \
			&& ln -v -s /lib/powerpc64le-linux-gnu/`readlink ../../../lib/*/*.so` libgcrypt.so
	'libgcrypt.so' -> '/lib/powerpc64le-linux-gnu/'
	rm -v debian/tmp/lib/powerpc64le-linux-gnu/*.so
	rm: cannot remove 'debian/tmp/lib/powerpc64le-linux-gnu/*.so': No such file or directory
	make[1]: *** [override_dh_auto_install] Error 1
	make[1]: Leaving directory `/«PKGBUILDDIR»'
	make: *** [binary] Error 2

The full log could be found at 
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/libgcrypt11_1.5.3-4_ppc64el.build

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.

PS: Since libgcrypt11 is a VERY important package, and one of the key missing
packages for the ppc64el architecture, I would love to see this patch
integrated. FWIW, Ubuntu has been using this autoreconf for a while on
libgcrypt11 package. 

Thank you,
Breno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcrypt11_autoreconf.debdiff
Type: text/x-diff
Size: 920 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20140724/4bb8bf3a/attachment.diff>


More information about the Pkg-gnutls-maint mailing list