>>> Compiling source in /var/tmp/portage/dev-java/java-gnome-4.0.7/work/java-gnome-4.0.7 ... equivalence, v0.2 ...configuring Java projects to build and run on Linux & Unix Identify operating system: Gentoo Check for required jar files: - JUnit test framework found Check for required system libraries: - GNOME found Check Java compilers: - Sun javac works - GNU gcj -C (bytecode mode) works - Sun javah found - Sun jar works - Sun javadoc found Check Java virtual machines: - Sun java VM works - GNU gij Use of uninitialized value in scalar chomp at ./configure line 364. Use of uninitialized value in pattern match (m//) at ./configure line 366. can't parse version Check native compiler: - GNU gcc works Can't use GCJ, insufficiently recent version Select compiler: javac Select runtime: java failed C compiler not detected Failed to complete configuration. * * ERROR: dev-java/java-gnome-4.0.7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3716: Called die * The specific snippet of code: * ./configure --prefix=/usr || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-java:java-gnome-4.0.7:20080531-000451.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/java-gnome-4.0.7/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.06" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info contents of /var/tmp/portage/dev-java/java-gnome-4.0.7/work/java-gnome-4.0.7/.config.tmp: # This is an automatically generated Makefile fragment which is used # to configure java-gnome for building. Do not edit (your changes will # be overwritten next time ./configure is run), do not commit to # repository. Anyone packaging java-gnome on any operating system: # please do not override this file by patching it! Figure out what the # problem is, and let us know so we can improve the ./configure perl # script which generates it. OS=gentoo # The lists of jars are colon separated, suitable for being # concatenated into a CLASSPATH JUNIT_JARS=/usr/share/junit/lib/junit.jar # the JAVAC variable contains the path to the java source compiler, # the JAVA variable contains the path to the java runtime virtual # machine. In both cases, the _CMD variable is for the terse output # when make commands are running. JAVAC=/opt/sun-jdk-1.6.0.06/bin/javac -g -source 1.5 -target 1.5 JAVAC_CMD=JAVAC # the JAVAH, JAR, and JAVADOC variables simply contains a usable jar # and javah executable, respectively, while the JAVAH_CMD, JAR_CMD, # and JAVADOC_CMD variables is for display purposes, matching the # pattern above. JAVAH=/opt/sun-jdk-1.6.0.06/bin/javah -jni JAVAH_CMD=JAVAH JAR=/opt/sun-jdk-1.6.0.06/bin/jar JAR_CMD=JAR JAVADOC=/opt/sun-jdk-1.6.0.06/bin/javadoc JAVADOC_CMD=JAVADOC JAVA=/opt/sun-jdk-1.6.0.06/bin/java -client -ea JAVA_CMD=JAVA # the path to the C compiler emerge --info Portage 2.1.5.2 (default-linux/x86/2006.1/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25.4 i686) ================================================================= System uname: 2.6.25.4 i686 Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz Timestamp of tree: Fri, 30 May 2008 21:01:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r3 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe" 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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=i686 -O2 -pipe" DISTDIR="/usr/local/temp-gentoo-distfiles" FEATURES="collision-protect distcc distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.netnitco.net" LDFLAGS="" MAKEOPTS="-j4" PKGDIR="/mnt/aconite-gentoo-packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://aconite/gentoo-portage" USE="X Xaw3d a52 aac aalib acpi alsa apache2 audiofile avahi berkdb blas bzip2 cairo cdr cjk cli cracklib crypt cups curl dbus dga dri dts dv dvb dvd dvdr emboss encode esd exif expat f77 faad fam fbcon ffmpeg fftw firefox flac fortran gcj gd gdbm gif ginac glut gmp gnome gnome-keyring gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog jack java jpeg lapack latex lcms leim libcaca libnotify libsamplerate lirc live mad matroska midi mikmod mmap mmx mng mono mozilla mp3 mpeg mudflap mysql nas ncurses networkmanager nls nptl nptlonly objc offensive ogg openal opengl openmp oss pam pcmcia pcre pdf perl plotutils png ppds pppd pulseaudio python qhull qt3 quicktime radeon readline reflection rtc samba scanner sdk sdl session slang sndfile speex spell spl sqlite sse ssl startup-notification svg tcl tcltk tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis win32codecs wmf wxwindows x264 x86 xinerama xml xorg xosd xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="realmagic" USERLAND="GNU" VIDEO_CARDS="i810 fbdev mach64 radeon v4l vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Huh. I guess the presence of GCJ is screwing things up, but I thought we'd purged all references to that. Weird. I'll have a glance and see if I can figure it out later this week. It shouldn't be too hard to figure out the patch to make it work so you can do a -r1, but since we don't use GCJ or have it installed, this is Works For Me™ otherwise and not something I can actually test. AfC Sydney
So what does $ `which gij` -version output on your machine? As for why that is screwing up the C compiler detection, I'm not really sure. AfC
Hmmm looks like gij is some old crud in /usr/bin/ on my systems (from 2004ish gcc-config looks like). I'm cleaning it up, then I'll try java-gnome again but this is looking like a local problem. Will report back later.
Ok, last comment was not the problem (although it was unrelated mess ;-) The issue seems to be that the configure script gets confused by distcc. If I stop using distcc (from /etc/make.conf), I get further in the build process. So the first thing is the configure script doesn't work with distcc. In retrospect this is not surprising given this: # Workaround ccache needing to be symlinked as gcc # to perform _as_ gcc. Gentoo bug #180353 if (basename($gcc_candidate) eq "ccache") { $gcc_candidate = `which gcc`; } Its still not building but I'll file another bug to keep one issue per bug.
this version is not in tree anymore. if the problem still persists with current versions, please reopen.