On 12/28/22 13:24, Mistyron via lists.yoctoproject.org wrote:

On 2022-12-28 7:55 a.m., Alexander Kanavin wrote:
You can't. '_remove' has priority over everything else, and
DISTRO_FEATURES cannot be set from a recipe, only from a global
config.
Oh okay, that makes sense then!
Thank you!

Although, as soon as I added

DISTRO_FEATURES_append = " x11"

to local.conf, I'm not able to build anymore but see an error like below instead:

| checking for GBM... no
| configure: error: Glamor for Xorg requires gbm >= 10.2.0
| NOTE: The following config.log files may provide further information.
| NOTE: /home/yocto/rzg_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/xserver-xorg/2_1.20.8-r0/build/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/yocto/rzg_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/xserver-xorg/2_1.20.8-r0/temp/run.do_configure.480136' failed with exit code 1 ERROR: Task (/home/yocto/rzg_vlp_v3.0.0/build/../poky/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.8.bb:do_configure) failed with exit code '1'

I've Googled around but nbot been able to find a work around.

You should edit local.conf, and complain to your BSP provider
for using _remove instead of a direct assignment.

Alex

On Wed, 28 Dec 2022 at 16:51, Mistyron <[email protected]> wrote:
Hi,

I'm using the provided local.conf from the BSP which contains:

DISTRO_FEATURES_remove = " x11"

but I need to install xrandr in my image which needs x11, i.e. I set

DISTRO_FEATURES_append = " x11"
IMAGE_INSTALL_append = " xrandr"

in my custom recipe. However, upon building, I get the following error:

ERROR: Nothing RPROVIDES 'xrandr' (but
/home/yocto/rzg_vlp_v3.0.0/build/../meta-mistysom/recipes-core/images/mistysom-image.bb
RDEPENDS on or otherwise requires it)
xrandr was skipped: missing required distro feature 'x11' (not in
DISTRO_FEATURES)
NOTE: Runtime target 'xrandr' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['xrandr']
ERROR: Required build target 'mistysom-image' has no buildable providers. Missing or unbuildable dependency chain was: ['mistysom-image', 'xrandr']

Can I override the setting in locl.conf from my custom recipe? How?

Ron







--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58886): https://lists.yoctoproject.org/g/yocto/message/58886
Mute This Topic: https://lists.yoctoproject.org/mt/95921674/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to