bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool-1.5.x quote.test fails with solaris /bin/ksh


From: Alexander Kurz
Subject: libtool-1.5.x quote.test fails with solaris /bin/ksh
Date: Thu, 09 Dec 2004 19:55:38 +0100

Hi,
while building libtool-1.5.x / CVS libtool 1.1773
make check fails on tests/quote.test on
mode { compile, link, install } and quoting { \\, \", \`, \$ }
The problem occured on two Sparc-Solaris machines
with different setup when solaris /bin/ksh was chosen
as interpreter for libtool.

Obviously libtool has quoting-problems with solaris ksh.

* libtool versions tested and affected:
 libtool-1.5.10, libtool-1.5.8, libtool-1.5.2, libtool-1.5
 (CVS) GNU libtool 1.1773 2004/12/03 11:28:45

* libtool versions tested and not affected:
 libtool-1.4 libtool-1.4.2 libtool-1.4.3
 Note: libtool-1.4 will chose /bin/sh as interpreter.

* the two testing-Platforms:
SunOS xxxxxxxx 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-5_10
GNU Make version 3.79.1
automake (GNU automake) 1.4
gcc version 2.95.3 20010315 (release)
strings /bin/ksh  | grep Ver # returns: @(#)Version M-11/16/88i

SunOS xxxxxxxx 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-4
GNU Make 3.80
autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.9.3
gcc version 3.3.5
strings /bin/ksh | grep Ver # returns @(#)Version M-11/16/88i

possible workarounds:
 * eliminate all occurances of " ksh " in .configure
  after this, configure will choose /usr/local/bin/bash
 * install bash as /bin/bash
 * ignore the failed test :-(

Detailed test output (successfull tests mostly obmitted).
=== Running quote.test
== compile mode
= trying: no quoting 
= passed: mkdir .libs
 gcc -c -DVAR=test foo.c  -fPIC -DPIC -o .libs/foo.o
 gcc -c -DVAR=test foo.c -o foo.o >/dev/null 2>&1
= trying: \\ quoting
= failed: mkdir .libs
 gcc -c "-DVAR=\\test\\" foo.c  -fPIC -DPIC -o .libs/foo.o
 gcc -c "-DVAR=\\test\\" foo.c -o foo.o >/dev/null 2>&1
= trying: \" quoting
= failed: mkdir .libs
 gcc -c "-DVAR=\"test\"" foo.c  -fPIC -DPIC -o .libs/foo.o
 gcc -c "-DVAR=\"test\"" foo.c -o foo.o >/dev/null 2>&1
= trying: \` quoting
= failed: mkdir .libs
 gcc -c "-DVAR=\`test\`" foo.c  -fPIC -DPIC -o .libs/foo.o
 gcc -c "-DVAR=\`test\`" foo.c -o foo.o >/dev/null 2>&1
= trying: \$ quoting
= failed: mkdir .libs
 gcc -c "-DVAR=\$test\$" foo.c  -fPIC -DPIC -o .libs/foo.o
 gcc -c "-DVAR=\$test\$" foo.c -o foo.o >/dev/null 2>&1
= trying: "[" quoting
= passed: mkdir .libs
 gcc -c "-DVAR=[test[" foo.c  -fPIC -DPIC -o .libs/foo.o
 gcc -c "-DVAR=[test[" foo.c -o foo.o >/dev/null 2>&1
...
== link mode
= trying: no quoting
= passed: mkdir .libs
gcc -o hell -g -O -Wl,-someflag=test foo.o
= trying: \\ quoting
= failed: mkdir .libs
gcc -o hell -g -O -Wl,"-someflag=\\test\\" foo.o
= trying: \" quoting
= failed: mkdir .libs
gcc -o hell -g -O -Wl,"-someflag=\"test\"" foo.o
= trying: \` quoting
= failed: mkdir .libs
gcc -o hell -g -O -Wl,"-someflag=\`test\`" foo.o
= trying: \$ quoting
= failed: mkdir .libs
gcc -o hell -g -O -Wl,"-someflag=\$test\$" foo.o
= trying: "[" quoting
= passed: mkdir .libs
gcc -o hell -g -O -Wl,"-someflag=[test[" foo.o
...
== install mode
= trying: no quoting
= passed: install -c --something=test hell /usr/local/bin/hell
= trying: \\ quoting
= failed: install -c "--something=\\test\\" hell /usr/local/bin/hell
= trying: \" quoting
= failed: install -c "--something=\"test\"" hell /usr/local/bin/hell
= trying: \` quoting
= failed: install -c "--something=\`test\`" hell /usr/local/bin/hell
= trying: \$ quoting
= failed: install -c "--something=\$test\$" hell /usr/local/bin/hell
= trying: "[" quoting
= passed: install -c "--something=[test[" hell /usr/local/bin/hell


Thanks in advance to the project maintainers.
-- 
Alexander dot Kurz at QSC dot de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]