strerror.m4 test fails incorrectly on solaris 8 and earlier [and bonus gnutls bug]

2008-10-27 Thread Gary V. Vaughan
[[Simon, I'm Cc:ing you for the gnutls bug at the bottom]] The current test code inside strerror.m4 says: AC_LANG_PROGRAM( [[#include ]], [[return !*strerror (-2);]]) Which is fine for Solaris 9 and 10 which return "Unknown Error", but causes a SIGSEGV on ol

Re: gethostname: LGPL -> LGPLv2+

2008-10-27 Thread Jim Meyering
Jim Meyering <[EMAIL PROTECTED]> wrote: > I'd like to use the gethostname module in libvirt (LGPLv2+), > for use when building for mingw. > > Considering the size of the module (trivial, 10-line gethostname function > and minimal gethostname.m4), would anyone object to relaxing its license > from L

Re: gethostname: LGPL -> LGPLv2+

2008-10-27 Thread Simon Josefsson
Jim Meyering <[EMAIL PROTECTED]> writes: > I'd like to use the gethostname module in libvirt (LGPLv2+), > for use when building for mingw. > > Considering the size of the module (trivial, 10-line gethostname function > and minimal gethostname.m4), would anyone object to relaxing its license > from

new modules: times and sys_times

2008-10-27 Thread Simon Josefsson
This module can be useful for benchmarking in self-tests, for example. Thoughts? The patch does not link the modules in MODULES.html.sh, I'll take care of that in later revisions of the patch (or when pushing it). /Simon >From 9789867af6d7ffb3fd362789fe9bbc3fe335df93 Mon Sep 17 00:00:00 2001 Fro

gethostname: LGPL -> LGPLv2+

2008-10-27 Thread Jim Meyering
I'd like to use the gethostname module in libvirt (LGPLv2+), for use when building for mingw. Considering the size of the module (trivial, 10-line gethostname function and minimal gethostname.m4), would anyone object to relaxing its license from LGPL to LGPLv2+? This is mainly to avoid gnulib's l

Re: cannot recreate gllib

2008-10-27 Thread Sam Steingold
Hi Ralf, Ralf Wildenhues wrote: Reproducible with a small example, see below. Workaround: use ./config.status gllib/Makefile depfiles instead of --file=gllib/Makefile. thanks a lot for the workaround, it does solve the problem. Sam.

argp-tests: needs EXEEXT

2008-10-27 Thread Simon Josefsson
This patch fixes the argp failure in: http://autobuild.josefsson.org/gnulib/log-200810270833778763000.txt I have pushed it. I have been using the same idiom in e.g. gnutls for scripts that needs to invoke built programs. Are there any thoughts on better ways to solve this problem? /Simon >Fro

Gnulib on mingw: 32 of 418 tests fail

2008-10-27 Thread Simon Josefsson
After the lstat fix, gnulib built for mingw now links and the self-tests can be run. There are some failure, but overall pretty good shape: http://autobuild.josefsson.org/gnulib/log-200810270833778763000.txt I had to kill test-getdate.exe, it kept consuming CPU time for minutes. /Simon

Re: sys_stat: define lstat properly

2008-10-27 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: >> The following patch fixes the lstat declaration in sys_stat.in.h. > > It is all right. Sorry, I should have tested a little better last week. I have pushed it. /Simon

Re: lstat-tests

2008-10-27 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> I've pushed this self test as a first step to debug the problem. > > Thanks. I added an include, needed for the declaration of perror(). Thanks. /Simon

Re: sys_stat: define lstat properly

2008-10-27 Thread Bruno Haible
> The following patch fixes the lstat declaration in sys_stat.in.h. It is all right. Sorry, I should have tested a little better last week. Bruno

Re: lstat-tests

2008-10-27 Thread Bruno Haible
Simon Josefsson wrote: > I've pushed this self test as a first step to debug the problem. Thanks. I added an include, needed for the declaration of perror(). 2008-10-27 Bruno Haible <[EMAIL PROTECTED]> * tests/test-lstat.c: Include . *** tests/test-lstat.c.orig 2008-10-27 12:22:5

sys_stat: define lstat properly

2008-10-27 Thread Simon Josefsson
The lstat problem on mingw was because of the generated sys/stat.h containing: #if ! 0 # define lstat stat #endif #if 1 && 1 # undef lstat # define lstat rpl_lstat extern int rpl_lstat (const char *name, struct stat *buf); #endif That seems broken, and made lstat.c to call lstat, but there is no

lstat-tests

2008-10-27 Thread Simon Josefsson
There is some lstat related errors under mingw32. I've pushed this self test as a first step to debug the problem. /Simon >From 3ff8a9d0d29f6fe7ce697d9f7824c09a99bc1e1b Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[EMAIL PROTECTED]> Date: Mon, 27 Oct 2008 11:03:33 +0100 Subject: [PATCH] lstat

Gnulib (almost) compiles on mingw (was: Re: configmake: fails on mingw due to DATADIR)

2008-10-27 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > I applied this: Thanks. With that fix, and except for the following non-portable modules: --avoid=autobuild --avoid=mkdir-p --avoid=savewd --avoid=getugroups --avoid=idcache --avoid=userspec --avoid=mkancesdirs --avoid=group-member --avoid=getgroups