Subject: Re: libtools patch for Linux/dash
To: None <>
From: Aleksey Cheusov <>
List: tech-pkg
Date: 09/01/2006 16:35:09
> On Fri, Sep 01, 2006 at 02:47:39PM +0300, Aleksey Cheusov wrote:
 >> If you really prefer to support pkgsrc on "coherent" platforms only,
 >> modify pkgsrc guide section 3.3.5 and mention that DASH is NOT compatible
 >> with pkgsrc version of libtool.

> It is nothing specific to libtool. The shown behaviour simply indicates
> that dash is not a POSIX compatible shell. 

> To quote SUS v3:

> 2.2.3 Double-Quotes

The problem is not with "-quoting but with builtin echo, I think.

0 pkgsrc>/bin/bash -c 'printf "%s\n" '"'"'\1'"'"
0 pkgsrc>/bin/dash -c 'printf "%s\n" '"'"'\1'"'"
0 pkgsrc>/bin/bash -c 'echo '"'"'\1'"'"
0 pkgsrc>/bin/dash -c 'echo '"'"'\1'"'"

0 pkgsrc>

Real problem is somewhere in libtool-1.5.22/configure script (or aclocal.m4)
because after './configure-ing' stage local version of libtool executable
already contains 0x01, 0x02 etc. bytes inside instead of literal \1, \2 etc.
I assume this is due to 'echo' but I cannot show exact line[s] now.

Best regards, Aleksey Cheusov.