Bug#554352: FTBFS: /usr/bin/ld: cannot find -little

2011-01-27 Thread Nobuhiro Iwamatsu
tags 554352 - pending
thanks

Hi,

A new version of slang-slirp is released. 
However, this problem is not revised in the up stream. 

In configure
-
5155 fi
5156 fi
5157 
5158   ;;
5159   # Ignore these flags.
5160 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | 
-LIST:* | -LNO:*)
5161   ;;
5162 -lkernel32)
5163   test x$CYGWIN != xyes  ac_cv_fc_libs=$ac_cv_fc_libs $ac_arg
5164   ;;
5165 -[LRuYz])
5166   # These flags, when seen by themselves, take an argument.
5167   # We remove the space between option and argument and re-iterate
5168   # unless we find an empty arg or a new option (starting with -)
-

Best regards,
  Nobuhiro



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



Bug#554352: FTBFS: /usr/bin/ld: cannot find -little

2010-02-28 Thread Nobuhiro Iwamatsu
repoen 554352
thanks

Hi,

slang-slirp 1.9.8-1 didn't fix this problem.

http://buildd.debian-ports.org/fetch.php?pkg=slang-slirparch=sh4ver=1.9.8-1stamp=1267324441file=logas=raw

Because a check of -little is not updated in configure, this problem
is not settled.


could build:
-
 5159   # Ignore these flags.
 5160 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil |
-LANG:=* | -little | -LIST:* | -LNO:*)
 5161   ;;
 5162 -lkernel32)
 5163   test x$CYGWIN != xyes 
ac_cv_fc_libs=$ac_cv_fc_libs $ac_arg
 5164   ;;
 5165 -[LRuYz])
-


could not build (same current package's configure ):
-
 5159   # Ignore these flags.
 5160 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil |
-LANG:=* | -LIST:* | -LNO:*)
 5161   ;;
 5162 -lkernel32)
 5163   test x$CYGWIN != xyes 
ac_cv_fc_libs=$ac_cv_fc_libs $ac_arg
 5164   ;;
 5165 -[LRuYz])
-

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6



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



Bug#554352: FTBFS: /usr/bin/ld: cannot find -little

2009-11-04 Thread Nobuhiro Iwamatsu
Package: slang-slirp
Version: 1.9.6-3
Severity: important
Tags: patch
User: debian-...@superh.org
Usertags: sh4
X-Debbugs-CC: debian-sup...@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

slang-slirp can not build on sh4. Because configure of this package generated
from old autoconf.

-
.
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -little
-L/usr/lib/gcc/sh4-linux-gnu/4.3.3
-L/usr/lib/gcc/sh4-linux-gnu/4.3.3/../../.. -lgfortranbegin -lgfortran
-lm
checking for dummy main to link with Fortran libraries... unknown
checking for Fortran name-mangling scheme... unknown

snip

Testing examples/cpp ...
   ... passed
make[2]: Leaving directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'
make[2]: Entering directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'

Testing examples/fortran ...
/usr/bin/ld: cannot find -little
collect2: ld returned 1 exit status
make[4]: *** [iobug] Error 1
make[3]: *** [test] Error 2
make[2]: *** [test_dir] Error 2
make[2]: Leaving directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'
make[2]: Entering directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'

Testing examples/makef ...
/usr/bin/ld: cannot find -little
collect2: ld returned 1 exit status
make[4]: *** [cos-module.so] Error 1
make[3]: *** [cos-module.so] Error 2
make[2]: *** [test_dir] Error 2
make[2]: Leaving directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'
make[2]: Entering directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'

Testing examples/stubs ...
   ... passed
make[2]: Leaving directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'
make[2]: Entering directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'

Testing examples/gl ...
   ... passed
make[2]: Leaving directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'
make[2]: Entering directory
`/build/buildd-slang-slirp_1.9.6-3-sh4-br5fDa/slang-slirp-1.9.6'

Testing examples/vec ...
/usr/bin/ld: cannot find -little
collect2: ld returned 1 exit status
make[4]: *** [vec-module.so] 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
--- configure.orig	2009-11-04 05:50:33.0 +
+++ configure	2009-11-04 05:04:58.0 +
@@ -5157,7 +5157,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_fc_libs=$ac_cv_fc_libs $ac_arg