Hey When I do emerge -NuDav world with "java" in my use flags in make.conf, virtual/ooo tries to pull in app-office/libreoffice-bin and a load of dev-java apps, even though I already have app-office/libreoffice http://paste.pocoo.org/show/578099/ To fix this, I had to: echo "virtual/ooo -java" >> /etc/portage/package.use && emerge -NuDpv world http://paste.pocoo.org/show/578108/ I see no reason why having the java use flag in make.conf should result with libreoffice-bin being pulled in, especially since I already have libreoffice (non-bin), so this must be a bug. ps. libreoffice-bin was not in the world file.
Did you probably disable java Use-flag just for libreoffice?
Franz: I have the java use flag in /etc/make.conf
(In reply to comment #2) > Franz: I have the java use flag in /etc/make.conf I read that. But /etc/portage/package.use is stronger then make.conf, if you put something inside there (like "app-office/libreoffice -java"), it will overwrite the global USE-settings in make.conf. Now have a look at your emerge-output: [ebuild N ] dev-java/bsh-2.0_beta4-r3 [ebuild N ] dev-java/lucene-2.9.4 [ebuild N ] dev-java/lucene-analyzers-2.3.2 All three package are marked "N" - "new". Now look into the libreoffice-3.4.5.2.ebuild: java? ( >=dev-java/bsh-2.0_beta4 dev-java/lucene:2.9 dev-java/lucene-analyzers:2.3 dev-java/saxon:0 ) So if those 3 packages get pulled in as new, USE="java" never was active for libreoffice. And now look at the emerge-output again: [nomerge ] app-office/libreoffice-3.4.5.2 USE="branding dbus kde mysql opengl python vba (-aqua) -binfilter -custom-cflags -debug -eds -gnome -graphite -gstreamer -gtk -java -jemalloc -nsplugin -odk -pdfimport -test -webdav" You see the "-java"? If you don't want all those java-packages, why do you set USE="java" in make.conf?
Sorry, I jumped the gun with that reply. Yes, I do have -java for libreoffice in package.use /etc/portage/package.use:app-office/libreoffice -java -nsplugin I set USE="java" in make.conf for other programs that can have java support, but I don't want or need java in libreoffice.
(In reply to comment #0) > http://paste.pocoo.org/show/578099/ > http://paste.pocoo.org/show/578108/ Attach those and then reopen this bug report, please.
Created attachment 308563 [details] emerge -pvtNuD world
Created attachment 308565 [details] echo "virtual/ooo -java" >> /etc/portage/package.use && emerge -NuDpv world