<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="text/html; charset=utf-8" http-equiv=Content-Type><meta content="Microsoft Word 14 (filtered medium)" name=Generator><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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]--><META content="text/html; charset=utf-8" http-equiv="Content-Type">
<STYLE><!-- /* Style Definitions */ p.6271aeb8-3e0c-4268-9157-9618eb0e7060, li.6271aeb8-3e0c-4268-9157-9618eb0e7060, div.6271aeb8-3e0c-4268-9157-9618eb0e7060, table.6271aeb8-3e0c-4268-9157-9618eb0e7060Table        {margin:0cm; margin-bottom:.0001pt;}div.Section1 {page:Section1;}--></STYLE>
</head><BODY>
<DIV><div class=WordSection1><p class=MsoNormal>Dear all,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>I created a basic (image) recipe:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>---<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>DESCRIPTION = &quot;A console-only production image with headers.&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>PR = &quot;r0&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>LICENSE = &quot;MIT&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>IMAGE_FEATURES += &quot;dev-pkgs debug-tweaks package-management ssh-server-openssh&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>inherit core-image<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>IMAGE_INSTALL += &quot;openssh openssl directfb directfb-examples&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>---<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Executing shell function sstate_create_package<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>| shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>| chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>run.sstate_create_package.$PID<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>sstate_create_package() {<o:p></o:p></span></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/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TFILE=`mktemp &#8230;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>&#8230;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></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})<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>If re-bitbake recipe, works fine.<o:p></o:p></span></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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></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:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/LICENSE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/COPYING.MIT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/generic_MIT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>| DEBUG: Removing manifest: /lingot/build/tmp-eglibc/deploy/licenses/test-image/<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></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?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>The two logs are available here:<o:p></o:p></span></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><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>Any hint appreciated here!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Matthieu Crapet<o:p></o:p></span></p></div></DIV>
<DIV>&nbsp;</DIV>
<DIV STYLE="FONT-FAMILY: Courier New; FONT-SIZE: 9pt"><FONT FACE="Arial" SIZE="1">
<P STYLE="TEXT-ALIGN: justify"><SPAN><FONT FACE="Arial" SIZE="2"><STRONG>About Ingenico </STRONG>(Euronext: FR0000125346 - ING)</FONT></SPAN></P>
<P STYLE="TEXT-ALIGN: justify"><SPAN><SPAN LANG="EN-GB" STYLE="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"><SPAN STYLE="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt; mso-ansi-language: FR; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: FR; mso-bidi-language: AR-SA">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></SPAN></P>
<P STYLE="TEXT-ALIGN: justify"><SPAN><SPAN LANG="EN-GB" STYLE="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"><SPAN STYLE="FONT-FAMILY: Arial; COLOR: black; FONT-SIZE: 10pt; mso-ansi-language: FR; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: FR; mso-bidi-language: AR-SA">More information on</SPAN></SPAN></SPAN><SPAN><STRONG><SPAN LANG="EN-GB" STYLE="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"><SPAN STYLE="COLOR: red"> <A HREF="http://www.ingenico.com/"><SPAN STYLE="COLOR: red"><FONT COLOR="#ff0000">www.ingenico.com</FONT></SPAN></A></SPAN>.</SPAN></STRONG></SPAN></P>
<P STYLE="TEXT-ALIGN: justify"><SPAN STYLE="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 7.5pt"><FONT SIZE="1">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. </FONT></SPAN><SPAN STYLE="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 7.5pt"><FONT SIZE="1">Thank you for your cooperation.</FONT></SPAN></P>
<P CLASS="MsoNormal"><SPAN STYLE="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 7.5pt">&nbsp;</SPAN><SPAN LANG="EN-GB" STYLE="FONT-FAMILY: Webdings; COLOR: green; FONT-SIZE: 12pt">P</SPAN><SPAN LANG="EN-GB" STYLE="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black"> </SPAN><SPAN LANG="EN-GB" STYLE="FONT-FAMILY: 'Arial','sans-serif'; COLOR: green; FONT-SIZE: 7.5pt">Please consider the environment before printing this e-mail</SPAN></P></FONT></DIV></BODY></HTML>