Re: [yocto] Forbidden host packages?

2024-04-30 Thread Ross Burton
On 29 Apr 2024, at 18:09, Danter, Richard via lists.yoctoproject.org 
 wrote:
> 
> On Mon, 2024-04-29 at 17:53 +0100, Richard Purdie wrote:
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the
>> sender and know the content is safe.
>> 
>> On Mon, 2024-04-29 at 16:37 +, Danter, Richard via
>> lists.yoctoproject.org wrote:
>>> I know there are host packages which are required in order to build
>>> Yocto, but are there any that are forbidden?
>>> 
>>> For example, I have encountered a build issue on a RHEL host, but
>>> only
>>> if the daxctl-devel package is installed on that host. Without it,
>>> the
>>> build works fine.
>>> 
>>> The failure is in building qemu, see below.
>> 
>> qemu-system-native is a little special in that it needs to interface
>> to
>> the host graphics so it has wider search paths than most packages.
>> 
>> We try to explicitly disable dependencies we don't use so this sounds
>> like some configuration for this one is missing.
> 
> Thanks, we will investigate further.

This is usually solved trivially by adding another PACKAGECONFIG to the qemu 
recipe, and not enabling it (so it gets disabled explicitly), for example:

https://git.yoctoproject.org/poky/commit/meta/recipes-devtools/qemu/qemu.inc?id=9a02fb66c23b40911b5b431b348a2e7f8a2fedfc

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63015): https://lists.yoctoproject.org/g/yocto/message/63015
Mute This Topic: https://lists.yoctoproject.org/mt/105804577/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Forbidden host packages?

2024-04-29 Thread Danter, Richard via lists.yoctoproject.org
On Mon, 2024-04-29 at 17:53 +0100, Richard Purdie wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the
> sender and know the content is safe.
> 
> On Mon, 2024-04-29 at 16:37 +, Danter, Richard via
> lists.yoctoproject.org wrote:
> > I know there are host packages which are required in order to build
> > Yocto, but are there any that are forbidden?
> > 
> > For example, I have encountered a build issue on a RHEL host, but
> > only
> > if the daxctl-devel package is installed on that host. Without it,
> > the
> > build works fine.
> > 
> > The failure is in building qemu, see below.
> 
> qemu-system-native is a little special in that it needs to interface
> to
> the host graphics so it has wider search paths than most packages.
> 
> We try to explicitly disable dependencies we don't use so this sounds
> like some configuration for this one is missing.

Thanks, we will investigate further.

Rich

> 
> Cheers,
> 
> Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63012): https://lists.yoctoproject.org/g/yocto/message/63012
Mute This Topic: https://lists.yoctoproject.org/mt/105804577/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Forbidden host packages?

2024-04-29 Thread Richard Purdie
On Mon, 2024-04-29 at 16:37 +, Danter, Richard via lists.yoctoproject.org 
wrote:
> I know there are host packages which are required in order to build
> Yocto, but are there any that are forbidden?
> 
> For example, I have encountered a build issue on a RHEL host, but
> only
> if the daxctl-devel package is installed on that host. Without it,
> the
> build works fine.
> 
> The failure is in building qemu, see below.

qemu-system-native is a little special in that it needs to interface to
the host graphics so it has wider search paths than most packages. 

We try to explicitly disable dependencies we don't use so this sounds
like some configuration for this one is missing.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63011): https://lists.yoctoproject.org/g/yocto/message/63011
Mute This Topic: https://lists.yoctoproject.org/mt/105804577/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-