All of lore.kernel.org
 help / color / mirror / Atom feed
* Commit 3e7fb5811b or something in that series breaks build?
@ 2020-01-18 22:41 BALATON Zoltan
  2020-01-18 23:11 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: BALATON Zoltan @ 2020-01-18 22:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Markus Armbruster

Hello,

I'm getting errors about missing headers in qapi/* and build fails on 
current master.

I've tried bisecting it which lead to commit 3e7fb5811b where I get:

   CC      qapi/qapi-types-audio.o
cc: error: qapi/qapi-types-audio.c: No such file or directory
cc: fatal error: no input files

(This is with --audio-drv-list=alsa configure option and in-tree build in 
case that matters.)

Reverting that commit alone does not fix build on master I had to revert 
both 3bef3aaec9 and 3e7fb5811b

Regards,
BALATON Zoltan


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

* Re: Commit 3e7fb5811b or something in that series breaks build?
  2020-01-18 22:41 Commit 3e7fb5811b or something in that series breaks build? BALATON Zoltan
@ 2020-01-18 23:11 ` Peter Maydell
  2020-01-18 23:42   ` BALATON Zoltan
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2020-01-18 23:11 UTC (permalink / raw)
  To: BALATON Zoltan; +Cc: QEMU Developers, Markus Armbruster

On Sat, 18 Jan 2020 at 22:41, BALATON Zoltan <balaton@eik.bme.hu> wrote:
> I'm getting errors about missing headers in qapi/* and build fails on
> current master.
>
> I've tried bisecting it which lead to commit 3e7fb5811b where I get:
>
>    CC      qapi/qapi-types-audio.o
> cc: error: qapi/qapi-types-audio.c: No such file or directory
> cc: fatal error: no input files

I haven't looked, but could you try the usual things to check:
 * does your tree have 'stale' files deleted by a commit
   (ie listed in 'git status' as now unknown to git) ?
 * did you try a reconfigure and build from clean?
   (ideally this should not be required, but it might help
   narrow down the issue)
 * could you test whether you see the issue also with an
   out-of-tree build?

thanks
-- PMM


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

* Re: Commit 3e7fb5811b or something in that series breaks build?
  2020-01-18 23:11 ` Peter Maydell
@ 2020-01-18 23:42   ` BALATON Zoltan
  2020-01-19  0:01     ` BALATON Zoltan
  0 siblings, 1 reply; 4+ messages in thread
From: BALATON Zoltan @ 2020-01-18 23:42 UTC (permalink / raw)
  To: Peter Maydell; +Cc: QEMU Developers, Markus Armbruster

[-- Attachment #1: Type: text/plain, Size: 2057 bytes --]

On Sat, 18 Jan 2020, Peter Maydell wrote:
> On Sat, 18 Jan 2020 at 22:41, BALATON Zoltan <balaton@eik.bme.hu> wrote:
>> I'm getting errors about missing headers in qapi/* and build fails on
>> current master.
>>
>> I've tried bisecting it which lead to commit 3e7fb5811b where I get:
>>
>>    CC      qapi/qapi-types-audio.o
>> cc: error: qapi/qapi-types-audio.c: No such file or directory
>> cc: fatal error: no input files
>
> I haven't looked, but could you try the usual things to check:
> * does your tree have 'stale' files deleted by a commit
>   (ie listed in 'git status' as now unknown to git) ?
> * did you try a reconfigure and build from clean?
>   (ideally this should not be required, but it might help
>   narrow down the issue)
> * could you test whether you see the issue also with an
>   out-of-tree build?

Also fails after make distclean with out-of-tree build in the same way. 
Seems that --disable-guest-agent option breaks earlier but even without 
that option I get error later about some rtc chip and build does not 
finish. I've tried with just

configure --target-list=ppc-softmmu --disable-guest-agent

and get the above error right after it built capstone.a and starts 
building qapi/* (without --disable-guest-agent it almost gets to the end 
but fails later). Sometimes I also see these errors:

In file included from qapi/qapi-types-crypto.c:15:0:
qapi/qapi-types-crypto.h:176:33: error: field ‘qcow’ has incomplete type
          QCryptoBlockOptionsQCow qcow;
                                  ^
qapi/qapi-types-crypto.h:177:33: error: field ‘luks’ has incomplete type
          QCryptoBlockOptionsLUKS luks;
                                  ^
qapi/qapi-types-crypto.h:193:33: error: field ‘qcow’ has incomplete type
          QCryptoBlockOptionsQCow qcow;
                                  ^
qapi/qapi-types-crypto.h:236:30: error: field ‘luks’ has incomplete type
          QCryptoBlockInfoLUKS luks;
                               ^

Regards,
BALATON Zoltan

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

* Re: Commit 3e7fb5811b or something in that series breaks build?
  2020-01-18 23:42   ` BALATON Zoltan
