AnsweredAssumed Answered

ERRORs:while bitbake core-image-base on Yocto Project

Question asked by Liquan Duan on May 24, 2017
Latest reply on Aug 28, 2017 by Piers Basto

There are some errors occured while bitbake core-image-base on Ubuntu-17.04,

Informations as follows, anyone have ideas?

////////

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-17.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "fsl-imx-x11"
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

 

ERROR: core-image-base-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: '/home/detc/fsl-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: '/home/detc/fsl-bsp/dashboard/tmp/sysroots/imx6qsabresd/pkgdata/runtime-reverse/No'

 

ERROR: core-image-base-1.0-r0 do_rootfs: Function failed: license_create_manifest
ERROR: Logfile of failure stored in: /home/detc/fsl-bsp/dashboard/tmp/work/imx6qsabresd-poky-linux-gnueabi/core-image-base/1.0-r0/temp/log.do_rootfs.1189
ERROR: Task 9 (/home/detc/fsl-bsp/sources/poky/meta/recipes-core/images/core-image-base.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2765 tasks of which 1602 didn't need to be rerun and 1 failed.
No currently running tasks (2765 of 2771)

 

Summary: 1 task failed:
  /home/detc/fsl-bsp/sources/poky/meta/recipes-core/images/core-image-base.bb, do_rootfs
Summary: There were 74 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes