Re: Cygwin build report on Windows XP

2010-02-17 Thread Simon Josefsson
Simon Josefsson writes: > The build times are interesting: > > gnulib-tool: 324 minutes > ./configure: 36 minutes > make check: 34 minutes Another build, on the same physical hardware, is available from: http://autobuild.josefsson.org/gnulib/log-201002171652277193000.txt The build times are no

Re: Cygwin build report on Windows XP

2010-02-17 Thread Simon Josefsson
Bruno Haible writes: >> Starting test_cond .../bin/sh: line 5: 3124 Aborted (core >> dumped) >> FAIL: test-cond.exe >> >> Starting test_lock .../bin/sh: line 5: 1336 Aborted (core >> dumped) >> FAIL: test-lock.exe >> >> Starting test_tls .../bin/sh: line 5:

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Simon Josefsson
Bruno Haible writes: > Simon Josefsson wrote: >> fixed as below. ... So this is a bug in NetBSD netdb.h > > I'm adding a mention of it to the doc: Thanks. /Simon

Re: error: redefinition of 'struct option'

2010-02-17 Thread Bruce Korb
Hi Eric, Thanks for the feedback. Unfortunately, it didn't help: Eric Blake wrote: > According to Bruce Korb on 2/17/2010 7:03 PM: >> make[3]: Entering directory `/old-home/gnu/proj/sharutils-bld/lib' >> make[4]: Entering directory `/old-home/gnu/proj/sharutils-bld/lib' >> gcc -DHAVE_CONFIG_H -I.

Re: error: redefinition of 'struct option'

2010-02-17 Thread Eric Blake
According to Bruce Korb on 2/17/2010 7:03 PM: > make[3]: Entering directory `/old-home/gnu/proj/sharutils-bld/lib' > make[4]: Entering directory `/old-home/gnu/proj/sharutils-bld/lib' > gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -MT close-hook.o -MD -MP -MF > .deps/close-hook.Tpo -c -o close-hook.o

error: redefinition of 'struct option'

2010-02-17 Thread Bruce Korb
make[3]: Entering directory `/old-home/gnu/proj/sharutils-bld/lib' make[4]: Entering directory `/old-home/gnu/proj/sharutils-bld/lib' gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -MT close-hook.o -MD -MP -MF .deps/close-hook.Tpo -c -o close-hook.o close-hook.c In file included from ./xstrtol.h:22,

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Bruno Haible
Simon Josefsson wrote: > fixed as below. ... So this is a bug in NetBSD netdb.h I'm adding a mention of it to the doc: 2010-02-17 Bruno Haible * doc/posix-headers/netdb.texi: Mention NetBSD 5.0 problem. Reported by Ludovic Courtès . *** doc/posix-headers/netdb.texi.orig T

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Paolo Bonzini
On 02/17/2010 09:20 PM, Eric Blake wrote: -git_modules_config --replace-all submodule.gnulib.url $GNULIB_SRCDIR I think this was definitely wrong. .git/config overrides .gitmodules exactly so that you can place submodule.*.url entries there that point to local repositories. --reference

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Eric Blake
According to Paolo Bonzini on 2/17/2010 10:10 AM: > On 02/17/2010 02:57 PM, Eric Blake wrote: > > Any objections? > > Where is the patch? > Here's my first cut at it. Beware that it is a slight semantic change from Jim's commit 9efa515ce last November; but I actually prefer my semantics. With Ji

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Jim Meyering
Eric Blake wrote: > git 1.6.4 learned 'git submodule add --reference dir' as a means to make > initializing git submodules use (MUCH) less bandwidth and disk space by > borrowing references from an existing on-disk repository, rather than > cloning from scratch. I would like to modify the bootstra

Re: Bogus getaddrinfo(3) on Darwin 9.2.2

2010-02-17 Thread Paolo Bonzini
int main (int argc, char *argv[]) { int err; struct addrinfo *res, hints; memset (&hints, 0, sizeof (hints)); err = getaddrinfo (NULL, "does-not-exist",&hints,&res); printf ("err = %i `%s'\n", err, gai_strerror (err)); return err != 0 ? EXIT_SUCCESS : EXIT_FAILURE; } --8<

