Whereas icedtea-bin-6 could do without any enormous overhead, icedtea-bin-7 appears to pull in a bulk of unreasonable dependencies (although it's only the bin package). I'm not able to make complete sense of emerge's output, but I think the dependency on ghostscript-gpl[cups] despite USE=-cups should be fixed.
Created attachment 362054 [details] output of emerge -pvt '>icedtea-bin-7'
Which can lead to problems like in the bug #486042.
The cups was added to deps for the X useflag per bug 390945, since the icedtea's X library /opt/icedtea-bin-7.2.4.3/jre/lib/amd64/xawt/libmawt.so links to it. If you don't need X support, emerge icedtea-bin with USE="-X". If you need X support, you will need to cups library, can't help that. It's true it used to be smarter (dlopen instead of link) so you could try making it that way again upstream. Unfortunately we do not have the manpower to patch this ourselves. *** This bug has been marked as a duplicate of bug 390945 ***
(In reply to Vlastimil Babka (Caster) from comment #3) > The cups was added to deps for the X useflag per bug 390945, since the > icedtea's X library /opt/icedtea-bin-7.2.4.3/jre/lib/amd64/xawt/libmawt.so > links to it. > If you don't need X support, emerge icedtea-bin with USE="-X". > If you need X support, you will need to cups library, can't help that. It's > true it used to be smarter (dlopen instead of link) so you could try making > it that way again upstream. Unfortunately we do not have the manpower to > patch this ourselves. > > *** This bug has been marked as a duplicate of bug 390945 *** I may have not understood you correctly, but I'm using -X anyway and suffering from this cups issue (headless server).
Also -X -cups. https://bugs.gentoo.org/show_bug.cgi?id=486042#c8