dev-java/log4j-1.2.8-r2 build error 1.2.8-r1 build fine ... <snip> java-config -L [sun-jdk-1.5.0_rc1] "Sun JDK 1.5.0_rc1" (/etc/env.d/java/20sun-jdk-1.5.0_rc1) [sun-jdk-1.4.2.05] "Sun JDK 1.4.2.05" (/etc/env.d/java/20sun-jdk-1.4.2.05) * </snip> <snip> emerge log4j Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/log4j-1.2.8-r2 to / >>> md5 src_uri ;-) jakarta-log4j-1.2.8.tar.gz >>> Unpacking source... >>> Unpacking jakarta-log4j-1.2.8.tar.gz to /var/tmp/portage/log4j-1.2.8-r2/w tar: A lone zero block at 17013 >>> Source unpacked. Buildfile: build.xml init: build.core: [mkdir] Created dir: /mnt/home/var/tmp/portage/log4j-1.2.8-r2/work/jakart og4j-1.2.8/dist/classes BUILD FAILED java.lang.UnsupportedClassVersionError: jdepend/xmlui/JDepend (Unsupported ma .minor version 49.0) Total time: 2 seconds !!! ERROR: dev-java/log4j-1.2.8-r2 failed. !!! Function src_compile, Line 36, Exitcode 1 !!! compilation error </snip>
*** Bug 65616 has been marked as a duplicate of this bug. ***
That is part of the reason jdk-1.5 is masked atm, you can't downgrade java afterwards remerge all java packages you install with 1.4 or go back to using 1.5 These issues will be resolved before 1.5 is removed from package.mask
maybe not clear ... - i reemerged jdk 1.4 - and it is active now - reemerging dev-java/log4j-1.2.8-r1 works - reemerging dev-java/log4j-1.2.8-r2 does not work
thats because -r1 does not depend on dev-java/jdepend i did not mean remerge the jdk, i mean remerge every java package you merged using jdk 1.5 as the active vm, since that one defaults to -source 1.5 the compiled classes are incompatible with 1.4
Now.
can we close this one?
The error reported is not a problem with dev-java/log4j-1.2.8-r2.