<div dir="ltr"><div dir="ltr">On Mon, 17 Jun 2019 at 16:22, Richard Purdie <<a href="mailto:rpurdie@rpsys.net" target="_blank">rpurdie@rpsys.net</a>> wrote:<br></div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>>Yes, it's another one of those recipes which includes a <div dir="ltr"><div>>different recipe with its version number (which breaks when </div><div>>devtool upgrades one but not the other).</div><div>></div><div>>I have a fix queued:</div><div>><a href="http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&id=00eb5952479370553756dface4cf6c81f51b9e8f" target="_blank">http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&id=00eb5952479370553756dface4cf6c81f51b9e8f</a></div><div><br></div><div>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?</div><div><br></div><div>Perhaps it should parse test them individually?</div></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>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).</div><div><br></div><div>Specific traceback from devtool:</div><div><br></div><div>Traceback (most recent call last):<br> File "/home/alexander/development/poky/scripts/devtool", line 334, in <module><br> ret = main()<br> File "/home/alexander/development/poky/scripts/devtool", line 321, in main<br> ret = args.func(args, config, basepath, workspace)<br> File "/home/alexander/development/poky/scripts/lib/devtool/upgrade.py", line 551, in upgrade<br> rf, copied = _create_new_recipe(args.version, md5, sha256, args.srcrev, srcbranch, srcsubdir1, srcsubdir2, config.workspace_path, tinfoil, rd, license_diff, new_licenses)<br> File "/home/alexander/development/poky/scripts/lib/devtool/upgrade.py", line 419, in _create_new_recipe<br> rd = tinfoil.parse_recipe_file(fullpath, False)<br> File "/home/alexander/development/poky/bitbake/lib/bb/tinfoil.py", line 641, in parse_recipe_file<br> dscon = self.run_command('parseRecipeFile', fn, appends, appendlist)<br> File "/home/alexander/development/poky/bitbake/lib/bb/tinfoil.py", line 466, in run_command<br> raise TinfoilCommandFailed(result[1])<br>bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 94, in include_single_file<br> bb.parse.handle(fn, data, True)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py", line 107, in handle<br> return h['handle'](fn, data, include)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 120, in handle<br> abs_fn = resolve_file(fn, d)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py", line 125, in resolve_file<br> raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath))<br>FileNotFoundError: [Errno 2] file recipes-extended/newt/<a href="http://libnewt_0.52.21.bb">libnewt_0.52.21.bb</a> 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<br><br>During handling of the above exception, another exception occurred:<br><br>Traceback (most recent call last):<br> File "/home/alexander/development/poky/bitbake/lib/bb/command.py", line 74, in runCommand<br> result = command_method(self, commandline)<br> File "/home/alexander/development/poky/bitbake/lib/bb/command.py", line 562, in parseRecipeFile<br> envdata = parser.loadDataFull(fn, appendfiles)<br> File "/home/alexander/development/poky/bitbake/lib/bb/cache.py", line 327, in loadDataFull<br> bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)<br> File "/home/alexander/development/poky/bitbake/lib/bb/cache.py", line 340, in load_bbfile<br> datastores = parse_recipe(bb_data, bbfile, appends, mc)<br> File "/home/alexander/development/poky/bitbake/lib/bb/cache.py", line 303, in parse_recipe<br> bb_data = bb.parse.handle(bbfile, bb_data)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py", line 107, in handle<br> return h['handle'](fn, data, include)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 130, in handle<br> statements.eval(d)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/ast.py", line 23, in eval<br> statement.eval(data)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/ast.py", line 45, in eval<br> bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, "include required")<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 71, in include<br> include_single_file(parentfn, fn, lineno, data, error_out)<br> File "/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 98, in include_single_file<br> raise ParseError("Could not %s file %s" % (error_out, fn), parentfn, lineno)<br>bb.parse.ParseError: ParseError at /home/alexander/development/poky/build/workspace/recipes/libnewt-python/<a href="http://libnewt-python_0.52.21.bb:1">libnewt-python_0.52.21.bb:1</a>: Could not include required file recipes-extended/newt/<a href="http://libnewt_0.52.21.bb">libnewt_0.52.21.bb</a><br></div><div><br></div><div>Alex<br></div><div> </div></div></div>
</div>