https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-java/jna-5.10.0 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: If you think this is a GCC-11 related issue, please block bug 732706.
CC'ing also the author of the commit (9eb362c301c9ca8a1968867436506860ac11a759)
Created attachment 761652 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: [exec] /opt/openjdk-bin-8.312_p07/jre/../include/linux/jawt_md.h:31:10: fatal error: X11/Intrinsic.h: No such file or directory [exec] /opt/openjdk-bin-8.312_p07/jre/../include/linux/jawt_md.h:31:10: fatal error: X11/Intrinsic.h: No such file or directory
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0f8afba88fd7f3a7813c280e9d87074f5f459a commit 1a0f8afba88fd7f3a7813c280e9d87074f5f459a Author: Yuan Liao <liaoyuan@gmail.com> AuthorDate: 2022-01-08 22:30:57 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-01-09 09:07:17 +0000 dev-java/jna: DEPEND on x11-libs/libXt for 5.10.0 The 'awt' USE flag has not been added to 5.10.0, which is effectively like this USE flag is enabled by default (dev-java/jna[awt(+)]). Bug 830812 shows that x11-libs/libXt is still required for 5.10.0. Another long-existing bug 762940 suggests that if the ebuild had the 'awt' USE flag and it was disabled then libXt might be redundant, but that is not applicable to this case. As of the commit time, based on experiments in containers created from the gentoo/stage3 Docker image, declaration of x11-libs/libXt as a dependency would only cause 3 additional packages to be installed in a new copy of stage3, none of which would take a very long time to merge, so the benefit of making the dependency optional via the 'awt' USE flag might not be very significant. Bug: https://bugs.gentoo.org/762940 Closes: https://bugs.gentoo.org/830812 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23708 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/jna/jna-5.10.0.ebuild | 1 + 1 file changed, 1 insertion(+)
I'm being asked to install a lot more than 3 totally unecessary packages here in my headless installation: x11-libs/xtrans x11-base/xcb-proto x11-base/xorg-proto x11-libs/libICE x11-libs/libXau x11-libs/libXdmcp x11-libs/libxcb x11-libs/libSM x11-misc/compose-tables x11-libs/libX11 x11-libs/libXt