-
Notifications
You must be signed in to change notification settings - Fork 285
Open
Description
When I build for target and nativesdk in the same direcory I get a build error, like this:
$ bitbake cpio
[...]
$ bitbake nativesdk-cpio
Loading cache: 100% |###################################################################################################################################################################################################| Time: 0:00:00
Loaded 4791 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.8.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "imx8mm-ddr4-evk"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "aarch64 crc cortexa53 crypto"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:7e8674996b0164b07e56bc066d0fba790e627061"
meta-oe
meta-networking
meta-python = "HEAD:e76bf51a92b41d4cb185fc164ae43a863910ccd1"
meta-freescale = "HEAD:902dde8c5bd29bb507ac8d37772565a6c9ab77cd"
Sstate summary: Wanted 27 Local 0 Mirrors 0 Missed 27 Current 326 (0% match, 92% complete)########################################################################################################## | ETA: 0:00:00
Initialising tasks: 100% |##############################################################################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: nativesdk-cpio-2.15-r0 do_package_write_ipk: The sstate manifest for task 'base-passwd:populate_sysroot' (multilib variant '') could not be found.
The pkgarchs considered were: imx8mm_ddr4_evk, cortexa53, x86_64, cortexa53, armv8a-crc, armv8a, aarch64, allarch, x86_64_x86_64-nativesdk.
But none of these manifests exists:
.../build/tmp-glibc/sstate-control/manifest-imx8mm_ddr4_evk-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-cortexa53-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-x86_64-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-cortexa53-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-armv8a-crc-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-armv8a-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-aarch64-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-allarch-base-passwd.populate_sysroot
.../build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-base-passwd.populate_sysroot
ERROR: Logfile of failure stored in: .../build/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/nativesdk-cpio/2.15/temp/log.do_package_write_ipk.1057096
ERROR: Task (virtual:nativesdk:.../layers/poky/meta/recipes-extended/cpio/cpio_2.15.bb:do_package_write_ipk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1073 tasks of which 1013 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:nativesdk:.../layers/poky/meta/recipes-extended/cpio/cpio_2.15.bb:do_package_write_ipk
log: .../build/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/nativesdk-cpio/2.15/temp/log.do_package_write_ipk.1057096
Summary: There was 1 ERROR message, returning a non-zero exit code.
I noticed that DEFAULTTUNE is not the same for target and nativesdk builds (cortexa53-crypto vs cortexa53), and this may be a reason for the error.
What would be the best approach to fix this:
- fix something in meta-freescale?
- fix something in my project layer? (
DEFAULTTUNE="cortexa53-crypto"orPACKAGE_EXTRA_ARCHS:append:class-nativesdk = " cortexa53-crypto")
The second options does fix the issue, but I suppose others might be concerned, and might be interested by a wider fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels