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

2013-10-10 Thread Daniel Richard G.
On Wed, 2013 Oct 9 11:44-0700, Paul Eggert wrote: > > > On a different note: Is the gnulib autobuild still a thing? > > Sorry, I don't know. Simon would know, I expect. I e-mailed him. Turns out that his build robot(s) stopped working, and presumably no one else was submitting results, so the pa

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

2013-10-10 Thread Tom G. Christensen
On 10/10/2013 09:36 PM, Eric Blake wrote: Blah, I missed some instances. Obvious followup pushed. Thanks, it seems to be fine now and the build works on Solaris again. -tgc

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

2013-10-10 Thread Eric Blake
On 10/10/2013 01:06 PM, Tom G. Christensen wrote: > On 10/10/2013 08:24 PM, Eric Blake wrote: >> Oh, I see the typo; pushing this. >> > > This did not fix the test error from configure. > > Just creating a testdir on a CentOS 5 host and running configure results > in the same error from test: >

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

2013-10-10 Thread Tom G. Christensen
On 10/10/2013 08:24 PM, Eric Blake wrote: Oh, I see the typo; pushing this. diff --git i/ChangeLog w/ChangeLog index 3f6bf07..0d97328 100644 --- i/ChangeLog +++ w/ChangeLog @@ -1,3 +1,9 @@ +2013-10-10 Eric Blake + + strtoumax: fix typo in previous commit. + * modules/strtoumax (Depe

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

2013-10-10 Thread Eric Blake
On 10/10/2013 11:29 AM, Tom G. Christensen wrote: > 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:

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 if

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

2013-10-10 Thread Paul Eggert
On 10/10/13 08:52, Tom G. Christensen wrote: > This test checks HAVE_STRTOUMAX which is not declared anywhere. It should be declared by the AC_CHECK_FUNCS_ONCE([strtoumax]) in m4/strtoumax.m4. But I think I see the problem; I forgot to copy some of the stuff in modules/strtoimax into modules/st

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 -R/

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

2013-10-09 Thread Paul Eggert
On 10/09/13 11:42, Daniel Richard G. wrote: > On a different note: Is the gnulib autobuild still a thing? Sorry, I don't know. Simon would know, I expect.

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

2013-10-09 Thread Daniel Richard G.
On Wed, 2013 Oct 9 8:06-0700, Paul Eggert wrote: > Thanks, apparently this problem has been around for a while; see > . I'd come across that same message too. Odd that this issue wasn't fixed long ago! > I pushed the following pat

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

2013-10-09 Thread Paul Eggert
Thanks, apparently this problem has been around for a while; see . I pushed the following patch, which I hope fixes things for you. It'll be a bit more of a pain to merge this into bash etc., but you can test it separately by grabbi

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

2013-10-09 Thread Paul Eggert
Daniel Richard G. wrote: > I think the problem is that strtoimax/strtoumax are macros, so Strtoimax > is still expanding into something unexpected: Hmm, why doesn't lib/inttypes.h override those macros? What is the output of "diff -u lib/inttypes.in.h lib/inttypes.h" on your host?

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

2013-10-08 Thread Daniel Richard G.
On Tue, 2013 Oct 8 23:29-0700, Paul Eggert wrote: > Thanks, I pushed the following, which I hope fixes the problem > in a slightly-more-general way. Not quite, I'm afraid: source='../../gllib/strtoimax.c' object='strtoimax.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../../build-aux/depcomp

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

2013-10-08 Thread Paul Eggert
Thanks, I pushed the following, which I hope fixes the problem in a slightly-more-general way. >From d619b91857d24f9b9cf97556150e7fa0021347ef Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 8 Oct 2013 23:27:49 -0700 Subject: [PATCH] strtoimax: port to HP-UX 11.11 Problem reported by Daniel