Skip to contentSkip to conversation

Issue baking a new layer for a custom kernel #kernel

DISCUSSION nagesh shamnur 2 participants 2 messages Aug 19, 2021 – Sep 1, 2021

lore
Share & tools
lore
#0 lore raw

Hi Group,
I am trying to add a new layer for a custom RTOS which supports RISCV32 architecture. When i run bitbake i bumped into following error:
"
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: Variable RDEPENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: Variable RRECOMMENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: Fatal QA errors found, failing task.
ERROR: Failed to parse recipe: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb
WARNING: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.0.bb: Cooker received SIGTERM, shutting down...
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: Variable RDEPENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: Variable RRECOMMENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: Fatal QA errors found, failing task.
WARNING: Cooker received SIGTERM, shutting down...
WARNING: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...

Summary: There were 12 WARNING messages shown.
Summary: There were 7 ERROR messages shown, returning a non-zero exit code. "

Looking for the exact line which might have created a problem, found out that the issue is happening in the following line "PACKAGES =. "${PN}-test " from the file ./meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb.

i have tried the following options, but none of them have helped in solving the issue.
1) I suspected that missing python3native might have resulted in the problem and included "inherit python3native" in my recipe file,
2) Also checked for presence of RDEPENDS in my recipe file as below: "LAYERDEPENDS_xxx ="core meta-python"

Please suggest a way out of this issue.

Thanks!

#1 lore raw

ensure that you are using same release branches for all layer repos generally RDEPENDS and RRECOMMENDS should be replaced with RDEPENDS_<pkgname> etc.

Quoted 42 lines · nagesh shamnur

Hi Group,
I am trying to add a new layer for a custom RTOS which supports RISCV32 architecture. When i run bitbake i bumped into following error:
"
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: Variable RDEPENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: Variable RRECOMMENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb: Fatal QA errors found, failing task.
ERROR: Failed to parse recipe: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb
WARNING: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.0.bb: Cooker received SIGTERM, shutting down...
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: Variable RDEPENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: QA Issue: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: Variable RRECOMMENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb: Fatal QA errors found, failing task.
WARNING: Cooker received SIGTERM, shutting down...
WARNING: /home/gitee-ohos/ohos/AllScenariosOS/sources/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...
WARNING: Cooker received SIGTERM, shutting down...

Summary: There were 12 WARNING messages shown.
Summary: There were 7 ERROR messages shown, returning a non-zero exit code. "

Looking for the exact line which might have created a problem, found out that the issue is happening in the following line "PACKAGES =. "${PN}-test " from the file ./meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb.

i have tried the following options, but none of them have helped in solving the issue.
1) I suspected that missing python3native might have resulted in the problem and included "inherit python3native" in my recipe file,
2) Also checked for presence of RDEPENDS in my recipe file as below: "LAYERDEPENDS_xxx ="core meta-python"

Please suggest a way out of this issue.

Thanks!