Mailinglist Archive: opensuse-buildservice (137 mails)

< Previous Next >
[opensuse-buildservice] orafce package build failing on opensuse w/gcc46

I'm running into an issue building a package on OpenSUSE 12.1,
factory, and tumbleweed, which appears to be related to the version of
the compiler. The package in question is orafce which is an
implementation of some oracle functions in postgres. The package
builds successfully on opensuse 11.3 and 11.4 which using gcc45
compared to gcc46 on the systems where the build fails. The compile
options are slightly different between a successful and failed build,
-fomit-frame-pointer on gcc45 and -Wformat-security on gcc46, yet when
i attempted to build under gcc46 with the gcc45 options it still

Can anyone provide any insight into this?


Snip of the error:

others.c: In function 'ora_decode':
others.c:357:52: error: macro "InitFunctionCallInfoData" requires 6
arguments, but only 5 given
others.c:357:4: error: 'InitFunctionCallInfoData' undeclared (first
use in this function)
others.c:357:4: note: each undeclared identifier is reported only once
for each function it appears in
gcc -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g -Wall
-Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fpic
-I. -I. -I/usr/include/pgsql/server -I/usr/include/pgsql/internal
-D_GNU_SOURCE -I/usr/include/libxml2 -c -o plvstr.o plvstr.c
make: *** [others.o] Error 1
make: *** Waiting for unfinished jobs....
plvstr.c: In function 'plvstr_rvrs':
plvstr.c:572:11: warning: variable 'aux' set but not used
error: Bad exit status from /var/tmp/rpm-tmp.AMYyS6 (%build)

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups