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.
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.
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