Skip to content

Scarthgap SPDX conflict #2143

Description

@Bull101

We are currently updating our Jetson OS based on meta-tegra branch scarthgap-l4t-R35.x to scarthgap. We have switched from the linux-tegra kernel to the yocto-kernel and out of tree nvidia kernel module. When successfully build and run our OS with scarthgap-l4t-R35.x.

When run the build pipeline it appears that it failed at do_rootfs phase with the following error:

 ERROR: core-image-mtd-1.0.0-r0 do_rootfs: Unable to find package with name 'kernel-module-snd-soc-tegra186-asrc-6.6.92-yocto-standard' in SPDX file [OUR_YOCTO_DIR]/build/tmp-glibc/deploy/spdx/by-hash/my_machine/sstate:nvidia-kernel-oot:my_machine-linux:36.4.3:r0:my_machine:12:/nv-kernel-module-snd-soc-tegra186-asrc-6.6.92-yocto-standard.spdx.json

ERROR: Logfile of failure stored in: [OUR_YOCTO_DIR]build/tmp-glibc/work/my_machine-linux/core-image-mtd/1.0.0/temp/log.do_rootfs.9500

ERROR: Task ([OUR_YOCTO_DIR]Dependencies/meta-mtd/recipes-core/images/core-image-mtd_1.0.0.bb:do_rootfs) failed with exit code '1'

ERROR: core-image-mtd-1.0.0-r0 do_populate_sdk: Unable to find package with name 'kernel-module-snd-soc-tegra186-asrc-6.6.92-yocto-standard' in SPDX file [OUR_YOCTO_DIR]build/tmp-glibc/deploy/spdx/by-hash/orin_mtd_my_machine/sstate:nvidia-kernel-oot:my_machine-linux:36.4.3:r0:orin_mtd_my_machine:12:/nv-kernel-module-snd-soc-tegra186-asrc-6.6.92-yocto-standard.spdx.json

ERROR: Logfile of failure stored in: [OUR_YOCTO_DIR]build/tmp-glibc/work/my_machine-linux/core-image-mtd/1.0.0/temp/log.do_populate_sdk.9504

ERROR: Task ([OUR_YOCTO_DIR]Dependencies/meta-mtd/recipes-core/images/core-image-mtd_1.0.0.bb:do_populate_sdk) failed with exit code '1' 

The file nv-kernel-module-snd-soc-tegra186-asrc-6.6.92-yocto-standard.spdx.json is present in the build directory.

After digging a bit I've starting to suspect the addition of the "nv-" prefix in all the nvidia kernel modules without any certainty.

Does anyone already had this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions