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

Bug 803326

Summary: default/linux/amd64/XY.Z (any non-desktop) profile: enable headless-awt by default
Product: Gentoo Linux Reporter: Anton Bolshakov <anton.bugs>
Component: ProfilesAssignee: Java team <java>
Status: UNCONFIRMED ---    
Severity: normal CC: anton.bugs, gentoo, gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anton Bolshakov 2021-07-22 06:44:24 UTC
Hello,

I'm using   "[1]   default/linux/amd64/17.1 (stable)" profile on my server and I expect no GUI or XORG in my system.

The -headless-awt flag was introduced recently in virtual/jdk and all java engines (such as dev-java/openjdk-bin).

As the flag is not enabled by default, it pulls x11-libs/libXtst, x11-base/xorg-proto and few other xorg related libraries.

I enabled it in my make.conf file, but I'm wondering, should it be enabled by default? Other profiles such as "desktop" can keep it disabled

Thank you.
Comment 1 Volkmar W. Pogatzki 2024-04-06 08:18:24 UTC
Cannot reproduce. There is no "-headless-awt" flag. Did I miss something?
Also profile 17.1 is going away. Feel free to re-open if still relevant.
Comment 2 Anton Bolshakov 2024-04-06 10:12:39 UTC
Yes, you did miss it. But I don't know how.

bash$ equery h headless-awt
 * Searching for USE flag headless-awt ... 
[IP-] [  ] dev-java/openjdk-bin-8.402_p06:8
[IP-] [  ] dev-java/openjdk-bin-17.0.8.1_p1:17
[IP-] [  ] virtual/jdk-17:17