Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
Date: Fri, 09 Dec 2011 23:03:05 +0400	[thread overview]
Message-ID: <4EE25B69.4090906@gmail.com> (raw)
In-Reply-To: <1323073824.25960.87.camel@ted>

On 12/05/2011 12:30 PM, Richard Purdie wrote:
> On Mon, 2011-12-05 at 15:35 +0800, Cui, Dexuan wrote:
>> Hi, recently, I found meta-toolchain-gmae failed to build on poky master if I use ipk packaging(I didn't try rpm/deb):
>>
>> task do_populate_sdk: Failed
>>
>> | Configuring avahi-dev.
>> | Configuring task-core-standalone-gmae-sdk-target.
>> | Configuring libtelepathy-dbg.
>> | Configuring task-core-standalone-gmae-sdk-target-dbg.
>> | Configuring util-linux-blkid.
>> | Collected errors:
>> |  * extract_archive: Cannot create symlink from ./var/log to 'volatile/log': File exists.
>> ERROR: Function 'do_populate_sdk' failed
>>
>> Now I have no time to look into this issue at once. It would be great, if somebody can give some quick hint.
>
> Is this with the latest master?
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f340e3937fd5ac3963de6c6b29d56dd92d962864
>
> was added to avoid an error very like this that was showing up with
> rpm...

I've stumped upon the very same problem with consolekit. Then I checked 
the contents of the consolekit package:

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/

lumag@fangorn:~/OE-scripts$ ./oebb.sh bitbake -e consolekit | grep 
FILES_consolekit=
# FILES_consolekit=${bindir}/* ${sbindir}/* ${libexecdir}/* 
${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} 
${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} 
${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps 
${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds 
${libdir}/bonobo/servers ${datadir}/application-registry 
${datadir}/mime-info 	${datadir}/mime/packages 
${datadir}/mime/application 	${datadir}/gnome-2.0 	${datadir}/polkit* 
${datadir}/GConf 	${datadir}/glib-2.0/schemas  ${datadir}/icons/hicolor 
${localstatedir}/log/ConsoleKit ${libdir}/ConsoleKit ${base_libdir} 
${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*
FILES_consolekit="/usr/bin/* /usr/sbin/* /usr/libexec/* 
/usr/lib/lib*.so.* /etc /com /var /bin/* /sbin/* /lib/*.so.* 
/usr/share/consolekit /usr/lib/consolekit/* /usr/share/pixmaps 
/usr/share/applications /usr/share/idl /usr/share/omf /usr/share/sounds 
/usr/lib/bonobo/servers /usr/share/application-registry 
/usr/share/mime-info 	/usr/share/mime/packages 
/usr/share/mime/application 	/usr/share/gnome-2.0 	/usr/share/polkit* 
/usr/share/GConf 	/usr/share/glib-2.0/schemas  /usr/share/icons/hicolor 
/var/log/ConsoleKit /usr/lib/ConsoleKit /lib /usr/share/dbus-1 
/usr/share/PolicyKit /usr/share/polkit*"

Not that this already includes /var, then /var/log/ConsoleKit is added. 
I'm more or less sure that original inclusion of 
${localstatedir}/log/ConsoleKit was en error.

>
> Cheers,
>
> Richard


-- 
With best wishes
Dmitry




      parent reply	other threads:[~2011-12-09 19:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  7:35 meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists Cui, Dexuan
2011-12-05  8:30 ` Richard Purdie
2011-12-06  7:49   ` Cui, Dexuan
2011-12-09 19:03   ` Dmitry Eremin-Solenikov [this message]

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=4EE25B69.4090906@gmail.com \
    --to=dbaryshkov@gmail.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