[ ok ] * No binary for rewriting found. * Do you have dev-java/javatoolkit installed? * ERROR: dev-java/ant-core-1.10.9-r5::gentoo failed (prepare phase): * xml-rewrite not found * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4-20220606-170014 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): /usr/lib/llvm/14 14.0.4 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.61.0 * GENTOO_VM=openjdk-bin-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.332_p09" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit c6d43e74ebaa306480aa9dc705eddffafafe321e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Jun 7 09:18:20 2022 +0000 2022-06-07 09:18:19 UTC emerge -qpvO dev-java/ant-core [ebuild N ] dev-java/ant-core-1.10.9-r5 USE="-doc -source"
Created attachment 783371 [details] emerge-info.txt
Created attachment 783374 [details] dev-java:ant-core-1.10.9-r5:20220607-100306.log
Created attachment 783377 [details] emerge-history.txt
Created attachment 783380 [details] environment
Created attachment 783383 [details] etc.portage.tar.bz2
Created attachment 783386 [details] temp.tar.bz2
Can confirm that I get the same on a fresh update. * Package: dev-java/ant-core-1.10.9-r5 ... * No binary for rewriting found. * Do you have dev-java/javatoolkit installed? * ERROR: dev-java/ant-core-1.10.9-r5::gentoo failed (prepare phase): * xml-rewrite not found ... !!! 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 =ant-core-1.10.9 javatoolkit is installed: * dev-java/javatoolkit Latest version available: 0.6.7 Latest version installed: 0.6.7 Might be helpful: Emerging package dev-java/javacup exhibits a possibly related error: >>> Configuring source in /var/tmp/portage/dev-java/javacup-0.11b_p20151001-r1/work ... Rewriting attributes /var/tmp/portage/dev-java/javacup-0.11b_p20151001-r1/temp/environment: line 1276: /usr/lib64/javatoolkit/bin/xml-rewrite-3.py: No such file or directory
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9098e1e1174f7f4eef989a538e29a8469e816363 commit 9098e1e1174f7f4eef989a538e29a8469e816363 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2023-12-24 18:38:07 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-01-23 09:42:33 +0000 dev-java/ant: add 1.10.14 - CVE-2021-36373, CVE-2021-36374 Starting from version 1.10.14, dev-java/ant provides itself ant.jar and ant-launcher.jar instead of having them symlinked from dev-java/ant-core. Jar files of ant-tasks and optionally their javadoc get installed conditionally according to their USE flags. Those which have no compile dependencies are installed unconditionally Closes: https://bugs.gentoo.org/921269 Bug: https://bugs.gentoo.org/850430 Bug: https://bugs.gentoo.org/802165 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/ant/Manifest | 2 + dev-java/ant/ant-1.10.14.ebuild | 369 +++++++++++++++++++++++ dev-java/ant/files/1.10.9-launch.patch | 361 +++++++++++++++++++++++ dev-java/ant/files/ant-1.10.14-AntTest.patch | 28 ++ dev-java/ant/files/ant-1.10.14-AntlibTest.patch | 40 +++ dev-java/ant/files/ant-1.10.14-JavaTest.patch | 370 ++++++++++++++++++++++++ dev-java/ant/files/ant-1.10.14-LinkTest.patch | 87 ++++++ dev-java/ant/files/ant-1.10.14-PathTest.patch | 30 ++ 8 files changed, 1287 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741d4790f8f688a04715b447481adc57c1d888b1 commit 741d4790f8f688a04715b447481adc57c1d888b1 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-02-26 13:59:33 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-03-10 21:10:05 +0000 dev-java/ant-core: drop 1.10.9-r5 Bug: https://bugs.gentoo.org/802165 Closes: https://bugs.gentoo.org/202276 Closes: https://bugs.gentoo.org/850430 Closes: https://bugs.gentoo.org/829815 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/ant-core/Manifest | 2 - dev-java/ant-core/ant-core-1.10.9-r5.ebuild | 159 ---------------------------- 2 files changed, 161 deletions(-)