* meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
@ 2011-12-05 7:35 Cui, Dexuan
2011-12-05 8:30 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Cui, Dexuan @ 2011-12-05 7:35 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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.
Thanks,
-- Dexuan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
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
0 siblings, 2 replies; 4+ messages in thread
From: Richard Purdie @ 2011-12-05 8:30 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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...
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
2011-12-05 8:30 ` Richard Purdie
@ 2011-12-06 7:49 ` Cui, Dexuan
2011-12-09 19:03 ` Dmitry Eremin-Solenikov
1 sibling, 0 replies; 4+ messages in thread
From: Cui, Dexuan @ 2011-12-06 7:49 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Richard Purdie wrote on 2011-12-05:
> 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=f340e3937fd5ac396 3
> de6c6b29d56dd92d962864
>
> was added to avoid an error very like this that was showing up with rpm...
Yes. I was using yesterday's latest poky master (9be6d59b78510443d0944513503d515df13caa45), so the fix you mentioned above was already in.
There must be some recent change that causes the issue, because IIRC it was fine in my side 2~3 weeks ago.
Thanks,
-- Dexuan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
2011-12-05 8:30 ` Richard Purdie
2011-12-06 7:49 ` Cui, Dexuan
@ 2011-12-09 19:03 ` Dmitry Eremin-Solenikov
1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-12-09 19:03 UTC (permalink / raw)
To: openembedded-core
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-09 19:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox