Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adding bug-autoconf, this thread started here: http://lists.gnu.org/archive/html/bug-gnulib/2007-06/msg00176.html Other lists can be trimmed in replies. According to Hans Aberg on 6/22/2007 7:37 AM: > On 22 Jun 2007, at 14:55, according to Eric Blake

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 6/22/2007 8:30 PM: > It is generally impossible to write reliable shell-scripts using 'echo', > when this 'echo' commands interprets backslahes. I'm not inclined to check > or rewrite the 500 echo commands in gnulib-tool. I

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Bruno Haible
Hello, Fernando Ferreira wrote: > I found out that gnulib-tools, > invoked by bootstrap to generate the gnulib-comp.m4 file, had a little > but vital bug that inserted these extraneous characters instead of the > desired behavior. The faulty lines are these, lines 2170 to 2180 on > gnulib/gnul

Re: gnulib-tool nits

2007-06-22 Thread Paul Eggert
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > + if test -z "$self_abspathname"; then self_abspathname should be initialized to the empty string, for this test to work reliably (this problem is present in the current version). Otherwise, it looks good to me.

gnulib-tool nits

2007-06-22 Thread Ralf Wildenhues
Another rough pass over gnulib-tool's tendency to spawn more processes than it needs to. OK to install? Note the IFS initialization is needed because POSIX allows shells to have it unset at script start, in which case field splitting is required to work as if IFS was set properly, but it would br

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Ralf Wildenhues
Hello Eric, Fernando, * Eric Blake wrote on Fri, Jun 22, 2007 at 03:04:06PM CEST: > According to Ralf Wildenhues on 6/22/2007 6:47 AM: > > Thank you for the nice and complete bug report and analysis. Please try > > this patch. OK to install? [...] > Go ahead and commit. * Fernando Ferreira wrot

Re: Question about POSIX regex support

2007-06-22 Thread Gallagher James
Thanks for the script! James On Jun 22, 2007, at 2:57 AM, James Youngman wrote: On 6/22/07, Bruno Haible <[EMAIL PROTECTED]> wrote: 3) Verify that every source file that includes gnulib headers starts out with #include . Here's a quick way of doing that (derived from the coreuti

Re: Question about POSIX regex support

2007-06-22 Thread Gallagher James
On Jun 21, 2007, at 6:07 PM, Bruno Haible wrote: Hello, Gallagher James wrote: System specifics: Fedora Core 6, intel, gcc/++ 4.1.1. And what's the CPU? x86 or x86_64? 32-bit or 64-bit? x86_64. Problem 1: With a string "123abcdef" and a regex of "abc", after calling regex(...) th

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Hans Aberg
On 22 Jun 2007, at 14:55, according to Eric Blake: According to Hans Aberg on 6/22/2007 6:13 AM: Autoconf requires the latest m4, but it actually calls gm4 it seems. So I installed the latest M4, which ended up in /usr/local/bin/m4 on my system, and added a soft link /usr/local/bin/gm4 -> /

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Hans Aberg
On 22 Jun 2007, at 14:27, Fernando Ferreira wrote: Autoconf requires the latest m4, but it actually calls gm4 it seems. So I installed the latest M4, which ended up in /usr/local/ bin/m4 on my system, and added a soft link /usr/local/bin/gm4 -> /usr/local/bin/m4 Then it worked. Well, I sa

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Fernando Ferreira
Ralf Wildenhues wrote: Hello Fernando, * Fernando Ferreira wrote on Fri, Jun 22, 2007 at 01:42:25PM CEST: [...] # You need to invoke gt_JAVACOMP yourself, possibly with arguments. AC_CONFIG_FILES( :build-aux/ ) # You need to invoke gt_JAVAEXEC yourself, possibly with arguments. AC_CONFIG

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ralf Wildenhues on 6/22/2007 6:47 AM: > Thank you for the nice and complete bug report and analysis. Please try > this patch. OK to install? > > Cheers, > Ralf > > * gnulib-tool (func_add_or_update, func_create_testdir): Do not >

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Hans Aberg on 6/22/2007 6:13 AM: > Autoconf requires the latest m4, but it actually calls gm4 it seems. So > I installed the latest M4, which ended up in /usr/local/bin/m4 on my > system, and added a soft link > /usr/local/bin/gm4 -> /us

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Ralf Wildenhues
Hello Fernando, * Fernando Ferreira wrote on Fri, Jun 22, 2007 at 01:42:25PM CEST: [...] > # You need to invoke gt_JAVACOMP yourself, possibly with arguments. > AC_CONFIG_FILES( :build-aux/ ) > # You need to invoke gt_JAVAEXEC yourself, possibly with arguments. > AC_CONFIG_FILES( :build-aux/ )

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Hans Aberg
On 22 Jun 2007, at 13:42, Fernando Ferreira wrote: Greetings, fellow developers! I'm trying to compile bison from CVS, but it keeps failing at bootstrap phase. Here is what I'm doing: cvs -d:pserver:[EMAIL PROTECTED]:/sources/bison co bison cd bison/ ./bootstrap And here is the er

Re: Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Fernando Ferreira
Hans Aberg wrote: On 22 Jun 2007, at 13:42, Fernando Ferreira wrote: Greetings, fellow developers! I'm trying to compile bison from CVS, but it keeps failing at bootstrap phase. Here is what I'm doing: cvs -d:pserver:[EMAIL PROTECTED]:/sources/bison co bison cd bison/ ./bootstrap

Bug in gnulib-tools prevents bison from bootstrapping

2007-06-22 Thread Fernando Ferreira
Greetings, fellow developers! I'm trying to compile bison from CVS, but it keeps failing at bootstrap phase. Here is what I'm doing: cvs -d:pserver:[EMAIL PROTECTED]:/sources/bison co bison cd bison/ ./bootstrap And here is the error message it is giving me in the (abrupt) end of the

Re: Question about POSIX regex support

2007-06-22 Thread James Youngman
On 6/22/07, Bruno Haible <[EMAIL PROTECTED]> wrote: 3) Verify that every source file that includes gnulib headers starts out with #include . Here's a quick way of doing that (derived from the coreutils Makefile.maint) :- #! /usr/bin/env python import re import sys FIRST_INCLUDE =