The following error occurs - clipped for clarity (I've found cause/solution - no killing please ;) ) Making all in gv make[3]: Entering directory `/var/tmp/portage/graphviz-2.6-r1/work/graphviz-2.6/tclpkg/gv' /bin/sh ../../libtool --tag=CXX --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib/perl5/5.8.8/powerpc-linux/CORE -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/python2.4 -I/usr/lib/ruby/1.8/powerpc-linux -mcpu=7450 -mtune=7450 -O2 -pipe -maltivec -mabi=altivec -fomit-frame-pointer -fno-strict-aliasing -c -o gv_perl.lo gv_perl.cpp gv_java.cpp: In function 'void SWIG_JavaThrowException(const JNINativeInterface**, SWIG_JavaExceptionCodes, const char*)': gv_java.cpp:83: error: request for member 'ExceptionClear' in '* jenv', which is of non-class type 'const JNINativeInterface*' gv_java.cpp:84: error: request for member 'FindClass' in '* jenv', which is of non-class type 'const JNINativeInterface*' The aforementioned cause is that jni.h is not being found. It's part of JDK and obviously it's located in a place dependant on the jdk used. In my case adding: -I/opt/ibm-jdk-bin-1.4.2.03/include to the CFLAGS (CXXFLAGS="${CFLAGS}") fixed the problem but I suppose this should be either changed in java environment settings or in the ebuild - from java-config output for example. Curiously this didn't happen on amd64, though it's keyworded ~amd64 and ppc...
For me, graphviz-2.6-r1 states in configure that the jni.h is not found and the java package will not be built. It does state that for the PHP and Guile options, too. However compiling with [ebuild R ] media-gfx/graphviz-2.6-r1 USE="X cairo* tcl* tk* -static" 0 kB caused my system to eat up all my ram and swap in configure phase after "checking for ruby ... yes" I had to kill the process. Portage 2.1-r2 (default-linux/ppc/ppc32/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-20060623 ppc) ================================================================= System uname: 2.6.17-20060623 ppc 7455, altivec supported Gentoo Base System version 1.6.15 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 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 -mtune=G4 -maltivec -mabi=altivec -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect confcache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_US.ISO-8859-1" LINGUAS="de en en_GB" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/local /usr/portage/local/layman/science /usr/portage/local/layman/postgresql-experimental" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="ppc X alsa altivec apache2 apm bitmap-fonts bonobo bzip2 cdr cli crypt curl dlloader dri dvd eds emboss encode foomaticdb gif gpm gstreamer gtkhtml imlib ipv6 isdnlog jpeg kde libg++ libwww mad motif mozilla mp3 mpeg ncurses nls nptl ogg opengl pam pcre pdflib perl pic png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session slang spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xinerama xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en linguas_en_GB userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I think this problem is obsolete -- latest stable version (graphviz 2.8-r2) builds with java useflag without any problem. Have you guys tried a recent version yet?
I really think this has been fixed, please reopen if there are problems with recent stable versions.