Hello everyone! Since I am about to switch my system I am now about to compile ell the stuff with i686 compatible optimizations. While doing the emerge -e world I was not able to compile gjdoc. When you look at my CFLAGS, don't be afraid that they might break stuff, a friend did try to do en emerge -1 gjdoc on his amd64 with proper optimizations for his sys and he has exactly the same probs. I did the last emerge -e world about 3 weeks ago with the old optimizations (and an older kernel) and at that time it did work nicely, too. Due to this I am sure that switching to the "new" java system did work nicely, too. Now here is my data: output of compiling: 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.7.jar -C classes com/sun/javadoc gcc-config error: fastjar wrapper: Unable to determine executable. CTARGET=i686-pc-linux-gnu exec=fastjar make: *** [com-sun-javadoc-0.7.7.jar] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-java/gjdoc-0.7.7-r1 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile gjdoc-0.7.7-r1.ebuild, line 46: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info COMPLETE paste with configure: http://rafb.net/paste/results/tD9NCv49.html emerge --info Portage 2.1.2_rc1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-rc3 i686) ================================================================= System uname: 2.6.19-rc3 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.6 Last Sync: Thu, 02 Nov 2006 19:30:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -msse2 -pipe -O2" CHOST="i686-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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=i686 -msse2 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE.utf8" LINGUAS="de" 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="/portage-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi aiglx alsa apm arts bash-completion bitmap-fonts bzip2 cdinstall cdr cli cracklib crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread elibc_glibc encode ffmpeg firefox fortran ftp gdbm gpm gtk gtk2 hal iconv icq imagemagick input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg kde kdeenablefinal kernel_linux libg++ linguas_de lm_sensors matroska mmx mp3 mpeg ncurses nls no-seamonkey nocd nptl nptlonly nsplugin ogg opengl pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline recode reflection samba scanner sdl session spell spl sse sse2 ssl svg theora truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_r300 video_cards_radeon video_cards_vesa videos vorbis win32codecs wxwindows xcomposite xine xinerama xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS I hope you either know a way to get rid of that package or a "real" fix for the problem.
Please, re-run gcc-config to set your current stable version and try again (you had eselect-compiler installed at some point?)
I did not have eselect-compiler in my system. I only have only one version of gcc installed for a long time already. When migrating to gcc4 I did just follow the migration guide and afterwards I did completely remove the old gcc3 stuff. As prove, here is the output of gcc-config: gcc-config --list-profiles [1] i686-pc-linux-gnu-4.1.1 * The error when doing an emerge -1 gjdoc is still the same. I did now try a workaround by setting the useflag -java for libidn and recompiling this package. This does remove the dependency on gjdoc. Though it would be nice to know why gjdoc does not build on my system (and the amd64 system of my friend).
I didn't mean to run --list-profiles, I meant you should run gcc-config 1 and see if it creates the needed symlinks. If not, then reopen this bug.
Still the same problem. gcc-config 1 * Switching native-compiler to i686-pc-linux-gnu-4.1.1 ... [ ok ] No new symlinks created, nothing.
> > > I hope you either know a way to get rid of that package or a "real" fix for the > problem. > I am quite sure that you are affected by bug 135688. Just do which fastjar and then qfile on that. If it does not belong to any package just remove the file and you should be able to compile gjdoc just fine. If that is not the case, just reopen this bug. *** This bug has been marked as a duplicate of 135688 ***