'WARNING: The recipe is trying to install files into a shared area when those files already exist. Those files are: /home/daniels/collabora/yocto/build-i7/tmp/sysroots/x86_64-linux/usr/share/sgml/openjade-1.3.2/catalog' It'd be really nice if this error message told us exactly which recipe caused the conflicting file to be installed.
http://git.openembedded.org/openembedded-core/commit/?id=56268f6e4ed1fc11143173bb1717a8be78c728a5 This patch does not seem to work correctly: Python 2.7.3 >>> sstate_search_cmd = "grep -rl /OE/jansa-test/shr-core/tmp-eglibc/pkgdata/armv7a-vfp-neon-oe-linux-gnueabi/runtime-reverse/vim-common /OE/jansa-test/shr-core/tmp-eglibc/sstate-control --exclude=master.list | sed -e 's:^.*/::' -e 's:\.populate-sysroot::'" >>> cmd_array = sstate_search_cmd.split(' ') >>> search_output = subprocess.Popen(cmd_array, stdout=subprocess.PIPE).communicate()[0] grep: |: No such file or directory grep: sed: No such file or directory So it never shows any match.
(In reply to comment #1) > http://git.openembedded.org/openembedded-core/commit/ > ?id=56268f6e4ed1fc11143173bb1717a8be78c728a5 > > This patch does not seem to work correctly: > > Python 2.7.3 > > >>> sstate_search_cmd = "grep -rl /OE/jansa-test/shr-core/tmp-eglibc/pkgdata/armv7a-vfp-neon-oe-linux-gnueabi/runtime-reverse/vim-common /OE/jansa-test/shr-core/tmp-eglibc/sstate-control --exclude=master.list | sed -e 's:^.*/::' -e 's:\.populate-sysroot::'" > >>> cmd_array = sstate_search_cmd.split(' ') > >>> search_output = subprocess.Popen(cmd_array, stdout=subprocess.PIPE).communicate()[0] > grep: |: No such file or directory > grep: sed: No such file or directory > > So it never shows any match. Adding shell=True makes it work >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0] >>> print search_output manifest-armv7a-vfp-neon-gvim.package manifest-armv7a-vfp-neon-vim-tiny.package manifest-armv7a-vfp-neon-vim.package But still isn't 100% reliable, I guess it's caused by some other package being removed from sstate while grep is already running. >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0] grep: /OE/jansa-test/shr-core/tmp-eglibc/sstate-control/manifest-armv7a-vfp-neon-systemtap.package: No such file or directory
There's a patch on the list from Enrico also, but it addresses something a little different. http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/031850.html It's been pending for sometime, I will push RP on this patch I am testing with your suggestion
(In reply to comment #3) > There's a patch on the list from Enrico also, but it addresses something a > little different. > > http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/031850. > html > > It's been pending for sometime, I will push RP on this patch > > I am testing with your suggestion I'll send patch tonight https://github.com/shr-distribution/oe-core/commit/70952dc6fb5cd2bb59d25cc246363ab46b9d5999
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=306761b0261c73a046c151740fbd20f6815aeb51 and http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=381c4b69c7e8b452f4d3de2f8214e6e5f6a9abe7 Worked to resolve this,