Re: [OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
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 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
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 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
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 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists
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 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core