Mailinglist Archive: opensuse-factory (498 mails)

< Previous Next >
Re: [opensuse-factory] GCC 6 as default compiler - your help is needed
On 5/23/2016 at 09:44 AM, Andreas Färber <afaerber@xxxxxxx> wrote:
Am 23.05.2016 um 15:16 schrieb Dominique Leuenberger / DimStar:
We currently have a couple packages that fail to build and that need
special care / attention.

You can get the latest overview from either the two links:
* (Rings 0 and 1)
* (Ring 2)

or via the osc commands:
osc prjresults openSUSE:Factory:Staging:A -s F -V (Rings 0 and 1)
osc prjresults openSUSE:Factory:Staging:A:DVD -s F -V (Ring 2)

At this moment, the list of failures is:
(May 23 2016 - 13:15 UTC):
Ring 2:

[ 1603s] [BUILD] bin/stringextra.o
[ 1603s] core/stringextra.c: In function 'strtok':
[ 1603s] core/stringextra.c:189:18: error: nonnull argument 's' compared
to NULL [-Werror=nonnull-compare]
[ 1603s] sbegin = s ? s : ___strtok;
[ 1603s] ~~~~~~^~~~~~~~~~~
[ 1603s] cc1: all warnings being treated as errors
[ 1603s] Makefile.housekeeping:862: recipe for target
'bin/stringextra.o' failed
[ 1603s] make[1]: *** [bin/stringextra.o] Error 1
[ 1603s] make[1]: Leaving directory
[ 1603s] Makefile:124: recipe for target 'build-pxe-roms' failed
[ 1603s] make: *** [build-pxe-roms] Error 2
[ 1603s] make: Leaving directory

We have a newer version of QEMU in the devel project. How do we check
whether that version already fixes this?

Try a local build with something like this,

OSC_BUILD_ROOT=/tmp/build-qemu-gcc6 osc --apiurl= build
--noservice x86_64 --no-verify --local-package --alternative-project
openSUSE:Factory:Staging:Gcc6 qemu.spec

This will use gcc6 and point out any errors in your current code base. You may
then make corrections as needed.

- Charles

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

< Previous Next >