On Mon, 17 Jun 2019 at 16:22, Richard Purdie <[email protected]> wrote:
> >Yes, it's another one of those recipes which includes a > >different recipe with its version number (which breaks when > >devtool upgrades one but not the other). > > > >I have a fix queued: > > > http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&id=00eb5952479370553756dface4cf6c81f51b9e8f > > I think what worries me more is the build isn't reset so this is reported > against lttng-ust. I guess its because its testing the changes together? > > Perhaps it should parse test them individually? > The build isn't reset because 'devtool upgrade libnewt-python' fails mid-way and leaves the workspace in an inconsistent state (workspace/recipes/ has content but workspace/append does not), so 'devtool reset' isn't able to revert that state. AUH could probably clean up the files in this situation, but currently doesn't - it just assumes that devtool is able to clean up after itself in any situation (which seems to not be the case, sadly). Specific traceback from devtool: Traceback (most recent call last): File "/home/alexander/development/poky/scripts/devtool", line 334, in <module> ret = main() File "/home/alexander/development/poky/scripts/devtool", line 321, in main ret = args.func(args, config, basepath, workspace) File "/home/alexander/development/poky/scripts/lib/devtool/upgrade.py", line 551, in upgrade rf, copied = _create_new_recipe(args.version, md5, sha256, args.srcrev, srcbranch, srcsubdir1, srcsubdir2, config.workspace_path, tinfoil, rd, license_diff, new_licenses) File "/home/alexander/development/poky/scripts/lib/devtool/upgrade.py", line 419, in _create_new_recipe rd = tinfoil.parse_recipe_file(fullpath, False) File "/home/alexander/development/poky/bitbake/lib/bb/tinfoil.py", line 641, in parse_recipe_file dscon = self.run_command('parseRecipeFile', fn, appends, appendlist) File "/home/alexander/development/poky/bitbake/lib/bb/tinfoil.py", line 466, in run_command raise TinfoilCommandFailed(result[1]) bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last): File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 94, in include_single_file bb.parse.handle(fn, data, True) File "/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py", line 107, in handle return h['handle'](fn, data, include) File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 120, in handle abs_fn = resolve_file(fn, d) File "/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py", line 125, in resolve_file raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath)) FileNotFoundError: [Errno 2] file recipes-extended/newt/libnewt_0.52.21.bb not found in /home/alexander/development/poky/build/workspace:/home/alexander/development/poky/meta-poky:/home/alexander/development/poky/build:/home/alexander/development/poky/meta:/home/alexander/development/poky/meta-yocto-bsp:/home/alexander/development/meta-mingw During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/alexander/development/poky/bitbake/lib/bb/command.py", line 74, in runCommand result = command_method(self, commandline) File "/home/alexander/development/poky/bitbake/lib/bb/command.py", line 562, in parseRecipeFile envdata = parser.loadDataFull(fn, appendfiles) File "/home/alexander/development/poky/bitbake/lib/bb/cache.py", line 327, in loadDataFull bb_data = self.load_bbfile(virtualfn, appends, virtonly=True) File "/home/alexander/development/poky/bitbake/lib/bb/cache.py", line 340, in load_bbfile datastores = parse_recipe(bb_data, bbfile, appends, mc) File "/home/alexander/development/poky/bitbake/lib/bb/cache.py", line 303, in parse_recipe bb_data = bb.parse.handle(bbfile, bb_data) File "/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py", line 107, in handle return h['handle'](fn, data, include) File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 130, in handle statements.eval(d) File "/home/alexander/development/poky/bitbake/lib/bb/parse/ast.py", line 23, in eval statement.eval(data) File "/home/alexander/development/poky/bitbake/lib/bb/parse/ast.py", line 45, in eval bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, "include required") File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 71, in include include_single_file(parentfn, fn, lineno, data, error_out) File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 98, in include_single_file raise ParseError("Could not %s file %s" % (error_out, fn), parentfn, lineno) bb.parse.ParseError: ParseError at /home/alexander/development/poky/build/workspace/recipes/libnewt-python/ libnewt-python_0.52.21.bb:1: Could not include required file recipes-extended/newt/libnewt_0.52.21.bb Alex
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
