Hi Richard,

> -----Ursprüngliche Nachricht-----
> Von: Richard Purdie <[email protected]>
> Gesendet: Donnerstag, 1. Oktober 2026 13:28
> An: Jonas Mark (BT-EL/ESW1) <[email protected]>; Paul Barker
> <[email protected]>; [email protected]
> Cc: [email protected]; [email protected]; Simoes
> Ricardo (BT-EL/ESW2) <[email protected]>
> Betreff: Re: [OE-core] [PATCH] xorgproto: Set ALLOW_EMPTY for the main
> package
> 
> On Thu, 2026-10-01 at 09:00 +0000, Mark Jonas via
> lists.openembedded.org wrote:
> >
> > We were a little brief on our explanations in the commit message. So
> > we sat down to create a hopefully reproducible demo of the problem.
> >
> > For reproducing with used core-image-base and local.conf containing
> > the following:
> >
> > MACHINE ??= "qemuarm"
> > USER_CLASSES ?= "buildstats"
> > PATCHRESOLVE = "noop"
> > BB_DISKMON_DIRS ??= "\
> >     STOPTASKS,${TMPDIR},1G,100K \
> >     STOPTASKS,${DL_DIR},1G,100K \
> >     STOPTASKS,${SSTATE_DIR},1G,100K \
> >     STOPTASKS,/tmp,100M,100K \
> >     HALT,${TMPDIR},100M,1K \
> >     HALT,${DL_DIR},100M,1K \
> >     HALT,${SSTATE_DIR},100M,1K \
> >     HALT,/tmp,10M,1K"
> > CONF_VERSION = "2"
> > DEPENDS:append:pn-base-files = " xorgproto"
> > RDEPENDS:base-files:append = " xorgproto"
> > DISTRO_FEATURES:forcevariable = "systemd usrmerge ext2 ipv4 vfat
> > gobject-instrospection-data ldconfig multiarch"
> > DISTRO_FEATURES_OPTED_OUT = "*"
> 
> You're setting RDEPENDS:base-files:append = " xorgproto" and xorgproto
> doesn't exist so it isn't surprising the image generation fails as
> such. Did you over simplify the reproducer?

You are right, we tried to simply our scenario as much as possible - maybe too 
much.

We are now working on creating an absolute minimum meta-layer, a recipe, and an 
image to reproduce the issue.

The rough sketch is that we will have a foo-program.bb recipe which depends on 
xorgproto. It builds foo.c which uses a constant from a xorgproto header file. 
There will be an image foo-image.bb which includes core-image-base and rdepends 
on foo-program. What then happens is that the SDK generated will not contain 
xorgproto-dev.

What is interesting is that something must have happened between Kirkstone and 
Wrynose: With Kirkstone the above still worked. That is, xorgproto-dev was 
"automatically" part of the SDK. Even without adding it to the RDEPENDS.

Cheers,
Mark
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247035): 
https://lists.openembedded.org/g/openembedded-core/message/247035
Mute This Topic: https://lists.openembedded.org/mt/121314987/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to