>>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/swt-4.10-r1/work ... * libjawt.so not found in the JDK being used for compilation! * ERROR: dev-java/swt-4.10-r1::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_gnome_systemd-j3-20210707-200943 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * /usr/lib/llvm/12 12.0.0 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 [1] php7.3 [2] php7.4 * [3] php8.0 HEAD of ::gentoo commit 241a2501ec840b47ce306588ecfaa86806c8ccd2 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Jul 9 06:37:24 2021 +0000 2021-07-09 06:37:20 UTC emerge -qpvO dev-java/swt [ebuild N ] dev-java/swt-4.10-r1 USE="cairo opengl -webkit"
Created attachment 722863 [details] emerge-info.txt
Created attachment 722866 [details] dev-java:swt-4.10-r1:20210709-071150.log
Created attachment 722869 [details] emerge-history.txt
Created attachment 722872 [details] environment
Created attachment 722875 [details] etc.portage.tar.bz2
Created attachment 722878 [details] logs.tar.bz2
Created attachment 723919 [details] build.log (ppc64) Same on ppc64.
Reproducible with openjdk-bin[headless-awt] which seems to be default in stage tarballs.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d042dab2a9e0106ea309e343dafdf58b9cb55f3 commit 8d042dab2a9e0106ea309e343dafdf58b9cb55f3 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2021-07-15 12:50:16 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-07-16 06:24:28 +0000 dev-java/swt: jdk[-headless-awt] Closes: https://bugs.gentoo.org/801277 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/21651 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/swt/swt-4.10-r2.ebuild | 174 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2267a9aff4d5f488c7c86c2fa809aa33961fa81d commit 2267a9aff4d5f488c7c86c2fa809aa33961fa81d Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2021-07-15 11:47:59 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-07-16 06:24:23 +0000 virtual/jdk: introduce headless-awt flag Bug: https://bugs.gentoo.org/801277 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> virtual/jdk/jdk-1.8.0-r6.ebuild | 16 ++++++++++++++++ virtual/jdk/jdk-11-r2.ebuild | 14 ++++++++++++++ virtual/jdk/metadata.xml | 3 +++ 3 files changed, 33 insertions(+)
Created attachment 724588 [details] build.log (ppc64, 4.10-r2) Sorry to hijack the bug but unfortunately -r2 does not fix the problem on ppc64. Still getting this: [...] >>> Preparing source in /var/tmp/portage/dev-java/swt-4.10-r2/work ... * Applying swt-4.10-as-needed-and-flag-fixes.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/swt-4.10-r2/work ... Rewriting attributes Rewriting ./build.xml >>> 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: * ebuild.sh, line 127: Called src_compile * environment, line 3621: Called die * The specific snippet of code: * die "cannot build AWT library"; * * If you need support, post the output of `emerge --info '=dev-java/swt-4.10-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/swt-4.10-r2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.16.0" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =swt-4.10 # emerge -pv swt These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-java/java-config-2.3.1:2::gentoo USE="-test" PYTHON_TARGETS="python3_9 -python3_8" 0 KiB [ebuild N ] dev-java/javatoolkit-0.6.7::gentoo PYTHON_TARGETS="python3_9 -python3_8" 0 KiB [ebuild N ] dev-java/icedtea-bin-3.16.0:8::gentoo USE="alsa (big-endian) pulseaudio -cups -doc -examples -gtk -headless-awt (-selinux) -source" 0 KiB [ebuild N ] dev-java/icedtea-sound-1.0.1::gentoo USE="doc -test" 0 KiB [ebuild N ] dev-java/openjdk-8.292_p10:8::gentoo USE="alsa jbootstrap pch -cups -debug -doc -examples -headless-awt (-javafx) (-selinux) -source" 0 KiB [ebuild N ] dev-java/ant-core-1.10.9::gentoo USE="-doc -source" 0 KiB [ebuild N ~] dev-java/swt-4.10-r2:4.10::gentoo USE="cairo opengl -webkit" 0 KiB # find / -name libjawt.so /opt/icedtea-bin-3.16.0/lib/ppc64/libjawt.so /opt/icedtea-bin-3.16.0/jre/lib/ppc64/libjawt.so /usr/lib64/openjdk-8/lib/ppc64/libjawt.so /usr/lib64/openjdk-8/jre/lib/ppc64/libjawt.so
should be fixed now
(In reply to Miroslav Šulc from comment #11) > should be fixed now Yes, now it builds ok on ppc64. Thanks!