Hello,
I am trying to build imx-full image using bitbake for imx93, i am following steps mentioned on the getting started page-3 of nxp frdm board imx93.
I am getting the following error:
adi@adi:/storage/POC/imx_yocto_bsp/frdm-imx93$ bitbake imx-image-full
WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |####################################################################################| Time: 0:00:01
Loaded 5720 entries from dependency cache.
Parsing recipes: 100% |##################################################################################| Time: 0:00:00
Parsing of 3644 .bb files complete (3643 cached, 1 parsed). 5721 targets, 683 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx93frdm"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-scarthgap"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40"
meta-oe
meta-multimedia
meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:04f1f31722751671440c1ed0ad471e2ea3abc1f5"
meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88"
meta-nxp-matter-baseline
meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b"
meta-arm
meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e"
meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682"
meta-gnome
meta-networking
meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80"
meta-parsec
meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034"
meta-virtualization = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce"
meta-imx-bsp
meta-nxp-demo-experience = "lf-6.6.36-2.1.0:ee1376a89478686a850aa0545695340fe360fa5b"
Sstate summary: Wanted 5686 Local 0 Mirrors 0 Missed 5686 Current 1383 (0% match, 19% complete)# | ETA: 0:00:00
Removing 294 stale sstate objects for arch imx93frdm: 100% |#############################################| Time: 0:00:05
Removing 16 stale sstate objects for arch allarch: 100% |################################################| Time: 0:00:00
Removing 9 stale sstate objects for arch x86_64: 100% |##################################################| Time: 0:00:00
Removing 935 stale sstate objects for arch armv8a: 100% |################################################| Time: 0:00:03
NOTE: Executing Tasks
ERROR: voiceui-voiceplayer-1.0-r0 do_patch: ExecutionError('/storage/POC/imx_yocto_bsp/frdm-imx93/tmp/work/armv8a-poky-linux/voiceui-voiceplayer/1.0/temp/run.do_patch.457669', 1, None, None)
ERROR: Logfile of failure stored in: /storage/POC/imx_yocto_bsp/frdm-imx93/tmp/work/armv8a-poky-linux/voiceui-voiceplayer/1.0/temp/log.do_patch.457669
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/storage/POC/imx_yocto_bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/storage/POC/imx_yocto_bsp/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'libtool-native', 'quilt-native', 'texinfo-dummy-native', 'patch-native', 'attr-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_patch
| mv: cannot stat '/storage/POC/imx_yocto_bsp/frdm-imx93/tmp/work/armv8a-poky-linux/voiceui-voiceplayer/1.0/0001-Change-Recipe-Target-Sysroot-path.patch': No such file or directory
| WARNING: exit code 1 from a shell command.
ERROR: Task (/storage/POC/imx_yocto_bsp/sources/meta-nxp-demo-experience/recipes-examples/imx-voice-player/voiceui-voiceplayer.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5114 tasks of which 4266 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/storage/POC/imx_yocto_bsp/sources/meta-nxp-demo-experience/recipes-examples/imx-voice-player/voiceui-voiceplayer.bb:do_patch
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.
I am using Ubuntu 24.04 (i know it's recommended to use Ubuntu 22.04, but i am instructed to perform all steps on 24.04). The error seems to be related to a missing patch file. I searched the patch file on my system, but can't find it. Also, i checked if the /frdm-imx93/tmp/work/armv8a-poky-linux/voiceui-voiceplayer/1.0/git git folder was upto date or not, but it is
adi@adi:/storage/POC/imx_yocto_bsp/frdm-imx93$ cd /storage/POC/imx_yocto_bsp/frdm-imx93/tmp/work/armv8a-poky-linux/voiceui-voiceplayer/1.0/git
adi@adi:/storage/POC/imx_yocto_bsp/frdm-imx93/tmp/work/armv8a-poky-linux/voiceui-voiceplayer/1.0/git$ git status
On branch MM_04.09.00_2405_L6.6.y
Your branch is up to date with 'origin/MM_04.09.00_2405_L6.6.y'.
nothing to commit, working tree clean
adi@adi:/storage/POC/imx_yocto_bsp/frdm-imx93/tmp/work/armv8a-poky-linux/voiceui-voiceplayer/1.0/git$ git pull
Already up to date.
Earlier i was getting error in qt_base module (logs for that present in attached file), so i resolved that by removing ptest from /frdm-imx93/conf/local.conf file.
Please support on this. Thanks in advance
Regards
Aditya