<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2019/8/21 上åˆ3:19, Alexander Kanavin
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANNYZj9sQJgBvh0q66R2Ah0d9uXVO45a+5Z68nZ_yygX1-v88A@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">On Tue, 20 Aug 2019 at 20:42, Ross Burton <<a
href="mailto:ross.burton@intel.com" moz-do-not-send="true">ross.burton@intel.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">>
It fails to run task do_populate_sysroot of
adwaita-icon-theme rarely:<br>
> <br>
> | DEBUG: Executing shell function sysroot_stage_all<br>
> | cpio: ./icons/Adwaita/16x16/legacy/_inst.21134_:
Cannot stat: No such<br>
>Â Â file or directory<br>
> <br>
> In script ${S}/install-sh, temporary files _inst.*
are created and will be<br>
> removed by shell builtin command trap when the script
exits:<br>
> <br>
>Â Â Â # Make a couple of temp file names in the proper
directory.<br>
>Â Â Â dsttmp=${dstdirslash}_inst.$$_<br>
>Â Â Â rmtmp=${dstdirslash}_rm.$$_<br>
> <br>
>Â Â Â # Trap to clean up those temp files at exit.<br>
>Â Â Â trap 'ret=$?; rm -f "$dsttmp" "$rmtmp"
&& exit $ret' 0<br>
> <br>
> The temporary files should be deleted already after
task do_install. But<br>
> somehow they are still exist until the gap between
commands find and<br>
> cpio in populate_sysroot function
sysroot_stage_dir().<br>
<br>
So does this only happen to adwaita-icon-theme? Is it a
bug in <br>
install-sh, so impacts almost every automake-using
package? Or is it a <br>
bug in how adwaita-icon-theme is using install-sh?<br>
</blockquote>
<div><br>
</div>
<div>This might actually be caused by my glorious hack:</div>
<div><a
href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch?h=master-next"
moz-do-not-send="true">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch?h=master-next</a></div>
<div><br>
</div>
<div>There is a 'wait' after every '&', so not sure what
goes wrong here.</div>
</div>
</div>
</div>
</blockquote>
<p>Hi Alex,</p>
<p>Thanks. I'll revert this commit locally. And if it is the root
cause, I'll try to figure out what's going on here.</p>
<p>Kai<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CANNYZj9sQJgBvh0q66R2Ah0d9uXVO45a+5Z68nZ_yygX1-v88A@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
</div>
<div>Alex </div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Kai Kang</pre>
</body>
</html>