[yocto] qemu-native build fails on sumo due to missing capstone.h

Khem Raj raj.khem at gmail.com
Thu Jun 14 14:50:19 PDT 2018


On Thu, Jun 14, 2018 at 1:08 PM Jon Szymaniak <jon.szymaniak at gmail.com>
wrote:

> On Thu, Jun 14, 2018 at 14:18 Khem Raj <raj.khem at gmail.com> wrote:
>
>> On Thu, Jun 14, 2018 at 9:56 AM Jon Szymaniak <jon.szymaniak at gmail.com>
>> wrote:
>> >
>> > On Thu, Jun 14, 2018 at 11:43 Khem Raj <raj.khem at gmail.com> wrote:
>> > > Do you have capstone development headers/libs installed on your build
>> host ?
>> > >
>> >
>> > No, and I understand that's an easy thing to address on the build host.
>> >
>> > However, I don't think this should be necessary build host dependency.
>> > QEMU includes the capstone codebase as a git submodule, so everything
>> > that's needed is there.
>> >
>> > Maybe it's just a matter of tweaking the recipe to set
>> > CMAKE_INSTALL_PREFIX appropriately so that when the build dives down
>> > into the capstone directory, this points to the correct prefix?
>> >
>> > It looks like the inclusion and use of capstone is new, as of the QEMU
>> > version included with sumo. (i.e. This appears not to be the situation
>> > with the version used in rocko and pyro).
>>
>> Least intrusive approach would be to disable it if its not something you
>> depend on.
>
>
> Makes sense, thank you.
>
> Two workarounds that worked for me were either adding qemu-native to
> ASSUME_PROVIDED or appending “--disable-capstone” to qemu’s EXTRA_OECONF.
>

The fact that not everyone sees this issue makes me think that it might be
something in your environment that’s triggering this but if we disable it
then we make the issue irrelevant

>
> I’ll try to follow up with a patch to the recipe in oe-core, unless you
> suspect that the source of this is merely something on my end.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180614/127aabff/attachment.html>


More information about the yocto mailing list