Trying to build scarthgap image facing 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
Their is a commit for error https://patchwork.yoctoproject.org/project/oe-core/patch/20230602133453.229023-3-richard.pur...@linuxfoundation.org/ but for scarthgap it has been updated. i.e. the function names have been changed in scarthgap and the commit made. Scarthgap has below func def collect_direct_deps ( d , dep_task ): current_task = "do_" + d. getVar ( "BB_CURRENTTASK" ) pn = d. getVar ( "PN" ) taskdepdata = d. getVar ( "BB_TASKDEPDATA" , False ) for this_dep in taskdepdata. values (): if this_dep [ 0 ] == pn and this_dep [ 1 ] == current_task : break else : bb. fatal ( f "Unable to find this {pn}:{current_task} in taskdepdata" ) deps = set () for dep_name in this_dep [ 3 ]: dep_data = taskdepdata [ dep_name ] if dep_data [ 1 ] == dep_task and dep_data [ 0 ] ! = pn : deps. add (( dep_data [ 0 ] , dep_data [ 7 ])) return sorted ( deps ) collect_direct_deps [ vardepsexclude ] += "BB_TASKDEPDATA" collect_direct_deps [ vardeps ] += "DEPENDS" And the commit has def collect_direct_deps(d, dep_task): current_task = "do_" + d.getVar("BB_CURRENTTASK") pn = d.getVar("PN") taskdepdata = d.getVar("BB_TASKDEPDATA", False) for this_dep in taskdepdata.values(): if this_dep[0] == pn and this_dep[1] == current_task: break else: bb.fatal(f"Unable to find this {pn}:{current_task} in taskdepdata") deps = set() for dep_name in this_dep[3]: dep_data = taskdepdata[dep_name] if dep_data[1] == dep_task and dep_data[0] != pn: deps.add((dep_data[0], dep_data[7])) return sorted(deps) collect_direct_deps[vardepsexclude] += "BB_TASKDEPDATA" collect_direct_deps[vardeps] += "DEPENDS" I this causing the issue? Ganesh Mahajan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64656): https://lists.yoctoproject.org/g/yocto/message/64656 Mute This Topic: https://lists.yoctoproject.org/mt/110855521/21656 Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #raspberrypi:https://lists.yoctoproject.org/g/yocto/mutehashtag/raspberrypi Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-