Skip to contentSkip to conversation

travis: disable Sparse testing

PATCH In review Paolo Bonzini 3 participants 5 messages Jun 6, 2016

lore
Share & tools
lore
#0 lore raw

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
index 50ac17f..425cbe1 100644
@@ -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
#1 lore raw
Quoted 3 lines · Paolo Bonzini

On travis-ci.org, all builds fail with
/usr/include/features.h:324:11: error: unable to open bits/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 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 -0
index 50ac17f..425cbe1 100644

.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

#2 lore raw
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 open bits/predefs.h

Quoted 5 lines

Hmm when did this start failing?

Interesting the build still manages to struggle through:

https://travis-ci.org/qemu/qemu/jobs/135572286

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 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 -0
index 50ac17f..425cbe1 100644

.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

#3 lore raw
In reply to 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 open bits/predefs.h

Hmm when did this start failing?

I've seen it before and assumed it was another "random transient Travis infrastructure failure"...

thanks
-- PMM

#4 lore raw
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 open bits/predefs.h

Hmm 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