javac -source 1.4 -target 1.4 -classpath :./src:.:/usr/share/antlr/lib/antlr.jar:. -d classes src/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. javac -source 1.4 -target 1.4 -classpath :./src:.:/usr/share/antlr/lib/antlr.jar:. -d classes src/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java fastjar cf com-sun-javadoc-0.7.8.jar -C classes com/sun/javadoc gcc-config error: fastjar wrapper: Could not determine which compiler to use. Invalid CTARGET or CTARGET has no selected profile. make: *** [com-sun-javadoc-0.7.8.jar] Error 1 Reproducible: Always root@grizzly:/root(10)# emerge --info Portage 2.1.2.6 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r2, 2.6.21.1 x86_64) ================================================================= System uname: 2.6.21.1 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.10 Timestamp of tree: Sun, 06 May 2007 05:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-acti ve/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/ linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/g entoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/" LINGUAS="de fr" 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 --exclu de=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/xeffects /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/port age/xeffects/experimental /usr/local/sci" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl acpi aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount beagle berkdb bitmap-fonts blas bonobo boo bzip2 cairo cdda cddb cdio cdparanoia cdr cgi chm cli corba cracklib crypt cups curl daap dbus devmap dga divx dlloader dmi dri dv dvb dvd dvdr dvi d xr3 dynagraph effects elf emacs emboss encode epiphany esd evo evolution exif expat fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx gal ago gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnome gnuplot gnutls gphoto2 gpm graphviz grass gs gsl gsm gstreamer gtk guile hal hardene d hddtemp hdf hdf5 hlapi iconv icq id3 imagemagick innodb ipv6 isdnlog jabber jbig john jp2 jpeg jpeg2k kexi ladspa lame lapack latex lcms ldap libg++ lib gda libsamplerate lirc lm_sensors lua lzo lzw mad math matroska midi mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mplaye r musicbrainz mysql mysqli nautilus ncurses netcdf network nfs nls nntp nptl nptlonly ntfs numarray numeric ocaml octave odbc ogdi ogg ole opengl pam pcre pdf perl plotutils png posix postgres ppds pppd proj python qhull quicktime readline reflection reiserfs rhythmbox rle rrdcgi rrdtool samba sdl session s lang slp sndfile snmp sox speex spell spl sqlite ssl subtitles svg t1lib tcltk tcpd tetex theora thunderbird tidy tiff tk truetype truetype-fonts type1-fo nts unicode userlocales v4l2 vorbis wmf xattr xemacs xext xine xml xml2 xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="ali5451 als4000 atii xp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-m odem ymfpci" 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" DVB_CARDS="tda1004x saa7134" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfo ntz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" LIRC_DEVICES="hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Run java-check-environment and follow the instructions. *** This bug has been marked as a duplicate of bug 135688 ***
Thanks Jakub, java-check-environment said "Your /usr/bin/fastjar was not able to create a jar file.....If you have had eselect-compiler installed just delete /usr/bin/fastjar." So I deleted /usr/bin/fastjar and I could emerge gjdoc. Juergen