>>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/swt-4.10-r2/work ... * libjawt.so not found in the JDK being used for compilation! * ERROR: dev-java/swt-4.10-r2::gentoo failed (compile phase): * cannot build AWT library * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j3_test-20210722-112048 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 2d6aba09267132cb76a9705ae57dc860ef96fb23 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Jul 23 21:21:44 2021 +0000 2021-07-23 21:21:42 UTC emerge -qpvO dev-java/swt [ebuild N ] dev-java/swt-4.10-r2 USE="cairo -opengl -webkit"
Created attachment 726292 [details] emerge-info.txt
Created attachment 726295 [details] dev-java:swt-4.10-r2:20210723-221256.log
Created attachment 726298 [details] emerge-history.txt
Created attachment 726301 [details] environment
Created attachment 726304 [details] etc.portage.tar.bz2
Created attachment 726307 [details] logs.tar.bz2
openjdk-8 and openjdk-bin-8 does not provide libjawt.so under LDPATH but instead in ./amd64/ subdirectory (at least on amd64), so the code that searches for this jar does not work. looking for a solution...
ok, after confirmation with gyakovlev, this must be fixed in openjdk ebuilds.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a1f153a7683d370c393f8faf8f5202c40fbdac commit 49a1f153a7683d370c393f8faf8f5202c40fbdac Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2021-07-25 04:41:44 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-07-25 04:41:44 +0000 dev-java/swt: added workaround for openjdk{,-bin}-8 to 4.10-r2 Closes: https://bugs.gentoo.org/803650 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/swt/swt-4.10-r2.ebuild | 4 ++++ 1 file changed, 4 insertions(+)