<div dir="ltr">I think I&#39;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 &quot;\${STAGING_DIR}-components&quot;</div><div>meta/recipes-core/glibc/glibc-locale.inc:LOCALETREESRC = &quot;${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale&quot;</div><div>meta/recipes-core/glibc/glibc-mtrace.inc:SRC = &quot;${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts&quot;</div><div>meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-outputdirs] = &quot;${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale&quot;</div><div>meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-fixmedir] = &quot;${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale&quot;</div><div>meta/recipes-core/glibc/glibc-scripts.inc:SRC = &quot;${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts&quot;</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&#39;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&#39;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">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</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&#39;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">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@<wbr>linuxfoundation.org</a>&gt;</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>
&gt; &gt; Is it safe to backport to morty, which doesn&#39;t have RSS?<br>
&gt;<br>
&gt; It doesn&#39;t work well for me, all the builds are now failing with:<br>
&gt;<br>
&gt; ERROR: glibc-2.24-r0 do_stash_locale_setscene: The recipe glibc is<br>
&gt; trying to install files into a shared area when those files already<br>
&gt; exist. Those files and their manifest location are:<br>
&gt;    TMPDIR/sysroots-components/aa<wbr>rch64/glibc-stash-locale/SUPPO<wbr>RTED<br>
&gt;  Matched in b&#39;&#39;<br>
&gt;    TMPDIR/sysroots-components/aa<wbr>rch64/glibc-stash-<br>
&gt; locale/lib/libnss_nisplus.so.2<br>
&gt;  Matched in b&#39;&#39;<br>
&gt;    TMPDIR/sysroots-components/aa<wbr>rch64/glibc-stash-locale/lib/<wbr>ld-<br>
&gt; <a href="http://2.24.so" rel="noreferrer" target="_blank">2.24.so</a><br>
&gt;  Matched in b&#39;&#39;<br>
&gt; ...<br>
<br>
</span>I suspect using its own sstate task is ok in morty even if it didn&#39;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>