There seems to be some kind of intermittent issue where the pkgdata file either goes missing or is never created - this sounds vaguely familiar though I'm not sure where it came up before. Leo, can you file a bug for the situation you saw?
Thanks, Paul On Monday, 30 January 2017 10:46:38 AM NZDT Leonardo Sandoval wrote: > workaround: Try using another package manager as first option in the > PACKAGE_CLASSES variable set on local.conf. > > I have a similar error on a OpenSUSE machine but did not report it. I > was using the rpm (which is the default) but did the trick mentioned > above and worked. > > On 01/30/2017 09:44 AM, Andrew Goodbody wrote: > > Anyone know what the deal is here? > > > > Andrew > > > >> -----Original Message----- > >> I now get the following build failure from do_rootfs > >> > >> 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/andrew/src/camol3/camol/layers/openembedded- > >> 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: > >> '/home/andrew/src/camol3/camol/build/tmp-camol- > >> glibc/pkgdata/whippet/runtime-reverse/kernel-module-configfs' > >> > >> ERROR: whippet-internal-image-1.0-r0 do_rootfs: Function failed: > >> license_create_manifest > >> > >> /home/andrew/src/camol3/camol/build/tmp-camol- > >> glibc/pkgdata/whippet/runtime-reverse/kernel-module-configfs indeed > >> does not exist but > >> /home/andrew/src/camol3/camol/build/tmp-camol- > >> glibc/pkgdata/whippet/runtime-reverse/kernel-module-configfs-4.5.1 does > >> exist. > >> > >> Andrew -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core