Re: snapshot in preparation for m4 1.4.12

2008-08-09 Thread Tom G. Christensen
On Thu, Aug 07, 2008 at 07:37:47AM -0600, Eric Blake wrote: Therefore I would appreciate some feedback before making the 1.4.12 release (if you encounter a testsuite failure in the m4 suite, please rerun with 'make -k check' before reporting it, so that the gnulib testsuite is also run). This

Re: snapshot in preparation for m4 1.4.12

2008-08-13 Thread Tom G. Christensen
On Wed, Aug 13, 2008 at 06:05:53AM -0600, Eric Blake wrote: According to Tom G. Christensen on 8/9/2008 6:41 AM: Hello Tom, | | On Irix 6.5.30 I see gnulib test failures: | ./test-c-stack.sh[7]: 12954353 Memory fault(coredump) | FAIL: test-c-stack.sh | FAIL: test-c-stack2.sh Are you

Re: sa_sigaction [was: snapshot in preparation for m4 1.4.12]

2008-08-14 Thread Tom G. Christensen
On Wed, Aug 13, 2008 at 08:14:43PM -0600, Eric Blake wrote: According to Tom G. Christensen on 8/13/2008 2:45 PM: Weird. So Irix 5.3 has sigaction, but not sa_sigaction? Can you please post the definition of struct sigaction from signal.h? From sys/signal.h: typedef struct sigaction

c-stack and Irix [Was Re: sa_sigaction]

2008-08-24 Thread Tom G. Christensen
On Fri, Aug 15, 2008 at 10:15:52PM -0600, Eric Blake wrote: According to Tom G. Christensen on 8/14/2008 9:03 AM: On Wed, Aug 13, 2008 at 08:14:43PM -0600, Eric Blake wrote: According to Tom G. Christensen on 8/13/2008 2:45 PM: it looks like c-stack will work with libsigsegv, once we

Re: next snapshot in preparation for m4 1.4.12

2008-09-08 Thread Tom G. Christensen
On Sun, Sep 07, 2008 at 08:29:44AM -0600, Eric Blake wrote: According to Tom G. Christensen on 9/7/2008 4:47 AM: I've spent some time staring at m4s c-stack conftest program and a similar one from libsigsegv and after some trial and error I've isolated a change which will cause the m4 c

mbchar fails to build on Irix 5.3

2008-09-19 Thread Tom G. Christensen
I was trying to build GNU tar 1.20 but got stuck on gnulib mbchar. I created a testdir from the latest gnulib mbchar and this is the result: make[3]: Entering directory `/usr/people/tgc/mbchar.test/mbchar/gllib' source='localcharset.c' object='localcharset.o' libtool=no \ DEPDIR=.deps

Re: mbchar fails to build on Irix 5.3

2008-09-20 Thread Tom G. Christensen
On Sat, Sep 20, 2008 at 02:52:28PM +0200, Bruno Haible wrote: Thanks for reporting this. The problem is apparently that on this platform, neither wchar.h not wctype.h defines wint_t. I'm applying the attached tentative workaround. When you create a new testdir from latest gnulib mbchar, does

Re: c-stack and Irix - libsigsegv

2008-09-21 Thread Tom G. Christensen
On Sun, Sep 21, 2008 at 04:03:54PM +0200, Bruno Haible wrote: Hi Eric, Here's the minimal patch needed to CVS libsigsegv to expose the bug, as well as work around it for Irix 5.3. Nice work! I'm applying this only slightly modified version. - In the configuration test, keep room to

Re: c-stack and Irix - libsigsegv

2008-09-22 Thread Tom G. Christensen
On Mon, Sep 22, 2008 at 12:01:23AM +0200, Bruno Haible wrote: Tom G. Christensen wrote: cc-3316 cc: ERROR File = handler-unix.c, Line = 490 The expression must be a pointer to a complete object type. ss.ss_sp = extra_stack + extra_stack_size - sizeof (void

Re: mark atexit, memchr, memcmp, memcpy, memmove, memset, raise, rmdir, strcspn, strpbrk as obsolete

2008-10-20 Thread Tom G. Christensen
On Sun, Oct 19, 2008 at 11:38:01PM +0200, Bruno Haible wrote: Hi Jim, Gnulib is more than a little about portability. Do we really want to discourage creation of packages that will work on IRIX 6.1 and AIX older than 4.3.2? The systems which don't have atexit() ... raise() are things

Re: lib/regex_internal.h on 1.4.11

2008-10-28 Thread Tom G. Christensen
On Wed, Oct 08, 2008 at 02:06:28AM +0200, Bruno Haible wrote: Eric Blake wrote: Indeed, we're in a maze of twisty little HP cc compiler bugs: http://lists.gnu.org/archive/html/bug-gnulib/2008-04/msg00179.html http://lists.gnu.org/archive/html/bug-gnulib/2008-08/msg0.html

flock fails on sparc-sun-solaris2.6

2008-12-09 Thread Tom G. Christensen
Hello, Using Simons daily-build script I got this failure: depbase=`echo flock.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -I../intl -D_REENTRANT -g -O2 -MT flock.o -MD -MP -MF $depbase.Tpo -c -o

