if grep > /dev/null native.*\( /var/tmp/portage/dev-java/rxtx-2.2_pre2-r1/work/rxtx-2.2pre2/./src/gnu/io/$i.java; then \ echo gnu.io.$i; \ fi; \ done)` /bin/sh: line 1: /opt/openjdk-bin-11.0.13_p8/bin/javah: No such file or directory make: *** [Makefile:845: /var/tmp/portage/dev-java/rxtx-2.2_pre2-r1/work/rxtx-2.2pre2/gnu/io/CommDriver.class] Error 127 make: *** Waiting for unfinished jobs.... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220117-102300 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): Python 3.9.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * GENTOO_VM=openjdk-bin-11 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.13_p8" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="" The following VMs are available for generation-2: *) AdoptOpenJDK 11.0.13_p8 [openjdk-bin-11] 2) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 0217bdc2d48c1eb51f3fbe1bf3f142b993fa592d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Jan 18 05:37:00 2022 +0000 2022-01-18 05:36:59 UTC emerge -qpvO dev-java/rxtx [ebuild N ] dev-java/rxtx-2.2_pre2-r1 USE="-doc -lfd -source"
Created attachment 762477 [details] emerge-info.txt
Created attachment 762478 [details] dev-java:rxtx-2.2_pre2-r1:20220118-080227.log
Created attachment 762479 [details] emerge-history.txt
Created attachment 762480 [details] environment
Created attachment 762481 [details] etc.portage.tar.bz2
Created attachment 762482 [details] logs.tar.bz2
Created attachment 762483 [details] temp.tar.bz2
The 'javah' command has been removed on JDK 11. Similar to https://bugs.gentoo.org/818145; should block https://bugs.gentoo.org/697014
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f2919fe3bbe0063e50b32c7346dde31bd0e174 commit f8f2919fe3bbe0063e50b32c7346dde31bd0e174 Author: Yuan Liao <liaoyuan@gmail.com> AuthorDate: 2022-02-20 14:54:56 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-02-21 09:19:44 +0000 dev-java/rxtx: Fix various build errors for Java 11+ and others, EAPI 8 - Fix compiler errors due to -Werror=format-security - Fix Javadoc generation errors - Replace 'javah' with 'javac -h' for JDK 10+ - Attempt to fix some random, nondeterministic build-time errors that were speculated to be caused by parallel 'make'. Those errors are not always reproducible and may go away during a retry, which might have stopped some users (including the commit author himself) from reporting them. Another random error popped up when the new ebuild revision was being tested, hence a fix that forces sequential build is attempted in the hope to prevent probable random errors. Bug: https://bugs.gentoo.org/550534 Bug: https://bugs.gentoo.org/642030 Bug: https://bugs.gentoo.org/831394 Bug: https://bugs.gentoo.org/833396 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24289 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> .../files/rxtx-2.2_pre2-fix-for-java-10+.patch | 50 +++++ .../files/rxtx-2.2_pre2-fix-invalid-javadoc.patch | 229 +++++++++++++++++++++ .../rxtx/files/rxtx-2.2_pre2-format-security.patch | 118 +++++++++++ dev-java/rxtx/rxtx-2.2_pre2-r2.ebuild | 109 ++++++++++ 4 files changed, 506 insertions(+)
Affected version has gone. Closing.