diff mbox

travis: disable Sparse testing

Message ID 1465223987-135491-1-git-send-email-pbonzini@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Paolo Bonzini June 6, 2016, 2:39 p.m. UTC
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.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 .travis.yml | 3 ---
 1 file changed, 3 deletions(-)

Comments

Alex Bennée June 6, 2016, 3:24 p.m. UTC | #1
Paolo Bonzini <pbonzini@redhat.com> writes:

> 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

>
> 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.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  .travis.yml | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 50ac17f..425cbe1 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -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
Paolo Bonzini June 6, 2016, 3:31 p.m. UTC | #2
On 06/06/2016 17:24, Alex Bennée wrote:
> 
> Paolo Bonzini <pbonzini@redhat.com> writes:
> 
>> 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

Yeah, only a compiler failure fails the build.  But you get no static
analysis, I think.

Paolo

>>
>> 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.
>>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>>  .travis.yml | 3 ---
>>  1 file changed, 3 deletions(-)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 50ac17f..425cbe1 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -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
>
Peter Maydell June 6, 2016, 4:17 p.m. UTC | #3
On 6 June 2016 at 16:24, Alex Bennée <alex.bennee@linaro.org> wrote:
>
> Paolo Bonzini <pbonzini@redhat.com> writes:
>
>> 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
Alex Bennée June 6, 2016, 5:29 p.m. UTC | #4
Peter Maydell <peter.maydell@linaro.org> writes:

> On 6 June 2016 at 16:24, Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>> Paolo Bonzini <pbonzini@redhat.com> writes:
>>
>>> 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.

>
> thanks
> -- PMM


--
Alex Bennée
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index 50ac17f..425cbe1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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