[Pkg-postgresql-public] Bug#733367: postgres-xc: FTBFS: cubeparse.c:163:5: error: conflicting types for 'cube_yyparse'

David Suárez david.sephirot at gmail.com
Sat Dec 28 18:16:42 UTC 2013


Source: postgres-xc
Version: 1.1-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> gcc -DPGXC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -pie -DLINUX_OOM_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic -I. -I/«PKGBUILDDIR»/build/../contrib/cube -I../../src/include -I/«PKGBUILDDIR»/build/../src/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o cubeparse.o cubeparse.c
> cubeparse.c:163:5: error: conflicting types for 'cube_yyparse'
>  int cube_yyparse (void);
>      ^
> /«PKGBUILDDIR»/build/../contrib/cube/cubeparse.y:32:5: note: previous declaration of 'cube_yyparse' was here
>  int cube_yyparse(void *result);
>      ^
> cubeparse.c:63:25: error: conflicting types for 'cube_yyparse'
>  #define yyparse         cube_yyparse
>                          ^
> cubeparse.c:1004:1: note: in expansion of macro 'yyparse'
>  yyparse (void)
>  ^
> /«PKGBUILDDIR»/build/../contrib/cube/cubeparse.y:32:5: note: previous declaration of 'cube_yyparse' was here
>  int cube_yyparse(void *result);
>      ^
> /«PKGBUILDDIR»/build/../contrib/cube/cubeparse.y: In function 'cube_yyparse':
> /«PKGBUILDDIR»/build/../contrib/cube/cubeparse.y:73:14: error: 'result' undeclared (first use in this function)
>    *((void **)result) = write_box( dim, $2, $4 );
>               ^
> /«PKGBUILDDIR»/build/../contrib/cube/cubeparse.y:73:14: note: each undeclared identifier is reported only once for each function it appears in
> make[4]: *** [cubeparse.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/postgres-xc_1.1-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-postgresql-public mailing list