<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
&gt;&gt;&gt; WARNING: Could not copy license file<br>
&gt;&gt;&gt; /data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/gmp-6.0.0/COPYING.LESSERv3<br>
&gt;&gt;&gt; to<br>
&gt;&gt;&gt; /data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/license-destdir/gmp/COPYING.LESSERv3:<br>
&gt;&gt;&gt; [Errno 1] Operation not permitted:<br>
&gt;&gt;&gt; &#39;/data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/license-destdir/gmp/COPYING.LESSERv3&#39;<br>
&gt;<br>
&gt; The above warning comes up during do_populate_lic task, and this task<br>
&gt; is not being executed in pseudo environment. So changing ownership of<br>
&gt; license files to root user (explicitly via &quot;0&quot;) fails, as normal user<br>
&gt; doesn&#39;t have permissions to do so.<br>
&gt;<br>
&gt; In this case, use of os.getuid() and os.getgid() behaves correctly, by<br>
&gt; giving normal user id and solving this warning. So this is one<br>
&gt; advantage of using os.getuid() and os.getgid() over explicit &quot;0&quot;.<br>
<br>
</span>The real fix would be put this to run under pseudo, it seems.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Running populate_lic under pseudo will solve this warning. I will send v3, if other members are fine with this solution.</div><div><br></div><div>Thanks,</div><div>Jagadeesh</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
Otavio Salvador                             O.S. Systems<br>
<a href="http://www.ossystems.com.br" rel="noreferrer" target="_blank">http://www.ossystems.com.br</a>        <a href="http://code.ossystems.com.br" rel="noreferrer" target="_blank">http://code.ossystems.com.br</a><br>
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750<br>
</font></span></blockquote></div><br></div></div>