Re: sharutils-4.11 does not compile on Solaris

2011-04-18 Thread Bruno Haible
Bruce Korb wrote: > He ran gnulib-tool in February > of 2011 and presumed that the latest and greatest would have been pulled in. The problem is in the sharutils/bootstrap script, which invokes 'autoreconf' after 'gnulib-tool'. This pitfall is now better documented than it was in February 2011 (th

Re: sharutils-4.11 does not compile on Solaris

2011-04-18 Thread Bruce Korb
On 04/18/11 16:18, Bruno Haible wrote: The current version of longlong.m4 in gnulib is version 16, and the current version install by gettextize/autopoint 0.18.1 is version 14. The release manager of sharutils ought to use the newest files from gnulib (or from a stable gnulib release [1]) and th

Re: sharutils-4.11 does not compile on Solaris

2011-04-18 Thread Bruno Haible
> > "strtoimax.c", line 71: bit-field size < 0: verify_error_if_negative_size__ > > cc: acomp failed for strtoimax.c > > gmake[6]: *** [strtoimax.o] Error 2 > > > > The operating system is Solaris 9 on sparc. The processor of the > > machine supports sparcv9 instruction set (64-bit), but the comp

Re: RFC socketpair

2011-04-18 Thread Bastien ROUCARIES
Le vendredi 8 avril 2011 17:50:02, Bruno Haible a écrit : > Hi Bastien, > > > This program work with AF_INET/AF_INET6 SOCK_STREAM/SOCK_DGRAM under > > linux. > > Did you mean to attach something to your mail? > > Bruno Could you test the following program ? I do not know how to replace the for

Re: sharutils-4.11 does not compile on Solaris

2011-04-18 Thread Eric Blake
[adding gnulib, since sharutils' strtoimax comes from gnulib] On 04/17/2011 03:41 AM, Maciej Bliziński wrote: > Hello bug-gnu-utils, > > I'd like to report a problem with sharutils-4.11 on Solaris. > Compilation with Solaris Studio compiler (a.k.a. Sun Studio, or Sun > Pro compiler) fails as foll

Re: [PATCHv2 5/4] nonblocking: reduce dependency

2011-04-18 Thread Eric Blake
On 04/17/2011 06:35 PM, Bruno Haible wrote: >> >> +nonblocking: reduce dependency >> +* tests/test-nonblocking.c: Only test sockets when in use. > > The intention was good. But this patch does not work for two reasons: > > 1) The preprocessor macro GNULIB_SOCKET is nowhere defined. Theref

Re: [PATCH 1/4] nonblocking: provide O_NONBLOCK for mingw

2011-04-18 Thread Eric Blake
On 04/17/2011 03:24 PM, Bruno Haible wrote: > Hi Eric, > >> * modules/nonblocking (Depends-on): Add open. > > This looks like a dependency that will surprise people. If a program needs the > 'nonblocking' module for pipe or socket communication, why would it need to > compile a replacement for op

Re: non-blocking I/O tests

2011-04-18 Thread Eric Blake
On 04/17/2011 12:15 PM, Bruno Haible wrote: > Hi Eric, > > There were indeed some mistakes in the test. Now I've debugged it and added a > test for non-blocking sockets as well. Thanks again for tackling all of this. > > As is, the socket test fails on Cygwin 1.5.x. After putting STDOUT_FILENO