qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] travis: disable Sparse testing
@ 2016-06-06 14:39 Paolo Bonzini
  2016-06-06 15:24 ` Alex Bennée
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2016-06-06 14:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: alex.bennee

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(-)

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
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] travis: disable Sparse testing
  2016-06-06 14:39 [Qemu-devel] [PATCH] travis: disable Sparse testing Paolo Bonzini
@ 2016-06-06 15:24 ` Alex Bennée
  2016-06-06 15:31   ` Paolo Bonzini
  2016-06-06 16:17   ` Peter Maydell
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Bennée @ 2016-06-06 15:24 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] travis: disable Sparse testing
  2016-06-06 15:24 ` Alex Bennée
@ 2016-06-06 15:31   ` Paolo Bonzini
  2016-06-06 16:17   ` Peter Maydell
  1 sibling, 0 replies; 5+ messages in thread
From: Paolo Bonzini @ 2016-06-06 15:31 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel



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
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] travis: disable Sparse testing
  2016-06-06 15:24 ` Alex Bennée
  2016-06-06 15:31   ` Paolo Bonzini
@ 2016-06-06 16:17   ` Peter Maydell
  2016-06-06 17:29     ` Alex Bennée
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Maydell @ 2016-06-06 16:17 UTC (permalink / raw)
  To: Alex Bennée; +Cc: Paolo Bonzini, QEMU Developers

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] travis: disable Sparse testing
  2016-06-06 16:17   ` Peter Maydell
@ 2016-06-06 17:29     ` Alex Bennée
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Bennée @ 2016-06-06 17:29 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Paolo Bonzini, QEMU Developers


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-06 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06 14:39 [Qemu-devel] [PATCH] travis: disable Sparse testing Paolo Bonzini
2016-06-06 15:24 ` Alex Bennée
2016-06-06 15:31   ` Paolo Bonzini
2016-06-06 16:17   ` Peter Maydell
2016-06-06 17:29     ` Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).