Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 431972

Summary: dev-java/icedtea-bin-7 should depend on gnome-base/gsettings-desktop-schemas
Product: Gentoo Linux Reporter: leonbaum2
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: beolach+gb
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description leonbaum2 2012-08-19 14:21:47 UTC
When I try to run some java GUI applications with icedtea-bin-7 I get the following error:

GLib-GIO-ERROR **: No GSettings schemas are installed on the system

I did not get this error with icedtea-bin-6 and installing gsettings-desktop-schemas fixed the error.
Comment 1 Sylvain Emery 2014-06-18 13:10:09 UTC
Up. Same error for me, and leonbaum2's solution of emerging gsettings-desktop-schemas also fixed the error.

(In reply to leonbaum2 from comment #0)
> When I try to run some java GUI applications with icedtea-bin-7 I get the
> following error:
> 
> GLib-GIO-ERROR **: No GSettings schemas are installed on the system
> 
> I did not get this error with icedtea-bin-6 and installing
> gsettings-desktop-schemas fixed the error.
Comment 2 codifies 2014-12-13 04:47:58 UTC
java shouldn't depend on gnome, gnome is not Linux
Comment 3 Andrew John Hughes 2015-01-31 18:10:18 UTC
The dependency needs adding. I'll also add it to the source code e-build in the java overlay. It's required for retrieving native proxy settings.
Comment 4 Andrew John Hughes 2015-04-16 01:27:57 UTC
This is fixed in 2.5.5 in the java overlay.
Comment 5 James Le Cuirot gentoo-dev 2015-05-10 10:05:39 UTC
Now in the tree. This isn't really a big deal, it has no major dependencies besides glib and you need that anyway.
Comment 6 James Le Cuirot gentoo-dev 2015-05-10 10:06:32 UTC
Oops, just realised this bug is for -bin. That isn't in the tree yet but it should be later today.
Comment 7 James Le Cuirot gentoo-dev 2015-05-10 20:58:51 UTC
Really now in the tree!
Comment 8 tot-to 2015-05-17 19:39:18 UTC
Hello,
What is the purpose of these files:

/usr/share/GConf/gsettings/gsettings-desktop-schemas.convert
/usr/share/GConf/gsettings/wm-schemas.convert

on the system without GConf installed?

May be gsettings-desktop-schemas needs to have "gnome" USE-flag then?
Comment 9 Manuel RĂ¼ger (RETIRED) gentoo-dev 2015-06-13 14:23:36 UTC
(In reply to tot-to from comment #8)
> May be gsettings-desktop-schemas needs to have "gnome" USE-flag then?

I agree here, or at least be kept in IUSE="X".
Comment 10 Tom Dexter 2015-07-12 15:17:25 UTC
Agreed.  I'd really appreciate a use flag for that dependency with dev-java/icedtea-bin-7.  That gsettings-desktop-schemas took 50 minutes to compile on my system and I truely don't need it.
Comment 11 Conway S. Smith 2015-10-19 12:58:53 UTC
This really does need to be under a USE flag, either X or awt.  I have headless boxes I don't want to install X (or Wayland or any GUI on), but I may sometimes still want java.
Comment 12 James Le Cuirot gentoo-dev 2015-10-19 13:08:35 UTC
(In reply to Conway S. Smith from comment #11)
> This really does need to be under a USE flag, either X or awt.

I think I already discussed this at length in another bug report but what makes you think it's pulling in any X stuff besides this one small package? gsettings-desktop-schemas contains just 38 harmless files, mostly XML. If you disable the introspection flag, which should probably do on a non-desktop system anyway, then the only major dependency it pulls in is glib and as I said above, you need that for Java anyway.