[OE-core] Weird license_create_manifest failures in sumo

Mike Looijmans mike.looijmans at topic.nl
Tue Jun 26 09:30:45 UTC 2018


I'm migrating to "sumo" from rocko, and when building for multiple machines on 
the build server, I get failures like the one below.

I'm suspecting this is a resurrection of the MACHINE/allarch problems that 
i've seen in the past, but this time I cannot work around them since they 
concern "base" packages.

I did not see this in the rocko branch with the same configuration.

I already tried cleaning out the "tmp" folder and restarting.




Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-14.04"
TARGET_SYS           = "arm-oe-linux-gnueabi"
MACHINE              = "topic-miami-florida-gen-xc7z015"
DISTRO               = "tiny"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU           = "hard"
meta                 = "HEAD:dceca6d34071b4cbef9e28bbf19dc12f5d925525"
meta-oe
meta-multimedia
meta-python          = "HEAD:a19aa29f7fa336cd075b72c496fe1102e6e5422b"
meta-qt4             = "HEAD:8e791c40140460825956430ba86b6266fdec0a93"
meta-xilinx-bsp      = "HEAD:b2f74cc7fe5c4881589d5e440a17cb51fc66a7ab"
meta-topic           = "HEAD:6a3e86cb565c782dd4c3467ca820f08dde5f8472"
meta-dyplo           = "HEAD:0e8d4d9dedb7f2b12fd9a1822ecfa4635ff72227"
meta-topic-internal  = "HEAD:0d4f93fda7c2d2022cb6a535b9a96010be0ff0c7"

...

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: '/.../oe-core/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'),
      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: FileNotFoundError: [Errno 2] No such file or directory: 
'/.../build/tmp-glibc/pkgdata/topic-miami-florida-gen-xc7z030/runtime-reverse/base-passwd'





Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail






More information about the Openembedded-core mailing list