<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
p.6271aeb8-3e0c-4268-9157-9618eb0e7060, li.6271aeb8-3e0c-4268-9157-9618eb0e7060, div.6271aeb8-3e0c-4268-9157-9618eb0e7060
        {mso-style-name:6271aeb8-3e0c-4268-9157-9618eb0e7060;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Consolas","serif";
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>Yes, this was bug#3674!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>Applied:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>sstate.bbclass:specify function dirs to avoid race<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><a href="http://cgit.openembedded.org/openembedded-core/commit/?id=ccef1cf783669a4683eda9d4b44dbe6bcf426259">http://cgit.openembedded.org/openembedded-core/commit/?id=ccef1cf783669a4683eda9d4b44dbe6bcf426259</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>Tested with success. Thanks a lot!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>Matthieu Crapet<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR'>De&nbsp;:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR'> openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@lists.openembedded.org] <b>De la part de</b> ChenQi<br><b>Envoyé&nbsp;:</b> jeudi 10 janvier 2013 03:32<br><b>À&nbsp;:</b> openembedded-core@lists.openembedded.org<br><b>Objet&nbsp;:</b> Re: [OE-core] sstate, cache or licence issue?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On 01/10/2013 01:40 AM, Matthieu CRAPET wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Dear all,<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>I&#8217;ve got some trouble with my today&#8217;s update to oe-core.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>I created a basic (image) recipe:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>---</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>DESCRIPTION = &quot;A console-only production image with headers.&quot;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>PR = &quot;r0&quot;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>LICENSE = &quot;MIT&quot;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>IMAGE_FEATURES += &quot;dev-pkgs debug-tweaks package-management ssh-server-openssh&quot;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>inherit core-image</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>IMAGE_INSTALL += &quot;openssh openssl directfb directfb-examples&quot;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>---</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>I&#8217;ve got a do_populate_lic failure but image is generated correctly (do_rootfs is ok). It fails in sstate_create_package</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Executing shell function sstate_create_package</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>| shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>| chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>run.sstate_create_package.$PID</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>sstate_create_package() {</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd &nbsp;/lingot/build/tmp-eglibc/work/rp02-ing-linux-gnueabi/test-image/1.0-r0/sstate-build-populate-lic/</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TFILE=`mktemp &#8230;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&#8230;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>The problem is that the directory exists (containing license-destdir/test-image/{COPYING.MIT,LICENSE,generic_MIT})</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>If re-bitbake recipe, works fine.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>If I &#8220;bitbake -c cleanall&#8221; first + manually delete recipe directory (/lingot/build/tmp-eglibc/work/rp02-ing-linux-gnueabi/test-image) then, re-bitbake recipe: the do_populate_lic fails again.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>More surprising: if I wait some times (few minutes). I re-get the error but with the extra lines:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/LICENSE</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/COPYING.MIT</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/generic_MIT</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>I added and removed package in IMAGE_INSTALL, sometimes it passes, sometimes not, maybe there is a concurrent access somewhere?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p></div></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR'><br>Maybe it's the same bug with bug#3674 (<a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=3674">https://bugzilla.yoctoproject.org/show_bug.cgi?id=3674</a>).<br><br>Cheers,<br>Chen Qi<br><br><br><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-GB>The two logs are available here:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB><a href="http://pastebin.com/raw.php?i=CVczF2vB">http://pastebin.com/raw.php?i=CVczF2vB</a></span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>Notice that I&#8217;m using my own external toolchain but I don&#8217;t know that It is relevant.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>Any hint appreciated here!</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>Regards,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-GB>Matthieu Crapet</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR'>&nbsp;<o:p></o:p></span></p></div><div><p style='text-align:justify'><strong><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>About Ingenico </span></strong><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>(Euronext: FR0000125346 - ING)</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p><p style='text-align:justify'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Ingenico is a leading provider of payment solutions, with over 17 million terminals deployed in more than 125 countries.&nbsp;Its 3,600 employees worldwide support retailers, banks and service providers to optimize and secure their electronic payments solutions, develop their offer of services and increase their point of sales revenue.</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p><p style='text-align:justify'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>More information on</span><strong><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:red'> <span lang=EN-GB><a href="http://www.ingenico.com/"><span style='color:red'>www.ingenico.com</span></a></span></span></strong><strong><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'>.</span></strong><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p><p style='text-align:justify'><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&nbsp;</span><span lang=EN-GB style='font-size:12.0pt;font-family:Webdings;color:green'>P</span><span lang=EN-GB style='font-family:"Arial","sans-serif"'> </span><span lang=EN-GB style='font-size:7.5pt;font-family:"Arial","sans-serif";color:green'>Please consider the environment before printing this e-mail</span><o:p></o:p></p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Openembedded-core mailing list<o:p></o:p></pre><pre><a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><o:p></o:p></pre><pre><a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR'><o:p>&nbsp;</o:p></span></p></div></body></html>