[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#10898: test-suite output of automake-1.11.3 - it requested I sen
From: |
Stefano Lattarini |
Subject: |
Re: bug#10898: test-suite output of automake-1.11.3 - it requested I send it to you! |
Date: |
Tue, 28 Feb 2012 17:42:53 +0100 |
Hi Lou.
Please keep the mailing list in loop when you answer. Thanks.
I'm re-sending your answer to the list, so that it gets seen by the other
subscribers and registered in the bug tracker.
On 02/28/2012 03:05 PM, Lou Picciano wrote:
> Stefano,
>
> Tks for your notes -
> I'm encouraged to think that, with a bit of work, I may just wind up with a
> perfect version of automake!
> On specific points:
>
> Ah, likely the famous ksh bug with "$@" and empty arguments:
>
>
> <http://lists.gnu.org/archive/html/automake-patches/2009-12/msg00037.html>
>
> Can you verify that your shell suffers of the problem described there? If
> yes, a patch to fix this issue should be trivial.
>
> Looks like we reproduce that bug example exactly - what patch would you
> propose?:
>
Just a simple workaround for the affected shell function(s); see the attached
patch. Could you confirm it fixes your problem?
> address@hidden:~$ foo.sh
> ---
> $#: 0
>
> ---
> $#: 1
>
> ---
> $#: 2
> xy
> ---
> $#: 2
> xy xay
> ---
> $#: 3
> xay xy xby
> ---
> address@hidden:~$ sh foo.sh
> ---
> $#: 0
>
> ---
> $#: 1
>
> ---
> $#: 2
> xy
> ---
> $#: 2
> xy xay
> ---
> $#: 3
> xay xy xby
> ---
> address@hidden:~$ ksh foo.sh
> ---
> $#: 0
>
> ---
> $#: 1
>
> ---
> $#: 2
> xy
> ---
> $#: 2
> xy xay
> ---
> $#: 3
> xay xy xby
> ---
>
> On the 'find' question:
>
> find: bad option -links
> find: [-E] [-H | -L] path-list predicate-list
>
>
> Oops, your find (1) doesn't support the '-links' option, which is mandated
> by
> POSIX:<http://pubs.opengroup.org/onlinepubs/009604599/utilities/find.html>.
>
> Yes, exactly right - build system defaults to 'solaris' find. working on this
> one next...:
>
So you are planning to fix your system's version of find? That would be great,
since it would allow us to avoid putting another ugly workaround in automake's
rules.
> address@hidden:~$ find -links
> find: illegal option -- l
> find: [-E] [-H | -L] path-list predicate-list
>
> address@hidden:~$ /usr/gnu/bin/find -links
> /usr/gnu/bin/find: missing argument to `-links'
>
> Regards, Lou Picciano
>
Thanks,
Stefano
0001-tests-fix-a-spurious-failure-with-the-Korn-Shell.patch
Description: Text Data
- Re: bug#10898: test-suite output of automake-1.11.3 - it requested I send it to you!,
Stefano Lattarini <=