Thread: cvs (7/2/2003) broken?

cvs (7/2/2003) broken?

From
Elias Athanasopoulos
Date:
Hello!

I posted this earlier to pgsql-hackers, but it got stalled since I'm
not subscribed. I'm reposting this to pgsql-bugs.

Regards,
Elias

Content-Description: Original message
> Date: Fri, 7 Feb 2003 12:55:45 +0200
> From: Elias Athanasopoulos <elathan@phys.uoa.gr>
> Subject: cvs (7/2/2003) is broken?
> To: pgsql-hackers@postgresql.org
>
> Hello!
>
> Just update my CVS tree and got the following errors:
>
> make[4]: Entering directory `/home/anteater/psql/pgsql/src/backend/optimizer/util'
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include   -c -o clauses.o clauses.c
> clauses.c:2322:1: directives may not be used inside a macro argument
> clauses.c:2322:1: unterminated argument list invoking macro "IsA"
> make[4]: *** [clauses.o] Error 1
> make[4]: Leaving directory `/home/anteater/psql/pgsql/src/backend/optimizer/util'
> make[3]: *** [util-recursive] Error 2
> make[3]: Leaving directory `/home/anteater/psql/pgsql/src/backend/optimizer'
> make[2]: *** [optimizer-recursive] Error 2
> make[2]: Leaving directory `/home/anteater/psql/pgsql/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/anteater/psql/pgsql/src'
> make: *** [all] Error 2
>
> It's a Linux based OS (RedHat) with:
>
> [anteater@neutrino pgsql]$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
>
> Regards,
> Elias
>
> PS. Please cc me as I'm not subscribed.

--
http://gnewtellium.sourceforge.net            MP3 is not a crime.

Re: cvs (7/2/2003) broken?

From
Tom Lane
Date:
Elias Athanasopoulos <elathan@phys.uoa.gr> writes:
>> Just update my CVS tree and got the following errors:
>>
>> make[4]: Entering directory `/home/anteater/psql/pgsql/src/backend/optimizer/util'
>> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include   -c -o clauses.o clauses.c
>> clauses.c:2322:1: directives may not be used inside a macro argument
>> clauses.c:2322:1: unterminated argument list invoking macro "IsA"
>> make[4]: *** [clauses.o] Error 1

I don't see that here ... did you do a clean rebuild ("make clean" or
preferably "make distclean" at top level)?

            regards, tom lane

Re: cvs (7/2/2003) broken?

From
Elias Athanasopoulos
Date:
On Mon, Feb 10, 2003 at 02:30:52PM -0500, Tom Lane wrote:
> >> make[4]: Entering directory `/home/anteater/psql/pgsql/src/backend/optimizer/util'
> >> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include   -c -o clauses.o clauses.c
> >> clauses.c:2322:1: directives may not be used inside a macro argument
> >> clauses.c:2322:1: unterminated argument list invoking macro "IsA"
> >> make[4]: *** [clauses.o] Error 1
>
> I don't see that here ... did you do a clean rebuild ("make clean" or
> preferably "make distclean" at top level)?

I just updated my CVS and re-configured the tree. It passed.

Unfortunately I have another problem:

make[5]: Leaving directory `/usr/lib/cvs/psql/pgsql/src/port'
bison -y -d  preproc.y
preproc.y:5590: fatal error: maximum table size (32767) exceeded
make[4]: *** [preproc.h] Error 1

And my GNU bison is version 1.28.

I'll maybe have to upgrade. Thanx for your answer.

Regards,
Elias

--
University of Athens            I bet the human brain
Physics Department                is a kludge --Marvin Minsky

Re: cvs (7/2/2003) broken?

From
Bruno Wolff III
Date:
On Tue, Feb 11, 2003 at 00:13:44 +0200,
  Elias Athanasopoulos <elathan@phys.uoa.gr> wrote:
>
> And my GNU bison is version 1.28.
>
> I'll maybe have to upgrade. Thanx for your answer.

I think you need to upgrade to at least 1.75.