AnsweredAssumed Answered

ERRORs:while bitbake fsl-image-qt5 on Yocto

Question asked by Ansel Yip on Nov 20, 2018
Latest reply on Nov 22, 2018 by gusarambula

There are some errors occured while bitbake fsl-image-qt5 on Ubuntu-18.04,

Informations as follows, anyone have solution ?

 

 

-----------------/////////////////////////////////////////////------------------

WARNING: Host distribution "Ubuntu-18.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% |#####################################################| ETA: 00:00:00
Loaded 2792 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qsabreauto"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "4.1.15-2.1.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab"
meta-oe
meta-multimedia = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm = "HEAD:be78894e4682f111575470fb23e51e6ba523508d"
meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396"
meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"
meta-bsp
meta-sdk = "HEAD:823b26a67261270d2bf22d511e6190641a8a90cf"
meta-browser = "HEAD:77736988073a5d90fcff9d0005c8477332ede387"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-qt5 = "HEAD:ccae79be69c5268df3b47e4e14cea0591c39a531"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

 

-----------------/////////////////////////////////////////////------------------

ERROR: fsl-image-qt5-1.0-r0 do_rootfs: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:license_create_manifest(d)
0003:
File: '/mnt/hdd/home/yezl/share/yocto/bin/fsl-release-bsp/sources/poky/meta/classes/license.bbclass', lineno: 48, function: license_create_manifest
0044: pkg_dic = {}
0045: for pkg in sorted(image_list_installed_packages(d)):
0046: pkg_info = os.path.join(d.getVar('PKGDATA_DIR', True),
0047: 'runtime-reverse', pkg)
*** 0048: pkg_name = os.path.basename(os.readlink(pkg_info))
0049:
0050: pkg_dic[pkg_name] = oe.packagedata.read_pkgdatafile(pkg_info)
0051: if not "LICENSE" in pkg_dic[pkg_name].keys():
0052: pkg_lic_name = "LICENSE_" + pkg_name
Exception: OSError: [Errno 2] No such file or directory: '/mnt/hdd/home/yezl/share/yocto/bin/fsl-release-bsp/build/tmp/sysroots/imx6qsabreauto/pkgdata/runtime-reverse/No'

ERROR: fsl-image-qt5-1.0-r0 do_rootfs: Function failed: license_create_manifest
ERROR: Logfile of failure stored in: /mnt/hdd/home/yezl/share/yocto/bin/fsl-release-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/fsl-image-qt5/1.0-r0/temp/log.do_rootfs.17984
$<50>ERROR: Task 9 (/mnt/hdd/home/yezl/share/yocto/bin/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb, do_rootfs) failed with exit code '1'
$<50>NOTE: Tasks Summary: Attempted 5832 tasks of which 5831 didn't need to be rerun and 1 failed.
No currently running tasks (4832 of 5838)

Summary: 1 task failed:
/mnt/hdd/home/yezl/share/yocto/bin/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb, do_rootfs
Summary: There were 73 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes