<div dir="ltr"><div dir="ltr">On Mon, 17 Jun 2019 at 16:22, Richard Purdie &lt;<a href="mailto:rpurdie@rpsys.net" target="_blank">rpurdie@rpsys.net</a>&gt; 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>&gt;Yes, it&#39;s another one of those recipes which includes a <div dir="ltr"><div>&gt;different recipe with its version number (which breaks when </div><div>&gt;devtool upgrades one but not the other).</div><div>&gt;</div><div>&gt;I have a fix queued:</div><div>&gt;<a href="http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&amp;id=00eb5952479370553756dface4cf6c81f51b9e8f" target="_blank">http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&amp;id=00eb5952479370553756dface4cf6c81f51b9e8f</a></div><div><br></div><div>I think what worries me more is the build isn&#39;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&#39;t reset because &#39;devtool upgrade libnewt-python&#39; fails mid-way and leaves the workspace in an inconsistent state (workspace/recipes/ has content but workspace/append does not), so &#39;devtool reset&#39; isn&#39;t able to revert that state.</div><div><br></div><div>AUH could probably clean up the files in this situation, but currently doesn&#39;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 &quot;/home/alexander/development/poky/scripts/devtool&quot;, line 334, in &lt;module&gt;<br>    ret = main()<br>  File &quot;/home/alexander/development/poky/scripts/devtool&quot;, line 321, in main<br>    ret = args.func(args, config, basepath, workspace)<br>  File &quot;/home/alexander/development/poky/scripts/lib/devtool/upgrade.py&quot;, 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 &quot;/home/alexander/development/poky/scripts/lib/devtool/upgrade.py&quot;, line 419, in _create_new_recipe<br>    rd = tinfoil.parse_recipe_file(fullpath, False)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/tinfoil.py&quot;, line 641, in parse_recipe_file<br>    dscon = self.run_command(&#39;parseRecipeFile&#39;, fn, appends, appendlist)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/tinfoil.py&quot;, line 466, in run_command<br>    raise TinfoilCommandFailed(result[1])<br>bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py&quot;, line 94, in include_single_file<br>    bb.parse.handle(fn, data, True)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py&quot;, line 107, in handle<br>    return h[&#39;handle&#39;](fn, data, include)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py&quot;, line 120, in handle<br>    abs_fn = resolve_file(fn, d)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py&quot;, line 125, in resolve_file<br>    raise IOError(errno.ENOENT, &quot;file %s not found in %s&quot; % (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 &quot;/home/alexander/development/poky/bitbake/lib/bb/command.py&quot;, line 74, in runCommand<br>    result = command_method(self, commandline)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/command.py&quot;, line 562, in parseRecipeFile<br>    envdata = parser.loadDataFull(fn, appendfiles)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/cache.py&quot;, line 327, in loadDataFull<br>    bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/cache.py&quot;, line 340, in load_bbfile<br>    datastores = parse_recipe(bb_data, bbfile, appends, mc)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/cache.py&quot;, line 303, in parse_recipe<br>    bb_data = bb.parse.handle(bbfile, bb_data)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/__init__.py&quot;, line 107, in handle<br>    return h[&#39;handle&#39;](fn, data, include)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py&quot;, line 130, in handle<br>    statements.eval(d)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/ast.py&quot;, line 23, in eval<br>    statement.eval(data)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/ast.py&quot;, line 45, in eval<br>    bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, &quot;include required&quot;)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py&quot;, line 71, in include<br>    include_single_file(parentfn, fn, lineno, data, error_out)<br>  File &quot;/home/alexander/development/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py&quot;, line 98, in include_single_file<br>    raise ParseError(&quot;Could not %s file %s&quot; % (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>