Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627366 - dev-java/javatoolkit-0.5.0 breaks dev-java/ant-core
Summary: dev-java/javatoolkit-0.5.0 breaks dev-java/ant-core
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:
Depends on:
Blocks:
 
Reported: 2017-08-09 04:46 UTC by Ryan Harris
Modified: 2019-11-08 18:55 UTC (History)
4 users (show)

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


Attachments
build.log using python-3.4 (build.log,3.82 KB, text/x-log)
2017-08-09 04:46 UTC, Ryan Harris
Details
emerge --info (file_627366.txt,5.11 KB, text/plain)
2017-08-09 04:48 UTC, Ryan Harris
Details
build.log using python-2.7 (build.log,3.40 KB, text/x-log)
2017-08-09 04:53 UTC, Ryan Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Harris 2017-08-09 04:46:56 UTC
Created attachment 488370 [details]
build.log using python-3.4

The lastest version dev-java/javatoolkit-0.5.0 breaks ant-core during rewriting of the build.xml file. It is broken with both python-2.7 and python-3.4 due to changes in the xml-rewrite-2.py file.
Comment 1 Ryan Harris 2017-08-09 04:48:40 UTC
Created attachment 488372 [details]
emerge --info
Comment 2 Ryan Harris 2017-08-09 04:53:36 UTC
Created attachment 488374 [details]
build.log using python-2.7
Comment 3 William L. Thomson Jr. 2017-08-09 21:06:54 UTC
At this time all versions > javatoolkit-0.3.0-r9 are broken, including 0.4.0 and 0.5.0. They need to be masked till fixed. Please revert back to javatoolkit-0.3.0-r9 in the mean time to bypass this issue.

The only changes to javatoolkit are updating for newer python. Thus javatoolkit-0.3.0-r9 is fine to use till the newer stuff is working.
Comment 4 Francesco Riosa 2017-08-09 22:48:41 UTC
is it possible to mask them in profile?
It make no sense that everyone start a debug session, then came on bugzilla to see it's a known bug.
Comment 5 Miroslav Šulc gentoo-dev 2017-08-10 10:24:38 UTC
tomcat is affected aswell.
Comment 6 Patrice Clement (RETIRED) gentoo-dev 2017-08-10 10:41:56 UTC
commit 2cf57b9a15326906f6d79dcaa56c1a4cb5965db5 (HEAD -> master, origin/master, origin/HEAD)
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: Thu Aug 10 11:45:51 2017 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Thu Aug 10 11:46:54 2017 +0200

    profiles/package.mask: mask dev-java/toolkit-0.{4,5}.0.

 profiles/package.mask | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

I have masked both versions for the time being.

@Manuel: sorry.
Comment 7 Mike Lothian 2019-06-18 09:42:42 UTC
Are there any updates on this?
Comment 8 Torsten Kurbad 2019-11-08 18:44:25 UTC
javatoolkit versions >=0.6.1 are also broken for me.
Comment 9 Miroslav Šulc gentoo-dev 2019-11-08 18:55:08 UTC
there's nobody maintaining javatoolkit afaik so it's "a bit" problem... unless somebody steps up and takes care of it, it would be best to get rid of all of the build.xml rewrite and go the kava-pkg-simple.eclass way... these days most of the packages use maven pom.xml anyway so it makes more sense than few years back... anyway, that's a lot of work too to migrate packages to java-pkg-simple.eclass...

you can mask >dev-java/javatoolkit-0.3.0-r9 locally to avoid the issue.