Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [PATCH 4/9] consolekit: fix sdk generation issues
Date: Fri, 16 Dec 2011 16:42:08 +0400	[thread overview]
Message-ID: <4EEB3CA0.1080603@gmail.com> (raw)
In-Reply-To: <8A9F3915-1804-4B78-A84C-5721FFD6E5FB@dominion.thruhere.net>

Koen,

On 12/15/2011 07:06 PM, Koen Kooi wrote:
>
> Op 15 dec. 2011, om 15:58 heeft Richard Purdie het volgende geschreven:
>
>> On Tue, 2011-12-13 at 20:19 +0400, Dmitry Eremin-Solenikov wrote:
>>> Currently sdk generation might fail with the following error:
>>> | Collected errors:
>>> |  * extract_archive: Cannot create symlink from ./var/log to
>>> 'volatile/log': File exists.
>>> ERROR: Function 'do_populate_sdk' failed
>>>
>>> This happens as consolekit package will include both /var/log/ConsoleKit
>>> and /var/volatile/log/ConsoleKit files:
>>> lumag@fangorn:~/OE-scripts$ dpkg-deb -c build/tmp--eglibc/deploy/ipk/core2/consolekit_0.4.5-r7_core2.ipk  | grep var
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/log/
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/log/ConsoleKit/
>>> lrwxrwxrwx root/root         0 2011-12-07 22:12 ./var/run ->  volatile/run
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/log/
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/log/ConsoleKit/
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/run/
>>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/run/ConsoleKit/
>>>
>>> Inclusion of both log directories causes this error. Drop the
>>> /var/log/ConsoleKit
>>> in favour of /var/volatile/log
>>>
>>> Signed-off-by: Dmitry Eremin-Solenikov<dbaryshkov@gmail.com>
>>
>> This effectively reverts:
>> http://git.openembedded.org/openembedded-core/commit/?id=5608a748af2c754f60137ab7c3010ccce6bf9e40
>> so I think this fixes one problem at the expense of causing another.
>> Koen: Any comments?
>
> If you revert it consolekit won't work at runtime because it fails to start.

In your usecase, do you have a /var/volatile? 
/var/volatile/log/ConsoleKit? Could you please be more specific in the 
layout of your /var and in the error/trace of consolekit on your side?

I'd really like to solve this somehow as for now I have a broken SDK 
generation (at it seems it's not my fault as other people on ML 
suggested that they experienced errors with meta-toolchain-gmae).

-- 
With best wishes
Dmitry




  parent reply	other threads:[~2011-12-16 12:50 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 16:19 [PATCH 1/9] kernel.bbclass: compile kernel and modules in a single task Dmitry Eremin-Solenikov
2011-12-13 16:19 ` [PATCH 2/9] kernel.bbclass: move uImage handling to separate task Dmitry Eremin-Solenikov
2011-12-14 21:20   ` Koen Kooi
2011-12-15  6:23     ` Dmitry Eremin-Solenikov
2011-12-15 13:55       ` Bruce Ashfield
2011-12-15 19:09         ` Tom Rini
2011-12-15 19:20           ` Bruce Ashfield
2011-12-13 16:19 ` [PATCH 3/9] bitbake.conf, core-image-minimal-initramfs: add INITRAMFS_FSTYPES Dmitry Eremin-Solenikov
2011-12-16 16:16   ` Richard Purdie
2011-12-13 16:19 ` [PATCH 4/9] consolekit: fix sdk generation issues Dmitry Eremin-Solenikov
2011-12-15 14:58   ` Richard Purdie
2011-12-15 15:06     ` Koen Kooi
2011-12-16  1:56       ` Cui, Dexuan
2011-12-16 12:42       ` Dmitry Eremin-Solenikov [this message]
2011-12-15 16:20     ` Cui, Dexuan
2011-12-16 12:42       ` Dmitry Eremin-Solenikov
2011-12-16 15:25         ` Richard Purdie
2011-12-16 16:07           ` Dmitry Eremin-Solenikov
2011-12-16 16:46             ` Richard Purdie
2011-12-16 17:55               ` Dmitry Eremin-Solenikov
2011-12-13 16:19 ` [PATCH 5/9] Move check that all installed files are shipped into insane.bbclass Dmitry Eremin-Solenikov
2011-12-13 16:27   ` Phil Blundell
2011-12-13 16:52     ` Dmitry Eremin-Solenikov
2011-12-15 14:55   ` Richard Purdie
2011-12-13 16:19 ` [PATCH 6/9] libgcc: reintroduce debug package, containing symbols Dmitry Eremin-Solenikov
2011-12-16 16:17   ` Richard Purdie
2011-12-13 16:19 ` [PATCH 7/9] ncurses: drop empty dir to remove QA warning Dmitry Eremin-Solenikov
2011-12-13 19:43   ` Khem Raj
2011-12-13 16:19 ` [PATCH 8/9] readline: drop empty dir to shut up " Dmitry Eremin-Solenikov
2011-12-16 16:17   ` Richard Purdie
2011-12-13 16:19 ` [PATCH 9/9] libatomic-ops: drop directory with documentation to remove " Dmitry Eremin-Solenikov
2011-12-13 19:48   ` Richard Purdie
2011-12-13 22:07     ` Dmitry Eremin-Solenikov
2011-12-15 12:26       ` Richard Purdie
2011-12-13 16:22 ` [PATCH 1/9] kernel.bbclass: compile kernel and modules in a single task Phil Blundell
2011-12-13 16:46   ` Dmitry Eremin-Solenikov
2011-12-14  0:15 ` Darren Hart
2011-12-14  0:17   ` Dmitry Eremin-Solenikov
2011-12-14  0:19     ` Darren Hart
2011-12-15  9:27     ` Koen Kooi
2011-12-15 13:57       ` Bruce Ashfield
2011-12-15 14:56 ` Richard Purdie

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=4EEB3CA0.1080603@gmail.com \
    --to=dbaryshkov@gmail.com \
    --cc=koen@dominion.thruhere.net \
    --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