jtds-1.2 is not keyworded for your arch so had to drop your keywords from -r4. Let's see if anyone of you has Microsoft SQL server to test with :)
On ppc: >>> Compiling source in /var/tmp/portage/dev-java/jtds-1.2-r1/work ... Buildfile: build.xml init: prepare: [mkdir] Created dir: /var/tmp/portage/dev-java/jtds-1.2-r1/work/build [mkdir] Created dir: /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/classes [mkdir] Created dir: /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src [copy] Copying 65 files to /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src [copy] Copying 46 files to /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src [copy] Copying 2 files to /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/classes compile: [javac] Compiling 111 source files to /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/classes [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:32: package com.sun.net.ssl does not exist [javac] import com.sun.net.ssl.SSLContext; [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:33: package com.sun.net.ssl does not exist [javac] import com.sun.net.ssl.TrustManager; [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:34: package com.sun.net.ssl does not exist [javac] import com.sun.net.ssl.X509TrustManager; [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:181: cannot find symbol [javac] symbol : class TrustManager [javac] location: class net.sourceforge.jtds.ssl.SocketFactories.TdsTlsSocketFactory [javac] private static TrustManager[] trustManagers() { [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:174: cannot find symbol [javac] symbol : class SSLContext [javac] location: class net.sourceforge.jtds.ssl.SocketFactories.TdsTlsSocketFactory [javac] SSLContext ctx = SSLContext.getInstance("TLS"); [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:174: cannot find symbol [javac] symbol : variable SSLContext [javac] location: class net.sourceforge.jtds.ssl.SocketFactories.TdsTlsSocketFactory [javac] SSLContext ctx = SSLContext.getInstance("TLS"); [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:182: cannot find symbol [javac] symbol : class X509TrustManager [javac] location: class net.sourceforge.jtds.ssl.SocketFactories.TdsTlsSocketFactory [javac] X509TrustManager tm = new X509TrustManager() { [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:182: cannot find symbol [javac] symbol : class X509TrustManager [javac] location: class net.sourceforge.jtds.ssl.SocketFactories.TdsTlsSocketFactory [javac] X509TrustManager tm = new X509TrustManager() { [javac] ^ [javac] /var/tmp/portage/dev-java/jtds-1.2-r1/work/build/src/net/sourceforge/jtds/ssl/SocketFactories.java:196: cannot find symbol [javac] symbol : class X509TrustManager [javac] location: class net.sourceforge.jtds.ssl.SocketFactories.TdsTlsSocketFactory [javac] return new X509TrustManager[]{tm}; [javac] ^ [javac] 9 errors BUILD FAILED /var/tmp/portage/dev-java/jtds-1.2-r1/work/build.xml:46: Compile failed; see the compiler error output for details. Total time: 45 seconds !!! ERROR: dev-java/jtds-1.2-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 4792: Called src_compile ebuild.sh, line 1304: Called java-pkg-2_src_compile java-pkg-2.eclass, line 84: Called eant 'jar' 'javadoc' '-f' 'build.xml' java-utils-2.eclass, line 1815: Called die !!! eant failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-java/jtds-1.2-r1/temp/build.log'. !!! When you file a bug report, please include the following information: GENTOO_VM=ibm-jdk-bin-1.5 CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.5.0.3" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info Portage 2.1.2.2 (default-linux/ppc/ppc32/2006.1/G3, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo-r3 ppc) ================================================================= System uname: 2.6.18-gentoo-r3 ppc 740/750 Gentoo Base System version 1.12.1 Timestamp of tree: Mon, 07 May 2007 16:29:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/mine" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 berkdb bitmap-fonts bonobo cdr cli cracklib crypt cups directfb dri dvd eds emboss encode esd fbcon firefox fortran gdbm gif gnome gpm gstreamer gtk gtkhtml iconv ipv6 isdnlog jpeg ldap libg++ libwww mad midi mikmod mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl php png ppc pppd python quicktime readline reflection ruby sdl session spell spl ssl tcpd theora truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="r128" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #1) > On ppc: > > >>> Compiling source in /var/tmp/portage/dev-java/jtds-1.2-r1/work ... > Buildfile: build.xml > Patched in 1.2-r2 to not use com.sun.net.ssl.
added ~ppc64
~ppc'd