Skip to contentSkip to conversation

inherit can't find classes in folder different than classes #kirkstone #scarthgap #bitbake #yocto

DISCUSSION Juan Aguirre 2 participants 2 messages May 30, 2025 – May 31, 2025

lore
Share & tools
lore
#0 lore raw

Hi, I'm working on an update from Kirkstone to Scargtgap, and I'm finding a problem with one of my recipes

I'm trying to inherit logging, but I got the following error message

ERROR: ParseError at /mnt/data/build/../recipes-connectivity/knock/knock_0.8.bb:15: Could not inherit file classes/logging.bbclass

Checking the difference between Kirkstone and scargtgap, I found that logging.bbclass was moved to classes-global/, but bitbake can't find it. I try to add the path to BBPATH, but even that, logging.bbclass can't be found.

In advance, thanks for the help.

#1 lore raw
Quoted 9 lines · Juan Aguirre via lists.yoctoproject.org

Hi, I'm working on an update from Kirkstone to Scargtgap, and I'm finding a problem with one of my recipes

I'm trying to inherit logging, but I got the following error message

ERROR: ParseError at /mnt/data/build/../recipes-connectivity/knock/knock_0.8.bb:15: Could not inherit file classes/logging.bbclass

It shouldn't be needed to inherit the logging class in the recipes. It is implicitly inherited by base.bbclass, which is, in turn, implicitly inherited by all recipes. It should be possible to simply remove the "inherit logging" line, and it should work still (with the logging functions still available)

Quoted 19 lines

Checking the difference between Kirkstone and scargtgap, I found that logging.bbclass was moved to classes-global/, but bitbake can't find it. I try to add the path to BBPATH, but even that, logging.bbclass can't be found.

In advance, thanks for the help.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#65439): https://lists.yoctoproject.org/g/yocto/message/65439
Mute This Topic: https://lists.yoctoproject.org/mt/113387992/6084445
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-