Re: flock fails on sparc-sun-solaris2.6

2008-12-18 Thread Tom G. Christensen
On Tue, Dec 09, 2008 at 10:27:39PM +0100, Tom G. Christensen wrote: Hello, Using Simons daily-build script I got this failure: depbase=`echo flock.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -I

Re: flock fails on sparc-sun-solaris2.6

2008-12-18 Thread Tom G. Christensen
-in function 'memset' This one also seems simple. Patch below. Will push unless there are objections. Push both of your simple fixes, but with one modification: * lib/flock.c: Need to include errno.h. Reported by Tom G. Christensen tgc at jupiterrise.com. You also need to include

Testresults for sparc-sun-solaris2.6

2008-12-20 Thread Tom G. Christensen
The compiler used was GCC 4.3.2 configured for native as/ld. GNU gettext 0.17 and GNU libiconv 1.12 was installed and available. Build flags set in env: CPPFLAGS=-I/usr/tgcware/include LDFLAGS=-L/usr/tgcware/lib -Wl,-R,/usr/tgcware/lib Using Simons daily snapshot the results are:

Re: Testresults for sparc-sun-solaris2.6

2008-12-20 Thread Tom G. Christensen
On Sat, Dec 20, 2008 at 03:47:41PM +0100, Bruno Haible wrote: Unconnected socket test... passed Connected sockets test... failed (expecting POLLHUP after shutdown) General socket test with fork... failed (expecting POLLHUP after shutdown) Pipe test... passed FAIL: test-poll

Conflicting types for mblen on Solaris 2.6

2009-01-01 Thread Tom G. Christensen
The current daily snapshot is failing to build fprintftime: depbase=`echo fprintftime.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -I../intl -I/usr/tgcware/include -D_REENTRANT -g -O2 -MT fprintftime.o

Re: -0.0L on Irix

2009-01-12 Thread Tom G. Christensen
On Mon, Jan 12, 2009 at 06:55:17AM -0700, Eric Blake wrote: According to Eric Blake on 1/9/2009 7:50 PM: But so far, I've discovered this about -0.0L on Irix 6.2: With 'cc -n32', LDBL_MIN is a compile-time constant; but with 'gcc', I get an error when trying to use it to initialize a

ulc-wordbreaks-tests needs libiconv

2009-02-18 Thread Tom G. Christensen
I'm building the latest gnulib daily snapshot on i386-pc-solaris2.6 and it fails with a link error in the testsuite: gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib -Wl,-R,/usr/tgcware/lib -Wl,-z,ignore -o test-ulc-wordbreaks test-ulc-wordbreaks.o ../gllib/libgnu.a -lm Undefined

Re: computing long double NaN on Irix 6.5

2009-02-27 Thread Tom G. Christensen
On Thu, Feb 26, 2009 at 09:17:28PM -0700, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 2/26/2009 4:57 PM: I've done some investigation into failures of test-frexpl, test-isnanl, and test-vasnprintf-posixt-ldexpl.c:130: assertion failed

Building uninorm tests fail with external gettext

2009-02-27 Thread Tom G. Christensen
Trying to build the daily snapshot on IRIX 6.5.30 I run into problems when building with external gettext: cc -c99 -g -L/usr/nekoware/lib -Wl,-rpath,/usr/nekoware/lib -Wl,--as-needed -o test-u32-nfc-big test-u32-nfc-big.o test-u32-normalize -big.o ../gllib/libgnu.a -lm (null): WARNING 1 :

Re: fts: make find *much* faster on dirent.d_type-challenged FS

2009-02-27 Thread Tom G. Christensen
On Fri, Feb 13, 2009 at 11:21:11AM +0100, Simon Josefsson wrote: How does that work? Do most compilers out there really support decl-after-stmt (not likely?!)? MIPSpro anyversion on IRIX in C89 mode doesn't like decl-after-stmt. The MIPSpro 7.4.x releases has a C99 mode where decl-after-stmt

safe-alloc.h uses __GNUC_PREREQ without defining it

2009-02-28 Thread Tom G. Christensen
Building the latest snapshot on sparc-sun-solaris2.6 fails: In file included from safe-alloc.c:27: safe-alloc.h:30:21: error: missing binary operator before token ( make[4]: *** [safe-alloc.o] Error 1 It seems __GNUC_PREREQ is used undefined at safe-alloc.h:30. -tgc

Re: fts: make find *much* faster on dirent.d_type-challenged FS

2009-02-28 Thread Tom G. Christensen
On Sat, Feb 28, 2009 at 06:27:17AM -0700, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tom G. Christensen on 2/27/2009 2:19 PM: On Fri, Feb 13, 2009 at 11:21:11AM +0100, Simon Josefsson wrote: How does that work? Do most compilers out there really support

Re: sys_socket: sockaddr_storage

2009-05-07 Thread Tom G. Christensen
On Thu, May 07, 2009 at 03:09:17PM +0200, Simon Josefsson wrote: We got a report about sockaddr_storage on Solaris 2.6: http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3524 How about the patch below? snip I applied this patch and gave the result a whirl on the actual

Re: sys_socket: sockaddr_storage

2009-05-07 Thread Tom G. Christensen
On Thu, May 07, 2009 at 07:12:31PM +0200, Simon Josefsson wrote: Tom G. Christensen t...@jupiterrise.com writes: I applied this patch and gave the result a whirl on the actual Solaris 2.6 system in question but it did not do what I expected it to do. ... I've dumped config.log

Re: sys_socket: sockaddr_storage

2009-05-08 Thread Tom G. Christensen
On Fri, May 08, 2009 at 01:44:57AM +0200, Bruno Haible wrote: Simon Josefsson wrote: +#define _SS_PADSIZE (_SS_SIZE - (2 * sizeof (__ss_aligntype))) If the goal is that sizeof (struct sockaddr_storage) == _SS_SIZE, then the formula is incorrect. It should be (_SS_SIZE - (max (sizeof

Re: sys_socket: sockaddr_storage

2009-05-13 Thread Tom G. Christensen
On Fri, May 08, 2009 at 09:17:11AM +0200, Simon Josefsson wrote: Indeed, the logic was reversed. Please test updated patch in the other e-mail I just sent. Or wait a few days for it to be part of GnuTLS 2.7.x to test it in real code. I've just tested with gnulib HEAD and it works fine.

Re: HOST_NAME_MAX

2009-08-06 Thread Tom G. Christensen
On Sun, Aug 02, 2009 at 03:31:24PM +0200, Bruno Haible wrote: 2009-08-02 Simon Josefsson si...@josefsson.org Bruno Haible br...@clisp.org Ensure HOST_NAME_MAX as part of the gethostname module. * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): On native Windows

Tests failing to build with external getttext

2009-08-12 Thread Tom G. Christensen
On Solaris 2.6 building the daily snapshot fails due to missing symbols in some of the tests: Undefined first referenced symbol in file libintl_gettext ../gllib/libgnu.a(pipe-filter-gi.o) Undefined first

Re: Tests failing to build with external getttext

2009-08-21 Thread Tom G. Christensen
On Fri, Aug 14, 2009 at 01:38:39PM +0200, Tom G. Christensen wrote: Unfortunately another one just turned up: gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib -Wl,-R,/usr/tgcware/lib -Wl,-z,ignore -o test-getopt test-getopt.o ../gllib/libgnu.a -lm Undefined first referenced

Daily snapshot fails to build with external gettext

2009-09-12 Thread Tom G. Christensen
Once again the snapshot is broken when using external gettext: gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib -Wl,-R,/usr/tgcware/lib -Wl,-z,ignore -o test-parse-duration test-parse-duration.o ../gllib/libgnu.a -lm Undefined first referenced symbol in

Re: [m4-1.4.11] build feedback

2008-04-13 Thread Tom G. Christensen
Bruno Haible wrote: Eric Blake wrote, citing Nelson Beebe: | | Machinetype:SGI O2 R1-SC (150 MHz);IRIX 6.5 | Configure environment: CC=c89 CXX=CC CFLAGS=-I/usr/local/include

Re: [m4-1.4.11] build feedback

2008-04-13 Thread Tom G. Christensen
Bruno Haible wrote: Tom G. Christensen wrote: I see the same test failure when building m4-1.4.11 on Irix 5.3 and 6.2 regardless of compiler used. Irix 6.2 with MIPSpro 7.3.0 or GCC 4.3.0 (Indigo2 R10K): test-vasprintf-posix.c:1309: assertion failed /bin/ksh[9]: 10221 Abort(coredump) FAIL

Re: [m4-1.4.11] build feedback

2008-04-13 Thread Tom G. Christensen
Bruno Haible wrote: Thanks, that's good so far. The interesting stuff is to look - what happens in line vasnprintf.c:2734, Single stepping from test-vasprintf-posix:1305 does not seem to stop there (closest is 2531) - at the result in line vasnprintf.c:4635. Single stepping indeed

verror.h should use _GL_ATTRIBUTE_FORMAT

2011-03-20 Thread Tom G. Christensen
Hello, I ran into a build error when building GNU m4 1.4.16 with the SGI compiler on IRIX 5.3 and 6.2. The problem turned out to be in verror.h from gnulib. It uses the __attribute__ format directive directly instead of the usual _GL_ATTRIBUTE_FORMAT macro. I don't have the buildlogs available

regex-quote.c fails to build on Solaris 2.6

