Skip to contentSkip to conversation

Gplv2 layer incompatibility

scarthgap Ganesh Mahajan 2 participants 3 messages Jan 17, 2025 – Jan 20, 2025

lore
Share & tools
lore
#0 lore raw

As we have phased out meta-gplv2 for Scarthgap, but my system needs gplv2 and also i need to upgrade to scarthgap. Is there a way to have both accomplished. I am getting below error. When i run bitbake.

build@ubuntu-bionic:~/project/build$ bitbake
ERROR: Layer gplv2 is not compatible with the core layer which only supports these series: scarthgap (layer is compatible with dunfell)
#1 lore raw

You need to remove the layer from bblayers.conf, and then fix any resulting issues. There's no way to bring it back. If you show the issues, we can try to help.

Alex

Quoted 15 lines · Ganesh Mahajan via lists.yoctoproject.org

As we have phased out meta-gplv2 for Scarthgap, but my system needs gplv2 and also i need to upgrade to scarthgap. Is there a way to have both accomplished. I am getting below error. When i run bitbake.

build@ubuntu-bionic:~/project/build$ bitbake
ERROR: Layer gplv2 is not compatible with the core layer which only supports these series: scarthgap (layer is compatible with dunfell)

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64575): https://lists.yoctoproject.org/g/yocto/message/64575
Mute This Topic: https://lists.yoctoproject.org/mt/110665136/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Removed meta-gplv2 from bblayers.conf

facing below error when ran bitbake

build@ubuntu-bionic:~/project/build$ bitbake
ERROR: Unable to parse /home/build/project/bitbake/lib/bb/parse/parse_py/BBHandler.py
Traceback (most recent call last):
File "/home/build/project/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 71, in inherit(files=['image-mklibs'], fn='configuration INHERITs', lineno=0, d=<bb.data_smart.DataSmart object at 0x7f9f45137190>, deferred=False):
if not os.path.exists(file):
Quoted 1 line

           raise ParseError("Could not inherit file %s" % (file), fn, lineno)

*bb.parse.ParseError: ParseError in configuration INHERITs: Could not inherit file classes/image-mklibs.bbclass

* to resolve the issue removed the *image-mklibs* from *local.conf.sample* as support for it is being removed from honister is there anything to do with *BBHandler.py* from were the error is thrown?