Hi Marcus, Cristian and all,
Le lundi 15 janvier 2018 à 11:26:25, Cristian Rodríguez a écrit :
El 15-01-2018 a las 4:13, sogal escribió:
Hi, I would like to provide a Netsurf up-to-date package to openSUSE Leap. When building the RPM locally no problem happens but when building it in the OBS it fails at the very end of the process, when checks are done (whereas packages have been already successfully created), with the following output :
[ 109s] netsurf-3.7-0.x86_64 [ 109s] ... running 01-check-debuginfo [ 109s] ... testing for empty debuginfo packages [ 109s] ... running 02-check-gcc-output [ 109s] ... testing for serious compiler warnings [ 109s] (using /usr/lib/build/checks-data/check_gcc_output) [ 109s] (using /var/tmp/build-root/openSUSE_Leap_42.3-x86_64/.build.log) [ 109s] E: netsurf 64bit-portability-issue build-x86_64-suse-linux-x86_64-suse-linux-release-binary/nsgenbind-parser.c:1520 [ 109s] [ 109s] requiem.eveha.fr failed "build netsurf.spec" at Tue Jan 9 10:19:51 UTC 2018. [ 109s]
Is there a specific GCC flags or macros that I can use to prevent this or is it code related ?
You need to fix the code.. now if you provide an URL to see the complete build log.. maybe someone can help..
Indeed, here it is  I don't know of to fix the faulty file (nsgenbind-parser.c ), it is created during the build process. The only related file that I could find in the source tarball is nsgenbind-parser.y  I guess this file is used to generate the .c file that causes this error. Or am I wrong ?