On 15 December 2009 at 09:50, Nobuhiro Iwamatsu wrote:
| Package: r-base
| Version: 2.10.1-1
| Severity: important
| Tags: patch
| User: debian-...@superh.org
| Usertags: sh4
| X-Debbugs-CC: debian-sup...@lists.debian.org

Grrrr. That is a new upstream version that came out today after 10 days with
prereleases.  Too bad you didn;t test against the pre-releases...

| Hi,
| 
| I am now trying to run Debian on Renesas SH(sh4) CPU.
| http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4
| 
| r-base FTBFS on SH4.
| Because configure included in r-base is created in old autoconf.
| 
| -----
| checking how to get verbose linking output from gcc -std=gnu99... -v
| checking for C libraries of gcc -std=gnu99...  -little
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -lgcc_s
| checking for dummy main to link with Fortran 77 libraries... unknown
| configure: error: linking to Fortran libraries from C fails
| -----
| 
| This become the error by the following contents in config.log.
| -----
| configure:27813: result:  -little -L/usr/lib/gcc/sh4-linux-gnu/4.3.4
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -lgcc_s
| configure:27944: checking for dummy main to link with Fortran 77 libraries
| configure:27988: gcc -std=gnu99 -o conftest -g -O2   conftest.c -ldl
| -lm   -little -lgfortran -lm >&5
| /usr/bin/ld.real: cannot find -little
| collect2: ld returned 1 exit status
| -----
| 
| Could you update confiugre with new autoconf?
| Or please apply the patch which I attached.
| This is patch for quick fix.

(Some members of) R upstream use Debian for development. Can you indicate
which autoconf versions in Debian are good enough ?

Also, before you send me bug reports for every binary that I upload:  Is
there a way to fix this a little better programmatically ?

Dirk
 
| Best regards,
|  Nobuhiro
| 
| -- 
| Nobuhiro Iwamatsu
|    iwamatsu at {nigauri.org / debian.org}
|    GPG ID: 40AD1FA6
| 
| ----------------------------------------------------------------------
| --- a/configure       2009-12-15 09:42:16.000000000 +0900
| +++ b/configure       2009-12-15 09:43:25.000000000 +0900
| @@ -27410,7 +27410,7 @@
|  
|            ;;
|            # Ignore these flags.
| -        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | 
-LIST:* | -LNO:*)
| +        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | 
-LANG:=* | -LIST:* | -LNO:*)
|            ;;
|          -lkernel32)
|            test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
| @@ -27731,7 +27731,7 @@
|  
|            ;;
|            # Ignore these flags.
| -        -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | 
-LANG:=*)
| +        -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | 
-little | -LANG:=*)
|            ;;
|          -lkernel32)
|            test x"$CYGWIN" != xyes && r_cv_c_libs="$r_cv_c_libs $r_arg"

-- 
Three out of two people have difficulties with fractions.



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

Reply via email to