[Debichem-devel] Bug#568947: mpqc: sh4: FTBFS: configure: error: BLAS is required to complete the build

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Mon Feb 8 23:51:25 UTC 2010


Package: mpqc
Version: 2.3.1-4
Severity: important
Tags: patch
User: debian-sh4 at superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh at lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?a=sh4

mpqc can not build on sh4. Because configure of this package generated
from old autoconf.
http://buildd.debian-ports.org/fetch.php?pkg=mpqc&arch=sh4&ver=2.3.1-4&stamp=1265554556&file=log&as=raw

-----
[...]
checking fortran symbols... lowercase with underscore
checking for daxpy_... no
checking for daxpy_ in -lessl... no
checking for daxpy_ in -lblas... no
checking for daxpy_ in -lf77blas... no
WARNING: Could not link to the BLAS library.  It can be obtained at
configure: error: BLAS is required to complete the build
http://www.netlib.org/blas.  Use --with-libdirs and/or --with-libs
[...]
-----

config.log has check error as follows.

-----
[...]
configure:12729: result: no
configure:12745: checking for daxpy_ in -lf77blas
configure:12775: g++ -o conftest -O    conftest.cc -lf77blas  -latlas
-lfl -lm -ldl  -lpthread   -little -L/usr/lib/gcc/sh4-linux-gnu/4.4.3
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3/../../.. -lgfortranbegin -lgfort
ran -lm -lgcc_s >&5
/usr/bin/ld: cannot find -lf77blas
collect2: ld returned 1 exit status
configure:12781: $? = 1
configure: failed program was:
[...]
-----

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 good.
Please apply  patch.

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpqc-2.3.1-sh4-support.patch
Type: application/x-empty
Size: 460 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20100209/c92b986f/attachment.bin>


More information about the Debichem-devel mailing list