On Sun, 14 Mar 2010 at 13:48:19 -0400, Andres Salomon wrote: > checking for library version... major 1 minor 0 subminor 22 extrastr > extraver 1000000 > -checking for versioned symbols... yes > +checking for versioned symbols... grep: libtool: No such file or directory > +./configure: line 11083: test: too many arguments > +./configure: line 11086: test: -gt: unary operator expected > +broken libtool - use libtool v1.4+; no versions > checking for symbolic-functions... no
While preparing an NMU for #589896 I noticed that this failure always occurs when configuring the biarch build, because bibuild/libtool doesn't exist. This was previously worked around by adding -DUSE_VERSIONED_SYMBOLS to the CFLAGS for the biarch build, but the grep can also be fixed like this: diff --git a/configure b/configure index 67787b4..ba61f1c 100755 --- a/configure +++ b/configure @@ -11076,7 +11076,7 @@ fi if test "$versioned" = "yes"; then # it seems that GNU ld versions since 2.10 are not broken - xres=`grep '^VERSION=' libtool | cut -d = -f 2 | cut -d \" -f 2` + xres=`grep '^VERSION=' ${srcdir}/ltmain.sh | cut -d = -f 2 | cut -d \" -f 2` major=`echo $xres | cut -d . -f 1` minor=`echo $xres | cut -d . -f 2` pass=0 I think that will fix this bug too? I've also forwarded the equivalent configure.in patch upstream. S
signature.asc
Description: Digital signature