When compiling log4j-1.2.12 with sun-jdk 1.5 I get the following error: .... [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 .... logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details Reproducible: Always Steps to Reproduce: 1.emerge log4j
doesn't seem to work on java 1.4 either...
1.5 is package.masked
*** Bug 107347 has been marked as a duplicate of this bug. ***
I prefer this solution in src_unpack() sed -i \ -e "s:property name=\"javac.source\" value=\"1.1\":property name=\"javac.source\" value=\"1.2\":" \ -e "s:property name=\"javac.target\" value=\"1.1\":property name=\"javac.target\" value=\"1.2\":" \ build.xml || die "sed failed"
*** Bug 107719 has been marked as a duplicate of this bug. ***
For those that want an ebuild to fix the problem, I did submit one under bug # 107719. The powers that be marked it as a duplicate of this one and set as resolved. I don't know if that means the ebuild will make it into portage or not.