I was trying to compile eclipse 3.0.0 but it failed (tryed many times). It would always show something like ACCESS DENIED: open_wr /dev/random The message was something like that, sorry I didn't save it. I got it working by editing the ebuild and inserting the line addpredict /dev/random before every call to "ant". Then the compilation succeded and I was able to run eclipse-3 without problems. I use ant 1.6.1 and j2sdk-1.5.0-beta_2
This is a general problem with all java ebuilds. You must currently compile them with FEATURES="-sandbox" for it to reliably work.
Ok, I really do not have a clue of what the "addpredict" command does, but it just seem to be what we need here. Adding "addpredict" commands to the eclipse ebuild will make things just work as they are supposed to. Unless there is a good reason not to use the "addpredict /dev/random" command, I think it should be added to eclipse's 3 ebuild. Also, trying to emerge eclipse3 I couldn't find anywhere that I should use FEATURES="-sandbox", it was easier for me to find out about the addpredict command!
This is one of the reasons why 3.0.0 is hardmasked;P Anyway, the newer revisions inherit java-utils, which should (but don't) fix this. We're working with the portage developers on this now.
As new versions of Portage that allows a clean fix for this seem a bit delayed, I've added this as a work-around for now. It's in -r3 if you emerge sync.