image_types_wic.bbclass adds an unconditional dependency on syslinux-native, but syslinux is only compatible with x86/x86_64 hosts. This issue was noticed when trying to build core-image-sato for the BeagleBone on an AArch64 host, but isn't dependent on the particular image or target. Any recipe that includes image.bbclass should trigger the failure.
I'm not sure its entirely unconditional. The dependency seems to come from: WKS_FILE_DEPENDS_DEFAULT = "syslinux-native bmap-tools-native cdrtools-native btrfs-tools-native squashfs-tools-native e2fsprogs-native" which led to: meta/classes/image_types_wic.bbclass:WKS_FILE_DEPENDS ??= "${WKS_FILE_DEPENDS_DEFAULT} ${WKS_FILE_DEPENDS_BOOTLOADERS}" which leads to: meta/classes/image_types_wic.bbclass:DEPENDS += "${@ '${WKS_FILE_DEPENDS}' if d.getVar('USING_WIC') else '' } and then: meta/classes/image_types_wic.bbclass:USING_WIC = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s' % c for c in '${CONVERSIONTYPES}'.split()), '1', '', d)}" So it does look like you have to be using wic as an output file format. The dependency would still seem inaccurate and should probably only be added if the target machine is x86?
Created attachment 4542 [details] proposed solution Hi Anders, I have attached a patch with proposed solution. I can not verify the patch. Could you please apply this patch and try to reproduce the issue on your non x86 build machine. Regards, Naveen
Hello Naveen, With your patch applied, the build finishes successfully.
Fix is merged in master branch. https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b8cbefb3fdb4b62a8a536c717359fd6314335cb7