Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567282 - dev-java/icedtea-bin-7.2.6.2 suddenly brings a lot of X packages
Summary: dev-java/icedtea-bin-7.2.6.2 suddenly brings a lot of X packages
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 20:39 UTC by Christophe PEREZ
Modified: 2015-12-06 18:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge-info.txt,6.02 KB, text/plain)
2015-12-01 20:39 UTC, Christophe PEREZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2015-12-01 20:39:32 UTC
Created attachment 418306 [details]
emerge info

While updating my Xless server, I'm surprised of a lot of X packages pulled by dev-java/icedtea-bin-7.2.6.2 update.

# emerge -p1 icedtea-bin                     

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] x11-proto/xextproto-7.3.0  USE="-doc" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-proto/inputproto-2.3.1  ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] media-fonts/font-util-1.3.1 
[ebuild  N     ] x11-misc/util-macros-1.19.0 
[ebuild  N     ] x11-proto/renderproto-0.11.1-r1  ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-proto/kbproto-1.0.7  ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/xtrans-1.3.5  USE="-doc" 
[ebuild  N     ] x11-proto/xf86bigfontproto-1.2.0-r1  ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libXdmcp-1.1.2  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libXau-1.0.8  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] dev-libs/libpthread-stubs-0.3-r1  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-proto/recordproto-1.14.2-r1  USE="-doc" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-proto/xcb-proto-1.11  ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 
[ebuild  N     ] x11-libs/libxcb-1.11.1  USE="-doc (-selinux) -static-libs {-test} -xkb" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-proto/fixesproto-5.0-r1  ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libX11-1.6.3  USE="-doc -ipv6 -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libXext-1.3.3  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libXrender-0.9.9  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libXfixes-5.0.1  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libXi-1.7.5  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ] x11-libs/libXtst-1.2.2  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild   R    ] dev-java/icedtea-bin-7.2.6.2 

I had to add all of them to /etc/portage/profile/packages.provided to update icedtea-bin alone.
Comment 1 James Le Cuirot gentoo-dev 2015-12-06 18:13:21 UTC
Please enable the "headless-awt" USE flag. Sorry for any confusion around this but it simply wasn't feasible to stick with the "X" flag for reasons I won't bore you with.

I initially went with "awt", which was enabled by default so I guess you either had USE="-awt" or USE="-*" or maybe you just haven't updated in a while. Upstream, who actually do a lot of the work on these ebuilds, didn't like "awt" because it was technically inaccurate and the Java community is more familiar with the term headless. I went with "headless-awt" as a compromise but there was no way to escape the fact that this is a negative flag so opting out in this case requires a little more thought. Negative flags aren't great but on balance, I felt it was better to align with upstream and the other distros.

If you find yourself in this situation in future, please check the USE flag descriptions.