This appears to be an artifact of the new binary package system. x11-libs/libX11 has only has a DEPEND on x11-base/xorg-proto, not RDEPEND, so when it's installed from binpkg, it doesn't install xorg-proto at all. But the headers it installs include headers from xorg-proto. make -j8 -j1 CC=powerpc64le-unknown-linux-gnu-gcc STRIP=true DYNAMIC_LIBFFI=true powerpc64le-unknown-linux-gnu-gcc -O2 -pipe -mcpu=power9 -mtune=power9 -Wall -Wno-unused -Wno-parentheses -fPIC -O2 -fno-omit-frame-pointer -fno-strict-aliasing -D_REENTRANT -DHAVE_PROTECTION -I"/opt/openjdk-bin-8.382_p05/include" -I"/opt/openjdk-bin-8.382_p05/include/linux" -I"../build/native" -I/include -DJNA_JNI_VERSION='"5.1.0 "' -DCHECKSUM='"74e8f8e397c43487738c5c1f1363498b "' -I/usr/lib64/libffi/include -Wno-unknown-warning-option -Wno-clobbered -Wno-unused-variable -c dispatch.c -o ../build/native/dispatch.o In file included from /opt/openjdk-bin-8.382_p05/include/linux/jawt_md.h:29, from dispatch.c:118: /usr/include/X11/Xlib.h:44:10: fatal error: X11/X.h: No such file or directory 44 | #include <X11/X.h> | ^~~~~~~~~ compilation terminated. make: *** [Makefile:463: ../build/native/dispatch.o] Error 1 Reproducible: Always
Created attachment 883121 [details] build.log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a463c107217aec060a2e10b7644ce0342c1c6359 commit a463c107217aec060a2e10b7644ce0342c1c6359 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-01-29 08:01:11 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-01-29 08:27:36 +0000 dev-java/jna: DEPEND on xorg-proto:0 Closes: https://bugs.gentoo.org/922916 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35065 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/jna/{jna-5.14.0.ebuild => jna-5.14.0-r1.ebuild} | 1 + 1 file changed, 1 insertion(+)