On Mon, Aug 25, 2014 at 09:52:41AM +0200, Vincent Danjean wrote:
>   Hi,
> 
> On 25/08/2014 05:28, Aurelien Jarno wrote:
> > Dear maintainer,
> > 
> > The ppc64el architecture has been added to the Debian archive. Your
> > package hyantesite fails to build as reported in bug #727899 and
> > the build log is available on [1].
> > 
> > It would be very nice if you can upload a fixed version of this package.
> > Don't hesitate to ask questions if you need help to fix this bug. If
> > you lack time for that, I can also proceed with an NMU.
> 
> It seems that the FTBFS comes from the fact that a shared library
> cannot be built. In configure results (standard tests), we can find:
> checking whether the powerpc64le-linux-gnu-gcc -std=gnu99 linker (/usr/bin/ld 
> -m elf64ppc) supports shared libraries... no
> 
> Is it normal for this new platform (I think no)? Do you have an idea
> where this result comes from (before I look in details)?

The problem is that the libtool snippet included in configure is too old
to support this architecture. That's why using dh_autoreconf would
regenerate the configure script from a recent version.

This bug was supposed to have a patch attached to it, but I just
realized it doesn't have one. Sorry about that. Please find one 
attached.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net
diff -u hyantesite-1.3.0/debian/rules hyantesite-1.3.0/debian/rules
--- hyantesite-1.3.0/debian/rules
+++ hyantesite-1.3.0/debian/rules
@@ -35,13 +35,7 @@
 
 config.status: configure
 	dh_testdir
-	# Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
+	dh_autoreconf
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" --enable-doc
 
 
@@ -63,8 +57,8 @@
 	
 	# Add here commands to clean up after the build process.
 	test ! -f Makefile || $(MAKE) distclean
-	rm -f config.sub config.guess
-	
+	dh_autoreconf_clean
+
 	dh_clean
 	
 	# restore deleted file that would be ignored by dpkg-source when git is
diff -u hyantesite-1.3.0/debian/control hyantesite-1.3.0/debian/control
--- hyantesite-1.3.0/debian/control
+++ hyantesite-1.3.0/debian/control
@@ -2,7 +2,7 @@
 Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
 Uploaders: serge guelton <serge.guel...@enst-bretagne.fr>
-Build-Depends: debhelper (>= 7), autotools-dev, doxygen, help2man, dpkg (>= 1.15.4) | install-info
+Build-Depends: debhelper (>= 7), dh-autoreconf, doxygen, help2man, dpkg (>= 1.15.4) | install-info
 Standards-Version: 3.9.3
 Section: science
 Vcs-Svn: svn://svn.debian.org/debian-science/packages/hyantesite
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to