Bug#727899: blocking the ppc64el architecture bootstrap

2014-08-26 Thread Aurelien Jarno
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-maintain...@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


Bug#727899: blocking the ppc64el architecture bootstrap

2014-08-25 Thread Vincent Danjean
  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)?

  Regards,
Vincent

PS: I see several other problems with the build of this package
(even on other architecture) that I will try to fix but the FTBFS
comes from the missing so file:
[...]
debian/tmp/usr/lib/libhyantes.la
dh_install --sourcedir=debian/tmp
dh_install: libhyantes-dev missing files (usr/lib/lib*.so), aborting
make: *** [binary-arch] Error 255

  Regards,
Vincent

 Thanks,
 Aurelien
 
 [1] https://buildd.debian.org/status/logs.php?pkg=hyantesitearch=ppc64el
 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727899: blocking the ppc64el architecture bootstrap

2014-08-24 Thread Aurelien Jarno
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.

Thanks,
Aurelien

[1] https://buildd.debian.org/status/logs.php?pkg=hyantesitearch=ppc64el

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org