Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699100 - dev-java/batik-1.9 : * /usr/libexec/javatoolkit/xml-rewrite-2.py failed
Summary: dev-java/batik-1.9 : * /usr/libexec/javatoolkit/xml-rewrite-2.py failed
Status: RESOLVED DUPLICATE of bug 698964
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 699102
  Show dependency tree
 
Reported: 2019-11-01 16:59 UTC by Toralf Förster
Modified: 2020-08-14 07:18 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.22 KB, text/plain)
2019-11-01 16:59 UTC, Toralf Förster
Details
dev-java:batik-1.9:20191101-083519.log (dev-java:batik-1.9:20191101-083519.log,2.21 KB, text/plain)
2019-11-01 16:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.63 KB, text/plain)
2019-11-01 16:59 UTC, Toralf Förster
Details
environment (environment,153.87 KB, text/plain)
2019-11-01 16:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.10 KB, application/x-bzip)
2019-11-01 16:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.85 KB, application/x-bzip)
2019-11-01 16:59 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 2019-11-01 16:59:28 UTC
 * 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"
Comment 1 Toralf Förster gentoo-dev 2019-11-01 16:59:32 UTC
Created attachment 594762 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-01 16:59:36 UTC
Created attachment 594764 [details]
dev-java:batik-1.9:20191101-083519.log
Comment 3 Toralf Förster gentoo-dev 2019-11-01 16:59:39 UTC
Created attachment 594766 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-11-01 16:59:42 UTC
Created attachment 594768 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-11-01 16:59:45 UTC
Created attachment 594770 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-01 16:59:48 UTC
Created attachment 594772 [details]
temp.tbz2
Comment 7 charles17 2020-02-19 19:22:18 UTC
(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.
Comment 8 Arfrever Frehtes Taifersar Arahesis 2020-04-19 10:11:26 UTC

*** This bug has been marked as a duplicate of bug 698964 ***
Comment 9 PhobosK 2020-07-22 09:34:34 UTC
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'`.
Comment 10 Arfrever Frehtes Taifersar Arahesis 2020-07-22 17:07:19 UTC
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 ***
Comment 11 Larry the Git Cow gentoo-dev 2020-08-14 07:18:22 UTC
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(+)