gstreamer1.0 error: while "bitbake fsl-image-validation-imx" on Yocto Project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gstreamer1.0 error: while "bitbake fsl-image-validation-imx" on Yocto Project

419 Views
JohnnyLiu
Contributor I

Hello,

Building Yocto version: imx-yocto-L5.15.32_2.0.0.zip

There are some errors occured while "bitbake fsl-image-validation-imx" on Ubuntu 20.04.6. However, it is normal and successful compilation (such as, core-image-base-imx8mp-lpddr4-evk-20231115232119.rootfs.tar.gz) while "bitbake fsl-image-validation-imx" on Ubuntu 20.04.6

Informations as follows, anyone have ideas?

 

 

test@ThinkPad-T430:/work/murata/2ea-imx8plus/imx-yocto-bsp$ bitbake fsl-image-validation-imx
Loading cache: 100% |##########################################################################################################| Time: 0:00:01
Loaded 4746 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for virtual/opencl-icd (imx-gpu-viv, opencl-icd-loader)
Consider defining a PREFERRED_PROVIDER entry to match virtual/opencl-icd

Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.15-kirkstone"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:27de52e402ae000dfa502d52908cd6e6aef923ec"
meta-oe
meta-multimedia
meta-python = "HEAD:5357c7a40eaf8d1bcf7ff58edbba8e9527e40c7d"
meta-freescale = "HEAD:2fb1ce365338126aad365012ebb913b3e4a9f1be"
meta-freescale-3rdparty = "HEAD:de0eb1408150d77f9cce97c559f9a5a3c71e5d6c"
meta-freescale-distro = "HEAD:fc15f5003043da23212596be7366ae2547c308ad"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:0b77181b5e9137d400e8113a173dbfaa79b35dad"
meta-nxp-demo-experience = "HEAD:35c364933945dd15b7a96b60675fc304ce6fb881"
meta-chromium = "HEAD:d25d8ee98a656b2534d0eec6138ef264529fab4f"
meta-clang = "HEAD:85d956d95401479ca666139e31f662f60c156d5f"
meta-gnome
meta-networking
meta-filesystems = "HEAD:5357c7a40eaf8d1bcf7ff58edbba8e9527e40c7d"
meta-qt6 = "HEAD:b2894aad5c1aaa85f2f5c7b94391b7c51c39e555"
meta-virtualization = "HEAD:973c8d0964c6f40338857efe5b8009b2f647d485"
meta-murata-wireless = "HEAD:71ef8aa82c77e6528fdb03f98b384a3524a5b50c"

Initialising tasks: 100% |#####################################################################################################| Time: 0:00:06
Sstate summary: Wanted 515 Local 0 Mirrors 0 Missed 515 Current 3263 (0% match, 86% complete)
NOTE: Executing Tasks
ERROR: gstreamer1.0-1.20.0.imx-r0 do_package: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:package_prepare_pkgdata(d)
0003:
File: '/work/murata/2ea-imx8plus/imx-yocto-bsp/sources/poky/meta/classes/package_pkgdata.bbclass', lineno: 159, function: package_prepare_pkgdata
0155: dest = targetdir + l.replace(stagingdir, "")
0156: if l.endswith("/"):
0157: staging_copydir(l, targetdir, dest, seendirs)
0158: continue
*** 0159: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0160:
0161: bb.note("Installed into pkgdata-sysroot: %s" % str(msg_adding))
0162:
0163:}
File: '/work/murata/2ea-imx8plus/imx-yocto-bsp/sources/poky/meta/classes/staging.bbclass', lineno: 158, function: staging_copyfile
0154: os.symlink(linkto, dest)
0155: #bb.warn(c)
0156: else:
0157: try:
*** 0158: os.link(c, dest)
0159: except OSError as err:
0160: if err.errno == errno.EXDEV:
0161: bb.utils.copyfile(c, dest)
0162: else:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/work/murata/2ea-imx8plus/imx-yocto-bsp/build-imx8plus/tmp/pkgdata/imx8mp-lpddr4-evk/extended/libg2c-dev.json.zstd' -> '/work/murata/2ea-imx8plus/imx-yocto-bsp/build-imx8plus/tmp/work/armv8a-poky-linux/gstreamer1.0/1.20.0.imx-r0/pkgdata-sysroot/extended/libg2c-dev.json.zstd'

