emerge =dev-java/log4j-1.2.13-r1 yields the following error: 000019 /usr/bin/ant: eval: line 171: unexpected EOF while looking for matching `"' 000020 /usr/bin/ant: eval: line 172: syntax error: unexpected end of file 000021 000022 !!! ERROR: dev-java/log4j-1.2.13-r1 failed. 000023 Call stack: 000024 ebuild.sh, line 1546: Called dyn_compile 000025 ebuild.sh, line 937: Called src_compile 000026 log4j-1.2.13-r1.ebuild, line 49: Called eant 'jar' '-Djavamail.jar=/usr/share/sun-javamail-bin/lib/mail.jar' '-Dactivation.jar=/usr/share/sun-jaf-bin/lib/activation.jar' '-Djmx.jar=/usr/share/sun-jmx/lib/jmxri.jar' '-Djmx-extra.jar log4j-1.2.13 does NOT yield this error and compiles cleanly. Seems to be an error in the ebuild.
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
It compiles for me. Isn't your system affected by bug 151149 ? In another words if you have bash-3.2 installed then that may be the cause of the problem.
Peretz, still having the problem or we can close the bug?
See http://bugs.gentoo.org/show_bug.cgi?id=155590#c16 *** This bug has been marked as a duplicate of 155590 ***