[Pkg-postgresql-private] Re: FTBFS postgresql 7.4.5

Michael Meskes meskes@debian.org
Mon, 30 Aug 2004 10:50:38 +0200


On Thu, Aug 26, 2004 at 03:41:08PM +0200, Martin Pitt wrote:
> Hi Michael!
>=20
> I'm currently at updating the postgresql package to 7.4.5, but this
> FTBTS:
>=20
> ------------------- snip -----------------
> make[5]: Entering directory `/mm/pg/postgresql-unstable/postgresql-7.4.5/=
build-tree/postgresql-7.4.5/src/interfaces/ecpg/preproc'
> /usr/bin/make -C ../../../../src/port all
> make[6]: Entering directory `/mm/pg/postgresql-unstable/postgresql-7.4.5/=
build-tree/postgresql-7.4.5/src/port'
> make[6]: Nothing to be done for `all'.
> make[6]: Leaving directory `/mm/pg/postgresql-unstable/postgresql-7.4.5/b=
uild-tree/postgresql-7.4.5/src/port'
> i386-linux-gcc -DCHECK_RLIMIT_NOFILE -fno-strict-aliasing -g -Wall -Wmiss=
ing-prototypes -Wmissing-declarations -pipe -Wno-error -I./../include -I. -=
I../../../../src/include -D_GNU_SOURCE  -I/usr/include/tcl8.4 -D_REENTRANT =
-D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DMAJOR_VERSION=3D3 -DMINOR_VERSI=
ON=3D1 -DPATCHLEVEL=3D1 -DINCLUDEDIR=3D\"/usr/include/postgresql\" -DPKGINC=
LUDEDIR=3D\"/usr/include/postgresql\"   -c -o preproc.o preproc.c
> preproc.y: In function `yyparse':
> preproc.y:4925: error: incompatible types in assignment

Very strange. I just downloaded a fresh version of the original 7.4.5
tarball and it compiles cleanly on my sid system:

make[1]: Leaving directory `/home/michael/postgresql-7.4.5/src/port'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -Wno-error -I./../include -I. -I../../../../src/incl=
ude -D_GNU_SOURCE   -DMAJOR_VERSION=3D3 -DMINOR_VERSION=3D1 -DPATCHLEVEL=3D=
1 -DINCLUDEDIR=3D\"/usr/local/pgsql/include\" -DPKGINCLUDEDIR=3D\"/usr/loca=
l/pgsql/include\"   -c -o preproc.o preproc.c
In file included from preproc.y:6331:
pgc.c: In Funktion =C2=BByylex=C2=AB:
pgc.c:1440: Warnung: label `find_rule' defined but not used
preproc.y: Auf h=C3=B6chster Ebene:
pgc.c:3430: Warnung: `yy_flex_realloc' defined but not used
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarati=
ons -Wno-error -I./../include -I. -I../../../../src/include -D_GNU_SOURCE  =
 -DMAJOR_VERSION=3D3 -DMINOR_VERSION=3D1 -DPATCHLEVEL=3D1 -DINCLUDEDIR=3D\"=
/usr/local/pgsql/include\" -DPKGINCLUDEDIR=3D\"/usr/local/pgsql/include\"  =
 -c -o type.o type.c

Michael
--=20
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!