Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21887 - Some ebuilds depending on dev-java/jikes don't honor the "jikes" USE flag
Summary: Some ebuilds depending on dev-java/jikes don't honor the "jikes" USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-29 06:35 UTC by Jonas Berlin
Modified: 2003-08-14 23:23 UTC (History)
0 users

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


Attachments
A patch to add jikes? ( ... ) wrapping to dev-java/jikes dependencies and IUSE+=jikes (jikes-portage.patch,7.43 KB, patch)
2003-05-29 06:48 UTC, Jonas Berlin
Details | Diff
Version 2 of the patch (jikes-portage-2.patch,9.93 KB, patch)
2003-05-29 10:28 UTC, Jonas Berlin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Berlin 2003-05-29 06:35:25 UTC
Ebuilds of at least the following portage packages depend on
dev-java/jikes regardless of the "jikes" USE flag:

app-admin/portagemaster
dev-java/antlr
dev-java/java-gnome
dev-java/java-gtk
dev-java/kissme-classpath
dev-java/makeme
dev-java/xdoclet
net-mail/flap

I created a patch (below) to fix the ebuilds I found.
Comment 1 Jonas Berlin 2003-05-29 06:48:06 UTC
Created attachment 12526 [details, diff]
A patch to add jikes? ( ... ) wrapping to dev-java/jikes dependencies and IUSE+=jikes

The patches don't attempt to force the ebuilds not to use jikes for
compilation; they merely make the dependencies optional.
Comment 2 Jonas Berlin 2003-05-29 08:19:36 UTC
Ok, dev-java/antlr and dev-java/xdoclet at least needs some further
fixes, since the ebuilds force the use of jikes right now and fail if
it isn't installed. I'll try to put together another version of the
patch including additional checks for the jikes USE flag.
Comment 3 Jonas Berlin 2003-05-29 10:28:19 UTC
Created attachment 12538 [details, diff]
Version 2 of the patch

This version includes some additional necessary modifications in order
for the ebuilds to honor the "jikes" USE flag correctly. I tested all
the ebuilds I made corrections to and they compiled & installed fine
without jikes installed..

.. except for dev-java/antlr-2.7.2_alpha2 which didn't compile even
with jikes installed, with the original (unpatched) ebuild -- it
crashed in a C++ compilation error:

../antlr/CharScanner.hpp:407: `tolower' undeclared (first use this function)
Comment 4 Adrian Almenar 2003-08-14 23:23:31 UTC
The patch has been applied to almost all packages, the problem with antlr, its 
being worked, Ill close it as fixed, since its working but another bug its 
blocking the antlr patch. 
 
Thanks for your support.