Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850430 - dev-java/ant-core-1.10.9-r5 - xml-rewrite not found
Summary: dev-java/ant-core-1.10.9-r5 - xml-rewrite not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-06-07 14:07 UTC by Toralf Förster
Modified: 2024-03-10 21:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.36 KB, text/plain)
2022-06-07 14:07 UTC, Toralf Förster
Details
dev-java:ant-core-1.10.9-r5:20220607-100306.log (dev-java:ant-core-1.10.9-r5:20220607-100306.log,2.19 KB, text/plain)
2022-06-07 14:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.32 KB, text/plain)
2022-06-07 14:08 UTC, Toralf Förster
Details
environment (environment,126.22 KB, text/plain)
2022-06-07 14:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.82 KB, application/x-bzip)
2022-06-07 14:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.71 KB, application/x-bzip)
2022-06-07 14:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-06-07 14:07:57 UTC
 [ 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"
Comment 1 Toralf Förster gentoo-dev 2022-06-07 14:07:58 UTC
Created attachment 783371 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-07 14:07:59 UTC
Created attachment 783374 [details]
dev-java:ant-core-1.10.9-r5:20220607-100306.log
Comment 3 Toralf Förster gentoo-dev 2022-06-07 14:08:00 UTC
Created attachment 783377 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-07 14:08:01 UTC
Created attachment 783380 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-07 14:08:03 UTC
Created attachment 783383 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-07 14:08:04 UTC
Created attachment 783386 [details]
temp.tar.bz2
Comment 7 Tor Rune Skoglund 2022-06-09 17:54:51 UTC
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
Comment 8 Larry the Git Cow gentoo-dev 2024-01-23 09:42:41 UTC
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(+)
Comment 9 Larry the Git Cow gentoo-dev 2024-03-10 21:10:32 UTC
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(-)