2011-05-29 Thread Tom G. Christensen
Hello, While trying to build a snapshot of gnulib on Solaris 2.6 I got this build error: depbase=`echo regex-quote.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -D_REENTRANT -g -O2 -MT regex-quote.o -MD -MP -MF $depbase.Tpo -c -o

Re: build on Solaris 2.6

2011-05-30 Thread Tom G. Christensen
On Mon, May 30, 2011 at 12:20:22PM +0200, Bruno Haible wrote: Thanks for the report and logs. Thanks for looking. test-nonblocking-writer.h:101: assertion failed Abort - core dumped FAIL: test-nonblocking-socket.sh The machine is just a bit slow. Actually no. The machine is a VM

Re: build on Solaris 2.6

2011-05-30 Thread Tom G. Christensen
On Mon, May 30, 2011 at 09:19:35PM +0200, Bruno Haible wrote: Tom G. Christensen wrote: Undefined first referenced symbol in file libintl_gettext ../gllib/libgnu.a(openat-die.o) ld: fatal: Symbol referencing errors

Re: build on Solaris 2.6

2011-06-01 Thread Tom G. Christensen
On 05/31/2011 12:52 AM, Bruno Haible wrote: 2011-05-31 Bruno Haiblebr...@clisp.org Fix link errors in tests: openat-die uses gettext-h. * modules/areadlinkat-tests (Makefile.am): Link test-areadlinkat against $(LIBINTL). * modules/dirent-safer-tests

Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions

2011-06-16 Thread Tom G. Christensen
On 06/16/2011 12:12 AM, Bruno Haible wrote: I wrote: Please review and comment. I'll wait for objections for a week. The week is over. I have now pushed the series of patches, after doing an additional test with --create-megatestdir. Something went wrong because a bootstrap with all modules

Re: spawn-pipe tests on OSF/1

2011-06-17 Thread Tom G. Christensen
On 06/17/2011 01:45 PM, Bruno Haible wrote: On 2011-06-06 I wrote: spawn-pipe tests: Like the child program only against libc. 2011-06-17 Bruno Haiblebr...@clisp.org spawn-pipe tests: Fix link error. * tests/test-spawn-pipe-child.c: Undefine fflush. With this

Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions

2011-06-18 Thread Tom G. Christensen
On 06/16/2011 12:12 AM, Bruno Haible wrote: I wrote: Please review and comment. I'll wait for objections for a week. The week is over. I have now pushed the series of patches, after doing an additional test with --create-megatestdir. I found another regression from this patch series. On

test-sched build error on CentOS 5

2011-09-19 Thread Tom G. Christensen
Hello, Building a full gnulib bootstrap failed on CentOS 5: depbase=`echo test-sched.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib -g -O2 -Wall -MT test-sched.o -MD -MP -MF

test-renameat does not cleanup after itself

2011-10-09 Thread Tom G. Christensen
Hello, Running make distcheck on CentOS 5 dies with: ERROR: files left in build directory after distclean: ./gltests/test-renameat.too make[1]: *** [distcleancheck] Error 1 -tgc

Typo in modules/ffsll

2011-10-10 Thread Tom G. Christensen
Hello, There's a typo in modules/ffsll, a missing 'l' in the gl_STRING_MODULE_INDICATOR line. It causes test-ffsll to fail building on platforms that lack this function since the gnulib replacement is not activated (GNULIB_FFSLL=0). Solaris 9 with Sun C 5.9: cc -DHAVE_CONFIG_H -I.

xstrtoll.c build error on Tru64 5.1B

2011-10-15 Thread Tom G. Christensen
Hello, The xstrtoll module fails to build on Tru64: source='xstrtoll.c' object='xstrtoll.o' libtool=no \ DEPDIR=.deps depmode=tru64 /bin/ksh ../build-aux/depcomp \ cc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -g -c xstrtoll.c cc: Error: xstrtol.c, line 49: In this

Build errors on IRIX 5.3

2011-10-29 Thread Tom G. Christensen
Hello, Building the usual full snapshot with tests on IRIX 5.3 resulted in some build errors and no tests being run. These are the issues: gcc -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I../intl -I/usr/ tgcware/include -g

Re: Build errors on IRIX 5.3

2011-11-01 Thread Tom G. Christensen
On 10/31/2011 10:46 PM, Bruno Haible wrote: Hi Tom, Building the usual full snapshot with tests on IRIX 5.3 resulted in some build errors and no tests being run. ... I've dumped the full build log and a copy of config.log here: http://jupiterrise.com/tmp/gnulib-gb3e1b8d-irix53-gcc346-build.log

Re: next m4 snapshot [was: debugging M4 on AIX 5.3]

2010-08-31 Thread Tom G. Christensen
On Mon, Aug 30, 2010 at 01:55:02PM -0600, Eric Blake wrote: [phooey - hit send too soon] On 08/30/2010 01:53 PM, Eric Blake wrote: On 08/21/2010 02:42 AM, Ralf Wildenhues wrote: I'm trying to debug the recent regression of git branch-1.4 M4 over M4 1.4.14 on AIX. Here's the latest

