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

Bug 489564

Summary: dev-java/icedtea-bin-7.2.4.1 cups dependencies
Product: Gentoo Linux Reporter: Cedric Sodhi <manday>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal CC: manday
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of emerge -pvt '>icedtea-bin-7'

Description Cedric Sodhi 2013-10-27 11:00:43 UTC
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.
Comment 1 Cedric Sodhi 2013-10-27 11:01:24 UTC
Created attachment 362054 [details]
output of emerge -pvt '>icedtea-bin-7'
Comment 2 El Goretto 2013-10-28 13:10:11 UTC
Which can lead to problems like in the bug #486042.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2013-11-09 13:59:23 UTC
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 ***
Comment 4 El Goretto 2013-11-14 15:15:33 UTC
(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).
Comment 5 Weedy 2014-04-16 03:49:33 UTC
Also -X -cups.

https://bugs.gentoo.org/show_bug.cgi?id=486042#c8