Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Ross Burton
Ralf, Ralf Wildenhues Ralf.Wildenhues at gmx.de writes: I've had reports of Poky breaking with libtool 2.2.2 and have isolated this to people using dash as their /bin/sh provider (Poky runs the configure script with /bin/sh). When used in this combination, the global_symbol_pipe

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Ross Burton
Gary V. Vaughan gary at gnu.org writes: If you are upgrading projects that used this idiom to libtool 2.0 or newer, you should replace those calls with direct references to the equivalent Autoconf shell variables that are set by the configure time tests before being passed to `config.status'

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Gary V. Vaughan
Hi Ross, On 22 Apr 2008, at 05:39, Ross Burton wrote: Gary V. Vaughan gary at gnu.org writes: If you are upgrading projects that used this idiom to libtool 2.0 or newer, you should replace those calls with direct references to the equivalent Autoconf shell variables that are set by the

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Bob Friesenhahn
On Tue, 22 Apr 2008, Ross Burton wrote: At the moment, GTK+ does this in configure: deplibs_check_method=`(./libtool --config; echo 'eval echo $deplibs_check_method') | sh` if test x$deplibs_check_method '!=' xpass_all || test x$enable_static = xyes ; then ... Am I right in thinking that the

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Bob Friesenhahn
On Tue, 22 Apr 2008, Ralf Wildenhues wrote: I can successfully configure and use libtool with CONFIG_SHELL=/bin/dash /bin/dash ./configure -C make Same here. The total success was astonishing to me since my copy of 'dash' is a rough port to Solaris 10. Dash is faster than bash so there

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Peter O'Gorman
Gary V. Vaughan wrote: Was this behaviour present in libtool 1.5? No it wasn't, because libtool was generated in a two stage process which required calling ./libtool --config directly. Hi Gary, I think you may be wrong. You can check the value of libtool variables in configure for libtool

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Ross Burton
On Tue, 2008-04-22 at 10:35 -0400, Gary V. Vaughan wrote: Yes, exactly. Running the expansion of LT_INIT (or AC_PROG_LIBTOOL if you didn't run autoupdate yet) in configure includes a call to _LT_CHECK_MAGIC_METHOD, which does indeed set deplibs_check_method at configure time. Right.

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Ralf Wildenhues
Hello, * Gary V. Vaughan wrote on Tue, Apr 22, 2008 at 04:35:56PM CEST: On 22 Apr 2008, at 05:39, Ross Burton wrote: Was this behaviour present in libtool 1.5? No it wasn't, because libtool was generated in a two stage process which required calling ./libtool --config directly. Charles

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Ralf Wildenhues
* Ross Burton wrote on Tue, Apr 22, 2008 at 11:11:25AM CEST: I can replicate this on my Debian Sid (up to date as of this morning) laptop, with the following configuration. /bin/sh - /bin/dash SHELL=/bin/bash PATH=/home/ross/BUILD/bin:/home/ross/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Kurt Roeckx
On Tue, Apr 22, 2008 at 08:00:08PM +0200, Ralf Wildenhues wrote: * Ross Burton wrote on Tue, Apr 22, 2008 at 11:11:25AM CEST: I can replicate this on my Debian Sid (up to date as of this morning) laptop, with the following configuration. /bin/sh - /bin/dash SHELL=/bin/bash

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Ralf Wildenhues
* Kurt Roeckx wrote on Tue, Apr 22, 2008 at 09:57:38PM CEST: On Tue, Apr 22, 2008 at 08:00:08PM +0200, Ralf Wildenhues wrote: * Ross Burton wrote on Tue, Apr 22, 2008 at 11:11:25AM CEST: I can replicate this on my Debian Sid (up to date as of this morning) laptop, with the following

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-22 Thread Gary V. Vaughan
Hallo Ralf, On 22 Apr 2008, at 13:44, Ralf Wildenhues wrote: * Gary V. Vaughan wrote on Tue, Apr 22, 2008 at 04:35:56PM CEST: On 22 Apr 2008, at 05:39, Ross Burton wrote: Was this behaviour present in libtool 1.5? No it wasn't, because libtool was generated in a two stage process which

Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-21 Thread Richard Purdie
Hi, I've had reports of Poky breaking with libtool 2.2.2 and have isolated this to people using dash as their /bin/sh provider (Poky runs the configure script with /bin/sh). When used in this combination, the global_symbol_pipe expression becomes corrupted in the generated libtool file amongst

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-21 Thread Gary V. Vaughan
Hi Richard, On 21 Apr 2008, at 19:07, Richard Purdie wrote: gtk+ also has the issues that it tries to run libtool before its been generated and I've had to patch this to run a previously generated version of libtool poky has around to solve cases like this. I'm not sure if there is a neater way

Re: Problems with libtool 2.2.2 and /bin/sh pointing to dash

2008-04-21 Thread Ralf Wildenhues
Hello Richard, * Richard Purdie wrote on Tue, Apr 22, 2008 at 01:07:48AM CEST: I've had reports of Poky breaking with libtool 2.2.2 and have isolated this to people using dash as their /bin/sh provider (Poky runs the configure script with /bin/sh). When used in this combination, the