Do you have a lot of modifications for the layers/recipes?

I would debugging this on a very basic level: remove your modifications (comment local.conf modifications, and other global changes, along with bbappends that are changing the base layers), and check if you can build it successfully. If you can, then start adding back them slowly, while you keep checking if you can still build the image. Once it breaks, at least you have a more exact point of reference to investigate.

(FWIW, I have built kernel 6.6.22 on Scarthgap for Rpi3, Rpi3-64 and Rpi4 over the course of the past 3 days without problems, but that was with my own config... mentioning this only as a note that the kernel is not impossible to build with this setup)

On 29.01.25 12:51, Ganesh Mahajan via lists.yoctoproject.org wrote:
I am trying to build scarthgap image using : bitbake -k wac-core-image

I got below error
ERROR: Task /home/build/project/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.6.bb:do_collect_spdx_deps has circular dependency on /home/build/project/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.6.bb:do_create_spdx
ERROR: Command execution failed: 1

above error is been fixed in this commit for scartrhgap : https://git.yoctoproject.org/poky/commit/?h=scarthgap&id=15acbd10906568a1ed9c548b465f1cb6b5205202 <https://git.yoctoproject.org/poky/commit/?h=scarthgap&id=15acbd10906568a1ed9c548b465f1cb6b5205202>

But their is also a commit were in the function names have been changed : [03/11] classes/create-spdx-2.2: Fix build time dependency calculations - Patchwork <https://patchwork.yoctoproject.org/project/oe-core/patch/20230602133453.229023-3-richard.pur...@linuxfoundation.org/> Above commits are for error mentioned above just that there is change in function names for create-spdx-2.2

To get rid of the error i added INHERIT:remove += "create-spdx" to my local.conf above issue resolved with the commit but i came across  below error ERROR: Task /home/build/project/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.6.bb:do_package has circular dependency on /home/build/project/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.6.bb:do_packagedata
ERROR: Command execution failed: 1

Am I missing something i am working on scarthgap-5.0.5 version


Ganesh Mahajan



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64671): https://lists.yoctoproject.org/g/yocto/message/64671
Mute This Topic: https://lists.yoctoproject.org/mt/110876502/21656
Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel
Mute #rpi:https://lists.yoctoproject.org/g/yocto/mutehashtag/rpi
Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to