ERROR: Logfile of failure stored in: /work/murata/2ea-imx8plus/imx-yocto-bsp/build-imx8plus/tmp/work/armv8a-poky-linux/gstreamer1.0/1.20.0.imx-r0/temp/log.do_package.374692
ERROR: Task (/work/murata/2ea-imx8plus/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0_1.20.0.imx.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8700 tasks of which 8685 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/work/murata/2ea-imx8plus/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0_1.20.0.imx.bb:do_package
Summary: There was 1 ERROR message, returning a non-zero exit code.

test@ThinkPad-T430:/work/murata/2ea-imx8plus/imx-yocto-bsp$

 

Please help to give some suggestion.

 

Thanks,

Labels (1)
0 Kudos
4 Replies

354 Views
joanxie
NXP TechSupport
NXP TechSupport

why do you need build fsl-image-validation-imx? in new bsp, we don't use this image anymore, pls try imx-image-multimedia or imx-image-full

0 Kudos

350 Views
JohnnyLiu
Contributor I

Hi Joanxie,

 

The following command requirement "bitbake fsl-image-validation-imx":

test@ThinkPad-T430:/work/murata/2ea-imx8plus/imx-yocto-bsp$ bash ./sources/meta-murata-wireless/add-murata-layer-script/add-murata-wireless.sh build-imx8plus

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

Your configuration files at build-imx8plus have not been touched.

CORRECTION: Murata modified the following files
- bblayers.conf present in <BUILD_DIR>/conf
- local.conf present in <BUILD_DIR>/conf
- imx6ulevk.conf present in sources/meta-freescale/conf/machine
- imx6ull14x14evk.conf present in sources/meta-imx/meta-bsp/conf/machine
- imx6slevk.conf ./sources/meta-freescale/conf/machine
- imx6sxsabresd.conf ./sources/meta-freescale/conf/machine
- imx6qsabresd.conf ./sources/meta-imx/meta-bsp/conf/machine
- imx6qpsabresd.conf ./sources/meta-imx/meta-bsp/conf/machine
- imx6dlsabresd.conf ./sources/meta-imx/meta-bsp/conf/machine
- imx8mnevk.conf ./sources/meta-imx/meta-bsp/conf/machine
- imx8_all.conf ./sources/meta-imx/meta-bsp/conf/machine
- imx8mnddr4evk.conf ./sources/meta-imx/meta-bsp/conf/machine
- imx8mnlpddr4evk.conf ./sources/meta-imx/meta-bsp/conf/machine
- imx8mm-lpddr4-evk.conf ./sources/meta-freescale/conf/machine
- imx8mn-lpddr4-evk.conf ./sources/meta-freescale/conf/machine
- layer.conf ./sources/meta-imx/meta-bsp/conf

Murata-Wireless setup complete. Create an image with:
$ bitbake fsl-image-validation-imx

 

Whether it is correct or not?

 

Thanks,

Johnny

0 Kudos

414 Views
JohnnyLiu
Contributor I

Hello,

However, it is normal and successful compilation (such as, core-image-base-imx8mp-lpddr4-evk-20231115232119.rootfs.tar.gz) while "bitbake core-image-base" on Ubuntu 20.04.6

Thanks!

 

0 Kudos

324 Views
joanxie
NXP TechSupport
NXP TechSupport

you can refer to the yocto user guide, fsl-image-validation-imx is for old bsp, for newer bsp you used, we don't test this image anymore, so maybe you will found issue, pls use the images in the yocto user guide

0 Kudos