@ 2020-01-19  0:01     ` BALATON Zoltan
  0 siblings, 0 replies; 4+ messages in thread
From: BALATON Zoltan @ 2020-01-19  0:01 UTC (permalink / raw)
  To: Peter Maydell; +Cc: QEMU Developers, Markus Armbruster

[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]

On Sun, 19 Jan 2020, BALATON Zoltan wrote:
> On Sat, 18 Jan 2020, Peter Maydell wrote:
>> On Sat, 18 Jan 2020 at 22:41, BALATON Zoltan <balaton@eik.bme.hu> wrote:
>>> I'm getting errors about missing headers in qapi/* and build fails on
>>> current master.
>>> 
>>> I've tried bisecting it which lead to commit 3e7fb5811b where I get:
>>>
>>>    CC      qapi/qapi-types-audio.o
>>> cc: error: qapi/qapi-types-audio.c: No such file or directory
>>> cc: fatal error: no input files
>> 
>> I haven't looked, but could you try the usual things to check:
>> * does your tree have 'stale' files deleted by a commit
>>   (ie listed in 'git status' as now unknown to git) ?
>> * did you try a reconfigure and build from clean?
>>   (ideally this should not be required, but it might help
>>   narrow down the issue)
>> * could you test whether you see the issue also with an
>>   out-of-tree build?
>
> Also fails after make distclean with out-of-tree build in the same way. Seems 
> that --disable-guest-agent option breaks earlier but even without that option 
> I get error later about some rtc chip and build does not finish. I've tried 
> with just
>
> configure --target-list=ppc-softmmu --disable-guest-agent
>
> and get the above error right after it built capstone.a and starts building 
> qapi/* (without --disable-guest-agent it almost gets to the end but fails 
> later). Sometimes I also see these errors:
>
> In file included from qapi/qapi-types-crypto.c:15:0:
> qapi/qapi-types-crypto.h:176:33: error: field ‘qcow’ has incomplete type
>         QCryptoBlockOptionsQCow qcow;
>                                 ^
> qapi/qapi-types-crypto.h:177:33: error: field ‘luks’ has incomplete type
>         QCryptoBlockOptionsLUKS luks;
>                                 ^
> qapi/qapi-types-crypto.h:193:33: error: field ‘qcow’ has incomplete type
>         QCryptoBlockOptionsQCow qcow;
>                                 ^
> qapi/qapi-types-crypto.h:236:30: error: field ‘luks’ has incomplete type
>         QCryptoBlockInfoLUKS luks;
>                              ^

I've found this:

https://lists.nongnu.org/archive/html/qemu-devel/2020-01/msg03486.html

which does fix the build for me (I happen to have python 3.5.7 still) so I 
guess you can add

Tested-by: BALATON Zoltan <balaton@eik.bme.hu>

to that patch.

Regards,
BALATON Zoltan

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

end of thread, other threads:[~2020-01-19  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-18 22:41 Commit 3e7fb5811b or something in that series breaks build? BALATON Zoltan
2020-01-18 23:11 ` Peter Maydell
2020-01-18 23:42   ` BALATON Zoltan
2020-01-19  0:01     ` BALATON Zoltan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.