Summary: | dev-java/log4j-1.2.9 doesn't compile without USE="jmx" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wiktor Wandachowicz <wiktorw> |
Component: | [OLD] Development | Assignee: | Java team <java> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
log4j-1.2.9.errors
log4j-1.2.12.errors |
Description
Wiktor Wandachowicz
2005-09-10 06:59:47 UTC
Created attachment 68108 [details]
log4j-1.2.9.errors
Compiler output of "# emerge -av1 jmx" command.
lies it is because of 1.5 log4j check for a class too see if jmx is present that is in 1.5 but not in 1.4 This is fixed in my 1.5 overlay and in log4j 1.2.12 Okay, so I did this: # USE="-jmx" ACCEPT_KEYWORDS="~x86" emerge -avu1 --nodeps log4j This time the compilation bailed out with: build.core: [mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes [javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes [javac] javac: invalid source release: 1.1 [javac] Usage: javac <options> <source files> [javac] where possible options include: [javac] -g Generate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source} Generate only some debugging info [javac] -nowarn Generate no warnings ... (rest of usage info removed for clarity) So, you are not exactly right with log4j-1.2.12, as upgrading to it doesn't solve my problem. And somehow I managed to solve it myself for my own purpose with older version. In my opinion if 1.2.9 is marked stable and makes such problems, its ebuild should be enhanced to include JMX when using JDK 1.5.0. That's the reason I'd still keep the bug open. And yes, I know how hair-rising is the fact of using Sun's jdk-1.5.0 ... ;-) But I need it for my development environment. So I installed it as first Java-related package and kept going with it for all emerges. [OT] And saying "lies" in the first line of your answer is not-so-much polite as it could be. I'm not so touchy, but hey... :-D Anyway, thanks for quick answer! Created attachment 68110 [details]
log4j-1.2.12.errors
[OT] Continuing with emerging jboss, I've found another problem, now with dev-java/avalon-logkit-1.2. Luckily I've found some helpful comments to the bug #79206, so I'll try them and see if I can proceed. [OT] Yeah, the solution from comment #55 to the aforementioned bug worked! fine wontfix then :) except if you are using http://gentooexperimental.org/svn/java/axxo-overlay/ (but that has some other massive changes to how java is handled, so be carefull) |