The java library /usr/share/commons-logging/lib/commons-logging.jar created by `emerge commons-logging` does not contain log4j support, despite the presence of log4j on the system. (And despite the ebuild having an explicit dependence on log4j.) From a close examination of the output of the build, it is clear that it is not finding log4j. However, the messages that indicate this fly by quickly, and there is no warning that the resulting library is incomplete. Since log4j integration a major use of commons-logging, and the binaries you download from the Jakarta Commons project do have log4j support, this is a substantial failing of user expectations. Reproducible: Always Steps to Reproduce: 1. emerge commons-logging (at the moment, this gets you 1.0.3) 2. Examine /usr/share/commons-logging/lib/commons-logging.jar like so: $ jar tf /usr/share/commons-logging/lib/commons-logging.jar | grep -i log4j 3. There should be several classes with log4j in the name, like Log4JLogger and Log4jFactory Actual Results: Those classes are missing. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ck2) ================================================================= System uname: 2.4.22-ck2 i686 AMD Athlon(tm) XP 1700+ ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile postgres X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk kde motif opengl mozilla cdr acpi clamav curl doc dvd emacs ethereal gps gtk2 imagemagick jikes junit md5sum moznocompose mozsvg mozxmlterm mule music pda samba tiff wxwindows xinerama xvid -apm -qt"
Moving this again to java@gentoo.org, so everyone out there can help.
This should be fixed now. Please resync your portage tree, and try again. =) Thanks.