<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>
>>> WARNING: Could not copy license file<br>
>>> /data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/gmp-6.0.0/COPYING.LESSERv3<br>
>>> to<br>
>>> /data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/license-destdir/gmp/COPYING.LESSERv3:<br>
>>> [Errno 1] Operation not permitted:<br>
>>> '/data/poky-master/tmp/work/corei7-64-poky-linux/gmp/6.0.0-r0/license-destdir/gmp/COPYING.LESSERv3'<br>
><br>
> The above warning comes up during do_populate_lic task, and this task<br>
> is not being executed in pseudo environment. So changing ownership of<br>
> license files to root user (explicitly via "0") fails, as normal user<br>
> doesn't have permissions to do so.<br>
><br>
> In this case, use of os.getuid() and os.getgid() behaves correctly, by<br>
> giving normal user id and solving this warning. So this is one<br>
> advantage of using os.getuid() and os.getgid() over explicit "0".<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>