travis: disable Sparse testing
PATCH 1/1 travis: disable Sparse testing
On travis-ci.org, all builds fail with
/usr/include/features.h:324:11: error: unable to open bits/predefs.h
With "make docker-travis@ubuntu", they fail with
/usr/include/features.h:374:13: error: unable to open sys/cdefs.h
With "make docker-travis@fedora", finally, they fail due to sparse not being able to parse some #pragmas in glib headers. Just kill the thing from the CI builds.
--- .travis.yml | 3 --- 1 file changed, 3 deletions(-)
.travis.yml +0 -3
@@ -63,9 +63,6 @@ script: - make -j3 && ${TEST_CMD} matrix: include: - # Sparse is GCC only - - env: CONFIG="--enable-sparse" - compiler: gcc # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie" compiler: gcc
Signature · 1 line
1.8.3.1
Quoted 3 lines · Paolo Bonzini
On travis-ci.org, all builds fail with
/usr/include/features.h:324:11: error: unable to openbits/predefs.h
Hmm when did this start failing?
Interesting the build still manages to struggle through:
https://travis-ci.org/qemu/qemu/jobs/135572286
Quoted 18 lines
With "make docker-travis@ubuntu", they fail with
/usr/include/features.h:374:13: error: unable to opensys/cdefs.hWith "make docker-travis@fedora", finally, they fail due to sparse not being able to parse some #pragmas in glib headers. Just kill the thing from the CI builds.
Signed-off-by Paolo Bonzini <[email protected]>--- .travis.yml | 3 --- 1 file changed, 3 deletions(-).travis.yml +0
-0
.travis.yml script: · line 68
Quoted 9 lines
.travis.yml +0
-3@@ -63,9 +63,6 @@ script: - make -j3 && ${TEST_CMD} matrix: include: - # Sparse is GCC only - - env: CONFIG="--enable-sparse" - compiler: gcc # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie" compiler: gcc
--
Alex Bennée
Quoted 7 lines · Alex Bennée
Quoted 3 lines · Paolo Bonzini
On travis-ci.org, all builds fail with
/usr/include/features.h:324:11: error: unable to openbits/predefs.h
Quoted 5 lines
Hmm when did this start failing?
Interesting the build still manages to struggle through:
Yeah, only a compiler failure fails the build. But you get no static analysis, I think.
Paolo
Quoted 32 lines
Quoted 18 lines
With "make docker-travis@ubuntu", they fail with
/usr/include/features.h:374:13: error: unable to opensys/cdefs.hWith "make docker-travis@fedora", finally, they fail due to sparse not being able to parse some #pragmas in glib headers. Just kill the thing from the CI builds.
Signed-off-by Paolo Bonzini <[email protected]>--- .travis.yml | 3 --- 1 file changed, 3 deletions(-).travis.yml +0
-0.travis.yml script: · line 68
Quoted 9 lines
.travis.yml +0
-3@@ -63,9 +63,6 @@ script: - make -j3 && ${TEST_CMD} matrix: include: - # Sparse is GCC only - - env: CONFIG="--enable-sparse" - compiler: gcc # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie" compiler: gcc--
Alex Bennée
Quoted 8 lines · Alex Bennée
Quoted 3 lines · Paolo Bonzini
On travis-ci.org, all builds fail with
/usr/include/features.h:324:11: error: unable to openbits/predefs.hHmm when did this start failing?
I've seen it before and assumed it was another "random transient Travis infrastructure failure"...
thanks
-- PMM
Quoted 4 lines · Peter Maydell
Quoted 3 lines · Alex Bennée
Paolo Bonzini <[email protected]> writes:
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
On travis-ci.org, all builds fail with
/usr/include/features.h:324:11: error: unable to openbits/predefs.hHmm when did this start failing?
I've seen it before and assumed it was another "random transient Travis infrastructure failure"...
OK, I'll look into it. It would be nice to keep the sparse checking if we can.
Quoted 3 lines
thanks
-- PMM
--
Alex Bennée