[opensuse-buildservice] orafce package build failing on opensuse w/gcc46
Hello, 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 fails. Can anyone provide any insight into this? BuildLog: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=orafce&project=home%3Adeadpoint&repository=openSUSE_12.1 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 [-Wunused-but-set-variable] error: Bad exit status from /var/tmp/rpm-tmp.AMYyS6 (%build) Thanks! -- Later, Darin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 13/12/11 15:04, Darin Perusich wrote:
Hello,
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 fails.
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
where and how InitFunctionCallInfoData macro defined and what is the application doing in others.c:357:52 ? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 13/12/11 15:13, Cristian Rodríguez wrote:
On 13/12/11 15:04, Darin Perusich wrote:
Hello,
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 fails.
Can anyone provide any insight into this?
Ok, you have to apply this patch http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/orafce/orafce/others.c.diff?r1=1.23&r2=1.24 or update to package version 3.0.4 http://pgfoundry.org/frs/download.php/3074/orafce-3.0.4.tar.gz Has nothing to do with GCC or the OBS though. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Dec 13, 2011 at 1:18 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
Ok, you have to apply this patch
http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/orafce/orafce/others.c.diff?r1=1.23&r2=1.24
or update to package version 3.0.4 http://pgfoundry.org/frs/download.php/3074/orafce-3.0.4.tar.gz
Has nothing to do with GCC or the OBS though.
I checked the pgfoundry page and version's tagged as beta still, but I didn't notice that patch. Thanks for pointing that out for me! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Darin Perusich