Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65615 - dev-java/log4j-1.2.8-r2 build error
Summary: dev-java/log4j-1.2.8-r2 build error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 65616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-27 18:00 UTC by Daniel Webert
Modified: 2004-12-18 13:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2004-09-27 18:00:02 UTC
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>
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-27 21:37:39 UTC
*** Bug 65616 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-27 21:37:51 UTC
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
Comment 3 Daniel Webert 2004-09-28 07:00:19 UTC
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
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-28 08:00:54 UTC
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
Comment 5 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-11-24 08:44:25 UTC
Now.
Comment 6 Daniel Webert 2004-12-09 16:27:09 UTC
can we close this one?
Comment 7 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-18 13:22:14 UTC
The error reported is not a problem with dev-java/log4j-1.2.8-r2.