Re: IRIX failures [was: next m4 snapshot]

2010-09-01 Thread Tom G. Christensen
On Wed, Sep 01, 2010 at 08:08:47AM -0600, Eric Blake wrote: On 08/31/2010 02:27 PM, Tom G. Christensen wrote: It fails to build with gcc 4.3.1 (and 4.5.0): gcc -std=gnu99 -I. -g -O2 -MT printf-args.o -MD -MP -MF .deps/printf-args.Tpo -c -o printf-args.o printf-args.c In file

Re: test-vc-cvs [was: IRIX failures]

2010-09-02 Thread Tom G. Christensen
On Wed, Sep 01, 2010 at 08:04:50PM -0600, Eric Blake wrote: On 09/01/2010 12:48 PM, Tom G. Christensen wrote: + exec zsh ./test-vc-list-files-cvs.sh --no-reexec Tom, since the reexec lost all tracing, what about: zsh -vx ./test-vc-list-files-cvs.sh Sure, output here: http

Re: iswblank failure

2010-09-02 Thread Tom G. Christensen
/wctype.texi: Likewise. Reported by Tom G. Christensen t...@jupiterrise.com. This change causes problems: Inetutils, http://hydra.nixos.org/build/617935 libunistring, http://hydra.nixos.org/build/618008 Octave, http://hydra.nixos.org/build/618125 ... The error is: --8

Re: [PATCH] strtod: work around IRIX 6.5 bug

2010-09-02 Thread Tom G. Christensen
on shorter string if exponent parse was invalid. Reported by Tom G. Christensen. Signed-off-by: Eric Blake ebl...@redhat.com --- I applied this on top of a fresh gnulib checkout and unfortunately the test still fails in the same place. -tgc

Re: minimum perl version

2010-09-02 Thread Tom G. Christensen
On Thu, Sep 02, 2010 at 01:53:54PM +0200, Jim Meyering wrote: Sure. I've just pushed the following. Can someone confirm that 5.6.0 works, or even find what precise version is barely new enough? I just tried the test on RHEL 2.1 with perl 5.6.1 and it fails in the same way. The test works on

Re: test-vc-cvs [was: IRIX failures]

2010-09-02 Thread Tom G. Christensen
On Thu, Sep 02, 2010 at 08:25:51AM -0600, Eric Blake wrote: On 09/02/2010 08:02 AM, Tom G. Christensen wrote: echo $BASH_VERSION + echo '3.1.16(1)-release' 3.1.16(1)-release test $(echo y) = y || exit 1 cho y ++ cho y bash: line 2: cho: command not found + test = y bash: line 2: test

Re: [PATCH] strtod: work around IRIX 6.5 bug

2010-09-08 Thread Tom G. Christensen
on shorter string if exponent parse was invalid. * tests/test-strtod.c (main): Add check for 0x1p 2. Reported by Tom G. Christensen. I can confirm this also fixes the issue on IRIX 6.5. -tgc

Re: test-langinfo failures on Irix 5.3

2010-09-09 Thread Tom G. Christensen
On Thu, Sep 09, 2010 at 03:07:36PM -0600, Eric Blake wrote: I'm getting this compilation failure, and haven't had time to look into it further yet... gcc -I. -I../lib -DIN_M4_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../lib -I./../lib -g -O2 -MT test-langinfo.o -MD -MP -MF

Re: test-langinfo failures on Irix 5.3

2010-09-10 Thread Tom G. Christensen
On Fri, Sep 10, 2010 at 08:27:41PM +0200, Bruno Haible wrote: 2010-09-10 Bruno Haible br...@clisp.org langinfo, nl_langinfo: Fix for IRIX 5.3. * m4/langinfo_h.m4 (gl_LANGINFO_H): Test whether langinfo.h defines T_FMT_AMPM, YESEXPR. Set HAVE_LANGINFO_T_FMT_AMPM,

Re: test-langinfo failures on Irix 5.3

2010-09-10 Thread Tom G. Christensen
On Fri, Sep 10, 2010 at 11:20:52PM +0200, Bruno Haible wrote: 2010-09-10 Bruno Haible br...@clisp.org langinfo: Fix last commit. * m4/langinfo_h.m4 (gl_LANGINFO_H): Initialize HAVE_LANGINFO_T_FMT_AMPM, HAVE_LANGINFO_YESEXPR. Reported by Tom G. Christensen t

Re: make dist fails on init.sh

