<div dir="ltr">I think I've found the reason why it was failing for me.<div><br></div><div>glibc is now the only component in morty release which is using TMPDIR/sysroots-components (normally used only after RSS):</div><div><div>oe-core$ git grep "\${STAGING_DIR}-components"</div><div>meta/recipes-core/glibc/glibc-locale.inc:LOCALETREESRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"</div><div>meta/recipes-core/glibc/glibc-mtrace.inc:SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts"</div><div>meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"</div><div>meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-fixmedir] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"</div><div>meta/recipes-core/glibc/glibc-scripts.inc:SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts"</div></div><div><br></div><div>and the workspace of my jenkins jobs is still running test-dependencies jobs for morty, which does only selective pruning of TMPDIR:</div><div><a href="http://git.openembedded.org/openembedded-core/tree/scripts/test-dependencies.sh#n165">http://git.openembedded.org/openembedded-core/tree/scripts/test-dependencies.sh#n165</a><br></div><div><br></div><div>which left <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">TMPDIR/sysroots-components files from qlibc.do_stash_locale behind and when next build started in the same workspace it failed, because it was trying to overwrite files already there.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>Every time I wiped whole TMPDIR and restarted the jobs it worked for a while and then it got broken again during first test-dependencies job in each workspace.</div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I can obviously change test-dependencies.sh to delete TMPDIR/sysroots-components as well and I'll send update for it after a bit more testing.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="text-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Ross's oe-core/scripts/wipe-sysroot and maybe some other scripts/tools need similar fix as well.<br></span></div><div><br></div><div>Regards,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 6, 2018 at 4:15 PM, Martin Jansa <span dir="ltr"><<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In this build I was starting with empty TMPDIR, there shouldn't be any old files, but will retry manually in different builds.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 6, 2018 at 4:11 PM, Richard Purdie <span dir="ltr"><<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@<wbr>linuxfoundation.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, 2018-04-06 at 16:07 +0200, Martin Jansa wrote:<br>
> > Is it safe to backport to morty, which doesn't have RSS?<br>
><br>
> It doesn't work well for me, all the builds are now failing with:<br>
><br>
> ERROR: glibc-2.24-r0 do_stash_locale_setscene: The recipe glibc is<br>
> trying to install files into a shared area when those files already<br>
> exist. Those files and their manifest location are:<br>
> TMPDIR/sysroots-components/aa<wbr>rch64/glibc-stash-locale/SUPPO<wbr>RTED<br>
> Matched in b''<br>
> TMPDIR/sysroots-components/aa<wbr>rch64/glibc-stash-<br>
> locale/lib/libnss_nisplus.so.2<br>
> Matched in b''<br>
> TMPDIR/sysroots-components/aa<wbr>rch64/glibc-stash-locale/lib/<wbr>ld-<br>
> <a href="http://2.24.so" rel="noreferrer" target="_blank">2.24.so</a><br>
> Matched in b''<br>
> ...<br>
<br>
</span>I suspect using its own sstate task is ok in morty even if it didn't<br>
have RSS. What may have broken is the existing TMPDIR upgrade path<br>
though :(<br>
<br>
If the files are removed, I suspect things will then work out ok. There<br>
were manifest handling changes in later versions which dealt with this<br>
kind of issue better (removals before installations).<br>
<br>
Cheers,<br>
<br>
Richard<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>