From: ChenQi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: sstate, cache or licence issue?
Date: Thu, 10 Jan 2013 10:32:02 +0800 [thread overview]
Message-ID: <50EE2822.9050108@windriver.com> (raw)
In-Reply-To: <D9D7124626ED1E43963D86B2657D5CCD04EA51DA@FRSNPREXC1.usr.ingenico.loc>
[-- Attachment #1: Type: text/plain, Size: 3723 bytes --]
On 01/10/2013 01:40 AM, Matthieu CRAPET wrote:
>
> Dear all,
>
> I've got some trouble with my today's update to oe-core.
>
> I created a basic (image) recipe:
>
> ---
>
> DESCRIPTION = "A console-only production image with headers."
>
> PR = "r0"
>
> LICENSE = "MIT"
>
> IMAGE_FEATURES += "dev-pkgs debug-tweaks package-management
> ssh-server-openssh"
>
> inherit core-image
>
> IMAGE_INSTALL += "openssh openssl directfb directfb-examples"
>
> ---
>
> I've got a do_populate_lic failure but image is generated correctly
> (do_rootfs is ok). It fails in sstate_create_package
>
> | DEBUG: Executing shell function sstate_create_package
>
> | shell-init: error retrieving current directory: getcwd: cannot
> access parent directories: No such file or directory
>
> | chdir: error retrieving current directory: getcwd: cannot access
> parent directories: No such file or directory
>
> run.sstate_create_package.$PID
>
> sstate_create_package() {
>
> cd
> /lingot/build/tmp-eglibc/work/rp02-ing-linux-gnueabi/test-image/1.0-r0/sstate-build-populate-lic/
>
> TFILE=`mktemp ...
>
> ...
>
> The problem is that the directory exists (containing
> license-destdir/test-image/{COPYING.MIT,LICENSE,generic_MIT})
>
> If re-bitbake recipe, works fine.
>
> If I "bitbake -c cleanall" 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.
>
> More surprising: if I wait some times (few minutes). I re-get the
> error but with the extra lines:
>
> | DEBUG: Removing manifest:
> /lingot/build/tmp-eglibc/deploy/licenses/test-image/LICENSE
>
> | DEBUG: Removing manifest:
> /lingot/build/tmp-eglibc/deploy/licenses/test-image/COPYING.MIT
>
> | DEBUG: Removing manifest:
> /lingot/build/tmp-eglibc/deploy/licenses/test-image/generic_MIT
>
> | DEBUG: Removing manifest:
> /lingot/build/tmp-eglibc/deploy/licenses/test-image/
>
> I added and removed package in IMAGE_INSTALL, sometimes it passes,
> sometimes not, maybe there is a concurrent access somewhere?
>
Maybe it's the same bug with bug#3674
(https://bugzilla.yoctoproject.org/show_bug.cgi?id=3674).
Cheers,
Chen Qi
> The two logs are available here:
>
> http://pastebin.com/raw.php?i=CVczF2vB
>
> Notice that I'm using my own external toolchain but I don't know that
> It is relevant.
>
> Any hint appreciated here!
>
> Regards,
>
> Matthieu Crapet
>
> *About Ingenico *(Euronext: FR0000125346 - ING)
>
> Ingenico is a leading provider of payment solutions, with over 17
> million terminals deployed in more than 125 countries. 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.
>
> More information on*www.ingenico.com <http://www.ingenico.com/>.*
>
> 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.
>
> PPlease consider the environment before printing this e-mail
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[-- Attachment #2: Type: text/html, Size: 13148 bytes --]
next prev parent reply other threads:[~2013-01-10 2:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 17:40 sstate, cache or licence issue? Matthieu CRAPET
2013-01-10 2:32 ` ChenQi [this message]
2013-01-10 13:37 ` Matthieu CRAPET
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50EE2822.9050108@windriver.com \
--to=qi.chen@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox