* ERROR: dev-java/batik-1.9::gentoo failed (prepare phase): * /usr/libexec/javatoolkit/xml-rewrite-2.py failed * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-20191029-021613 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Fri, 01 Nov 2019 07:45:59 +0000 emerge -qpvO dev-java/batik [ebuild N ] dev-java/batik-1.9 USE="-doc -python -tcl"
Created attachment 594762 [details] emerge-info.txt
Created attachment 594764 [details] dev-java:batik-1.9:20191101-083519.log
Created attachment 594766 [details] emerge-history.txt
Created attachment 594768 [details] environment
Created attachment 594770 [details] etc.portage.tbz2
Created attachment 594772 [details] temp.tbz2
(In reply to Toralf Förster from comment #0) > * ERROR: dev-java/batik-1.9::gentoo failed (prepare phase): > * /usr/libexec/javatoolkit/xml-rewrite-2.py failed > * https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-java/batik/batik-1.9.ebuild#n47 refers to bug 318323 which is solved. Lines 47 - 52 in batik-1.9.ebuild should be rmoved.
*** This bug has been marked as a duplicate of bug 698964 ***
Not a duplicate and still not resolved.... Please reopen Rewriting contrib/rasterizertask/build.xml Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/xml-rewrite-2.py", line 391, in <module> main() File "/usr/lib/python-exec/python3.6/xml-rewrite-2.py", line 379, in main with open(file, 'w') as f: FileNotFoundError: [Errno 2] No such file or directory: 'contrib/rasterizertask/build.xml' * ERROR: dev-java/batik-1.9::gentoo failed (prepare phase): * /usr/libexec/javatoolkit/xml-rewrite-2.py failed * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 4040: Called java-ant_xml-rewrite '-f' 'contrib/rasterizertask/build.xml' '-c' '-e' 'javadoc' '-a' 'failonerror' '-v' 'no' '-a' 'maxmemory' '-v' '512m' * environment, line 1806: Called die * The specific snippet of code: * ${gen2_2} "${@}" || die "${gen2_2} failed"; * * If you need support, post the output of `emerge --info '=dev-java/batik-1.9::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/batik-1.9::gentoo'`.
It is duplicate, but fix in dev-java/javatoolkit was not yet released. You can apply fix in dev-java/javatoolkit locally. *** This bug has been marked as a duplicate of bug 698964 ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde56b295ffa8d407aaf63611bda39697fbd1a75 commit fde56b295ffa8d407aaf63611bda39697fbd1a75 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-08-14 07:17:29 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-08-14 07:18:08 +0000 dev-java/javatoolkit: bump to 0.6.3 Bug: https://bugs.gentoo.org/698964 Bug: https://bugs.gentoo.org/699100 Closes: https://bugs.gentoo.org/736583 Closes: https://github.com/gentoo/gentoo/pull/17069 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/javatoolkit/Manifest | 1 + dev-java/javatoolkit/javatoolkit-0.6.3.ebuild | 28 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+)