Package: hypre Version: 2.4.0b-3 Severity: important Tags: patch Justification: fails to build from source User: debian-...@superh.org Usertags: sh4
Hi, I am now trying to run Debian on Renesas SH(sh4) CPU. http://buildd.debian-ports.org/status/architecture.php?a=sh4 hypre can not build on sh4. Because configure of this package generated from old autoconf. ----- checking for Fortran libraries of mpif77... -little -L/usr/lib/lam/lib -L/usr/lib/gcc/sh4-linux-gnu/4.3.4 -L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lgfortranbegin -lgfortran -lm -lpthread checking for dummy main to link with Fortran libraries... unknown configure: error: linking to Fortran libraries from C fails See `config.log' for more details. make: *** [stamp-build] Error 1 ----- Old autoconf adds -little option to compile option. sh4 architecture can't interpret this option. Therefore, this has build error. http://lists.gnu.org/archive/html/bug-autoconf/2008-10/msg00039.html We need patch revising this. I added patch to revising these. Package building was fine. Please apply patch. Best regards, Nobuhiro
--- a/src/configure 2009-11-06 03:46:28.000000000 +0000 +++ b/src/configure 2009-11-05 02:42:33.000000000 +0000 @@ -6337,7 +6337,7 @@ ;; # Ignore these flags. - -lang* | -lcrt[012].o | -lcrtbegin.o | -lc | -lgcc* | -libmil | -LANG:=*) + -lang* | -lcrt[012].o | -lcrtbegin.o | -lc | -lgcc* | -libmil | -little | -LANG:=*) ;; -lfrtbegin ) ;; #(gkk) Ignore this one too -lkernel32)