2012-01-01 Thread Tom G. Christensen
On 01/01/2012 03:58 PM, Jim Meyering wrote: Tom G. Christensen wrote: Since 2011-12-24 my daily make distcheck is failing with this error: ... make[1]: Entering directory `/home/tgc/projects/gnulib/build/gllib' make[1]: *** No rule to make target `init.sh', needed by `distdir'. Stop. make[1

Re: remainder: support for MSVC

2012-02-26 Thread Tom G. Christensen
On 02/25/2012 06:31 PM, Bruno Haible wrote: In passing, also fix the missing declaration problem on IRIX 5.3 (untested). I checked on IRIX 5.3 and it works as intended. -tgc

Testdir creation fails with --single-configure and havelib module

2012-02-26 Thread Tom G. Christensen
Hello, I just noticed that creating a testdir including the havelib module fails when using the --single-configure option to gnulib-tool. $ ./gnulib-tool --create-testdir --dir=../havelib --with-tests --single-configure havelib Module list with included dependencies (indented): havelib

test-system-quote-child.c build error on CentOS 5

2012-05-22 Thread Tom G. Christensen
Hello, Since May 9 my gnulib daily build running on CentOS 5 has failed to complete like this: gcc -std=gnu99 -g -O2 -Wall -o test-system-quote-child test-system-quote-child.o -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm test-system-quote-child.o: In function `main':

Re: test-system-quote-child.c build error on CentOS 5

2012-05-28 Thread Tom G. Christensen
On 05/22/2012 05:42 PM, Tom G. Christensen wrote: Hello, Since May 9 my gnulib daily build running on CentOS 5 has failed to complete like this: gcc -std=gnu99 -g -O2 -Wall -o test-system-quote-child test-system-quote-child.o -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm test-system-quote

Re: test-system-quote-child.c build error on CentOS 5

2012-05-29 Thread Tom G. Christensen
On 05/29/2012 04:34 AM, Paul Eggert wrote: On 05/28/2012 08:25 AM, Tom G. Christensen wrote: As a workaround I've added $(LDADD) to test_system_quote_child_LDADD in modules/system-quote-tests. That doesn't sound right, given the comments there. I don't understand the situation fully and do

gnulib configure.ac and autopoint?

2013-01-05 Thread Tom G. Christensen
Hello, Using autopoint from gettext 0.18.2 I am unable to create a gnulib testdir. $ gnulib/gnulib-tool --create-testdir --with-tests --dir=t gettext Module list with included dependencies (indented): extensions gettext gettext-h havelib Notice from module gettext: You must add

Re: gnulib configure.ac and autopoint?

2013-01-05 Thread Tom G. Christensen
On 01/05/2013 05:09 PM, Paul Eggert wrote: Isn't there a similar problem with autopoint 0.18.1? Yes and earlier versions aswell (0.17, 0.14.1). -tgc

Build errors on Solaris 2.6 7

2013-01-06 Thread Tom G. Christensen
Hello, Building a gnulib snapshot containing all modules tests fails on Solaris 2.6 7. For Solaris 2.6 only I'm seeing errors like this: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I../intl -I/

Re: Build errors on Solaris 2.6 7

2013-01-06 Thread Tom G. Christensen
On 01/06/2013 04:47 PM, Paul Eggert wrote: On 01/06/2013 07:11 AM, Tom G. Christensen wrote: For Solaris 2.6 only I'm seeing errors like this: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I../intl -I/ usr/tgcware

Re: Build errors on Solaris 2.6 7

2013-01-08 Thread Tom G. Christensen
On 01/07/2013 01:22 AM, Paul Eggert wrote: It's been a long time since I had access to those obsolete platforms (even my last Solaris 8 production host bit the dust a few months ago) so I'm afraid that you'll have to do more of the digging; it doesn't appear to be something that I can easily do

Re: Build errors on Solaris 2.6 7

2013-01-09 Thread Tom G. Christensen
On 01/08/2013 09:33 PM, Paul Eggert wrote: Thanks for the diagnosis. Does the following patch fix that problem for you? I hope it's closer to the right solution. It does, thank you. I've checked Solaris 2.6,7 and 9 and it ensures that gnulib stdlib.h is parsed last as expected. stdlib:

Re: Build errors on Solaris 2.6 7

2013-01-09 Thread Tom G. Christensen
On 01/06/2013 04:11 PM, Tom G. Christensen wrote: depbase=`echo c-strtod.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I../intl -I/usr/tgcw are/include -D_REENTRANT -g -O2 -MT c-strtod.o

Re: Build errors on Solaris 2.6 7

2013-01-10 Thread Tom G. Christensen
On 01/10/2013 01:04 AM, Paul Eggert wrote: On 01/09/13 08:30, Tom G. Christensen wrote: We get this chain of includes on Solaris 2.6 and 7: c-strtod.c - gnuliblocale.h - systemlocale.h - gettextlibintl.h - Sorry, what's the gettextlibintl.h? I just now built and installed gettext

Re: Build errors on Solaris 2.6 7

2013-01-12 Thread Tom G. Christensen
include_nextlocale.h when being invoked recursively. This prevents problems on Solaris 2.6 and 7 when combining the localename module with GNU gettext 0.18.2. Problem reported by Tom G. Christensen in http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00084.html. It works, thank you. I applied it also

Re: Build errors on Solaris 2.6 7

2013-01-13 Thread Tom G. Christensen
On 01/13/2013 06:54 AM, Paul Eggert wrote: On 01/12/2013 02:49 AM, Tom G. Christensen wrote: I think the test still needs to be buildable. ... For Solaris 8 9 it needs to link with libsocket to get these functions I installed into gnulib the following, which I hope fixes the above

Re: Build errors on Solaris 2.6 7

2013-01-19 Thread Tom G. Christensen
On 01/12/2013 11:49 AM, Tom G. Christensen wrote: For Solaris 2.6 the timestruc_t problem remains and I will look at that next. On Solaris 2.6 time.h includes sys/time.h for struct timespec which causes a problem in the include order. It ends up as gnulib time.h - system time.h - gnulib sys

Re: Build errors on Solaris 2.6 7

2013-01-19 Thread Tom G. Christensen
On 01/19/2013 08:55 PM, Paul Eggert wrote: Does the following fix things? No, it just causes a different error: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\ -DNO_XMALLOC -DEXEEXT=\\ -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I../intl -I/usr/tgcware/include -D_REENTRANT -g -O2 -c -o

Re: Build errors on Solaris 2.6 7

2013-01-20 Thread Tom G. Christensen
On 01/20/2013 04:14 AM, Paul Eggert wrote: How about the following patch instead? It relies onsys/types.h includingsys/select.h if and only if !defined __XOPEN_OR_POSIX || defined __EXTENSIONS__. This last expression is something I picked up on Solaris 10, and I'm hoping it's also good for

Re: Build errors on Solaris 2.6 7

2013-01-21 Thread Tom G. Christensen
On 01/21/2013 07:58 AM, Paul Eggert wrote: Oh, my. I guess it's time to try a more-drastic fix. Does the following work for you? Unfortunately not. It works for Solaris 7-10 but still fails in the same way on Solaris 2.6. depbase=`echo dtotimespec.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\

Re: Build errors on Solaris 2.6 7

2013-01-22 Thread Tom G. Christensen
On 01/22/2013 08:43 AM, Paul Eggert wrote: On 01/21/2013 12:53 PM, Tom G. Christensen wrote: It works for Solaris 7-10 but still fails in the same way on Solaris 2.6. OK, thanks, how about this slightly-revised patch? It makes it worse, now it fails for Solaris 10. From Solaris 2.6

Re: Build errors on Solaris 2.6 7

2013-01-28 Thread Tom G. Christensen
On 01/28/2013 02:08 AM, Paul Eggert wrote: On 01/22/2013 11:40 AM, Tom G. Christensen wrote: It makes it worse, now it fails for Solaris 10. OK, let's try a different tack. If memory serves Bruno Haible said a while ago that we'd eventually have to do this, so let's give it a try. Attached

Re: Build errors on Solaris 2.6 7

2013-01-29 Thread Tom G. Christensen
On 01/28/2013 11:56 PM, Paul Eggert wrote: On 01/28/13 12:12, Tom G. Christensen wrote: It works for Solaris 7-10 but fails on Solaris 2.6 in the same way as before. OK, please try the following patch instead. It fixes that particular problem the same way as before, but I'm hoping that when

Re: Build errors on Solaris 2.6 7

2013-01-30 Thread Tom G. Christensen
On 01/30/2013 09:17 AM, Paul Eggert wrote: On 01/29/2013 08:34 AM, Tom G. Christensen wrote: It breaks Solaris 10. OK, how about the attached patch instead? It works. Thank you. I tested on Solaris 2.6, 7, 9 10 and all get through running the testsuite. Only one little nit

Re: [PATCH 2/2] regex-tests: new module

2013-02-03 Thread Tom G. Christensen
On 02/01/2013 06:11 AM, Paul Eggert wrote: * modules/regex-tests, tests/test-regex.c: New files. This fails to build with external gettext. From Solaris 2.6: depbase=`echo test-regex.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1

Re: [PATCH 2/2] regex-tests: new module

2013-02-03 Thread Tom G. Christensen
On 02/03/2013 06:21 PM, Paul Eggert wrote: Thanks for the bug report. I pushed the following two more patches. It works now, thank you. -tgc

Re: ::gettimeofday' has not been declared - on cygwin

2013-03-20 Thread Tom G. Christensen
On 03/20/2013 06:49 PM, Paul Eggert wrote: On 03/19/13 11:43, marco atzeri wrote: it does not seem to work: Thanks, we did make some progress, but not enough. How about this patch instead? This affects Solaris, too. I tested it on Solaris 9 but do not have a 2.6 host to test it on; perhaps

Re: glob.c warnings

2013-09-07 Thread Tom G. Christensen
On 09/05/2013 01:05 AM, Eric Blake wrote: From c84321367fb6d1dc35c8d04e075f1315eddcc720 Mon Sep 17 00:00:00 2001 From: Eric Blakeebl...@redhat.com Date: Wed, 4 Sep 2013 17:02:47 -0600 Subject: [PATCH] glob: silence -Wattribute warnings Colin Watson reported that some versions of gcc warn about

Re: glob.c warnings

2013-09-08 Thread Tom G. Christensen
[resend with Cc to bug-gnulib] On 09/07/2013 03:04 PM, Eric Blake wrote: Ah, we need _both_ spellings, as we do have other uses of __THROW. I'll check in the obvious fix shortly. The obvious fix you checked in is missing an #endif. From build on CentOS 5: In file included from glob.c:24:

Re: Error compiling strtoimax.c on hppa2.0w-hp-hpux11.11

2013-10-10 Thread Tom G. Christensen
On 10/09/2013 05:06 PM, Paul Eggert wrote: I pushed the following patch, which I hope fixes things for you. It broke my daily build on Solaris. gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib -R/usr/tgcware/lib -o test-xstrtoumax test-xstrtoumax.o ../gllib/libgnu.a /usr/tgcware/lib/libintl.so

Re: Error compiling strtoimax.c on hppa2.0w-hp-hpux11.11

2013-10-10 Thread Tom G. Christensen
On 10/10/2013 06:18 PM, Paul Eggert wrote: On 10/10/13 08:52, Tom G. Christensen wrote: I installed the following; does it fix things for you? No, the error is the same. I see this in the configure output: ./configure: line 7680: test: =: unary operator expected $ sed -n 7680p configure

Re: test-getlogin false failure in non login shells

2014-05-17 Thread Tom G. Christensen
On 14/05/14 23:16, Pádraig Brady wrote: So you went the route of adding rather than deleting code. Fair enough. I tweaked a bit in the attached which I;ll apply soon if you're OK with it. This broke my daily gnulib bootstrap which runs as a cronjob on a CentOS 6 host. test-getlogin.c:78:

Re: test-getlogin false failure in non login shells

2014-05-22 Thread Tom G. Christensen
On 19/05/14 14:37, Pádraig Brady wrote: FYI I just pushed the attached to sync test-getlogin_r.c with the recent changes in test-getlogin.c This broke the build on CentOS 6. depbase=`echo test-getlogin_r.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -I.

Re: [PATCH] qsort_r: new module, for GNU-style qsort_r

2014-09-16 Thread Tom G. Christensen
On 15/09/14 18:00, Paul Eggert wrote: On 09/15/2014 07:11 AM, Pádraig Brady wrote: Did you forget to git add m4/qsort_r.m4 ? Oops, yes I did. Thanks for catching that. I added it as per attached. The daily build failed on my Solaris 9 host: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\\

Re: [PATCH] qsort_r: new module, for GNU-style qsort_r

2014-09-17 Thread Tom G. Christensen
On 16/09/14 21:28, Paul Eggert wrote: Thanks, should be fixed with the attached patch, which I pushed. Confirmed. -tgc

Re: [PATCH] file-has-acl: new module, split from acl

2015-04-26 Thread Tom G. Christensen
On 25/04/15 07:25, Paul Eggert wrote: And add a new module file-has-acl-tests to match. This does not build for me on CentOS 6. gcc -std=gnu99 -g -O2 -Wall -o test-file-has-acl test-file-has-acl.o ../gllib/libgnu.a -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm

Re: [PATCH] file-has-acl: new module, split from acl

2015-04-26 Thread Tom G. Christensen
On 26/04/15 18:22, Paul Eggert wrote: Thanks for reporting that. I installed the attached patch, which should fix it. Confirmed, thanks. -tgc

Re: [GNULIB 4/4] qacl: Reimplement qset_acl and qcopy_acl

2015-05-29 Thread Tom G. Christensen
On 15/04/15 22:12, Andreas Grünbacher wrote: Alright. The qsetacl and qcopy_acl rewrite needs some testing on non-Linux platforms; there may be some glitches there. Indeed. I just noticed that my daily builds on Solaris 9 (and earlier) are broken due to this change. gcc -DHAVE_CONFIG_H

Re: [PATCH] acl-permissions: Fix build on Solaris and Cygwin

2015-05-29 Thread Tom G. Christensen
On 29/05/15 19:56, Andreas Gruenbacher wrote: Reported by Tom G. Christensen t...@jupiterrise.com: * lib/set-permissions.c (set_acls): The count, entries, ace_count, and ace_entries variables have moved into struct permission_context but they were still accessed as local vraiables here

Re: test-rwlock1 build error on Solaris

2017-02-01 Thread Tom G. Christensen
On 01/02/17 22:49, Bruno Haible wrote: 2017-02-01 Bruno Haible <br...@clisp.org> lock tests: Fix link error. * modules/lock-tests (test_rwlock1_LDADD): Add @YIELD_LIB@. Reported by Tom G. Christensen <t...@jupiterrise.com>. Thank you. To confirm I ma

  1   2   >