Re: gnulib bootstrap and git submodules

2010-02-17 Thread Paolo Bonzini
On 02/17/2010 02:57 PM, Eric Blake wrote: Any objections? Where is the patch? ;-) Paolo

Re: Bogus getaddrinfo(3) on Darwin 9.2.2

2010-02-17 Thread Ludovic Courtès
Hi, Simon Josefsson writes: > l...@gnu.org (Ludovic Courtès) writes: > >> Simon Josefsson writes: >> >>> l...@gnu.org (Ludovic Courtès) writes: >>> What I meant to say is that it should return an error because resolving the ‘does-not-exist’ service fails. >>> >>> Does it only fail (we

gnulib bootstrap and git submodules

2010-02-17 Thread Eric Blake
git 1.6.4 learned 'git submodule add --reference dir' as a means to make initializing git submodules use (MUCH) less bandwidth and disk space by borrowing references from an existing on-disk repository, rather than cloning from scratch. I would like to modify the bootstrap script to honor $GNULIB_

Re: userspec-tests: cygwin link failure due to missing -lintl

2010-02-17 Thread Jim Meyering
Simon Josefsson wrote: > Eric Blake writes: > >> According to Simon Josefsson on 2/16/2010 11:27 AM: >>> ../gllib/libgnu.a(error.o): In function `print_errno_message': >>> /home/Simon/gnulib/build/gllib/error.c:153: undefined reference to >>> `_libintl_gettext' >>> collect2: ld returned 1 exit s

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Simon Josefsson
Eric Blake writes: > According to Simon Josefsson on 2/17/2010 1:27 AM: >> Thanks, fixed as below. Note that _support_ for these symbols is not >> required by POSIX (it is conditional on IPv6 support), but the symbols >> are required to be defined. > >> +# define AI_ADDRCONFIG 0 /* 0x0020: Use

Re: userspec-tests: cygwin link failure due to missing -lintl

2010-02-17 Thread Simon Josefsson
Eric Blake writes: > According to Simon Josefsson on 2/16/2010 11:27 AM: >> ../gllib/libgnu.a(error.o): In function `print_errno_message': >> /home/Simon/gnulib/build/gllib/error.c:153: undefined reference to >> `_libintl_gettext' >> collect2: ld returned 1 exit status >> make[3]: *** [test-user

Re: NetBSD 5.0’s lacks AI_* macr os

2010-02-17 Thread Eric Blake
According to Simon Josefsson on 2/17/2010 1:27 AM: > Thanks, fixed as below. Note that _support_ for these symbols is not > required by POSIX (it is conditional on IPv6 support), but the symbols > are required to be defined. > +# define AI_ADDRCONFIG 0 /* 0x0020: Use configuration of this host

Re: userspec-tests: cygwin link failure due to missing -lintl

2010-02-17 Thread Eric Blake
According to Simon Josefsson on 2/16/2010 11:27 AM: > ../gllib/libgnu.a(error.o): In function `print_errno_message': > /home/Simon/gnulib/build/gllib/error.c:153: undefined reference to > `_libintl_gettext' > collect2: ld returned 1 exit status > make[3]: *** [test-userspec.exe] Error 1 > > I'll

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Ludovic Courtès
Hi, Simon Josefsson writes: > Thanks, fixed as below. Note that _support_ for these symbols is not > required by POSIX (it is conditional on IPv6 support), but the symbols > are required to be defined. So this is a bug in NetBSD netdb.h and > should be reported. Right. Thanks! Ludo’.

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Simon Josefsson
l...@gnu.org (Ludovic Courtès) writes: > Hello, > > NetBSD 5.0’s doesn’t define ‘AI_ALL’, ‘AI_V4MAPPED’, and > ‘AI_ADDRCONFIG’. This can be worked around with something like this: > > #ifndef AI_ALL > # define AI_ALL 0 > #endif > #ifndef AI_V4MAPPED > # define AI_V4MAPPED 0 > #endif