For the net-misc/x2goserver ebuilds, the "doc" use-flag merely causes HTML versions of the man pages to be built. They only appear to get built so that they can be uploaded to the x2go.org website by Makefile.docupload. They do not get installed on the local system. The ebuild installs nothing in /usr/share/doc even with the "doc" use-flag set. The "doc" use-flag should be removed, and the ebuild modified to avoid building the html versions of the man pages unconditionally, and the build dependency on sys-apps/man should be removed. It's even worse, because the ebuild has the "doc" use-flag turned on by default ("+doc") even though it is useless. This is more annoying for those who install sys-apps/man-db rather than sys-apps/man as they have to explicitly use "-doc" to build this package to avoid dependency conflicts with sys-apps/man. Reproducible: Always
Created attachment 382536 [details, diff] ebuild patch for net-misc/x2goserver-4.0.1.15 Proposed patch to remove "doc" use-flag from net-misc/x2goserver-4.0.1.15. The patch for the other versions would be very similar.
Thanks for the report! Some times ago, it did install some html documentation, but now it is indeed a useless dependency on man I cleaned the relevant lines in current x2goserver-4.0.1.15 ebuild