emerge -pv gnome-speech [ebuild N ] app-accessibility/gnome-speech-0.4.25 USE="espeak -debug -festival -freetts" 0 kB according to the ebuild, it shouldn't even try to build java stuff withoutthe freetts USE flag. Unfortunately this is not the case at all. See the build.log.
Created attachment 198455 [details] build.log
[I] dev-java/sun-jre-bin Available versions: (1.4) *1.4.2.19!f!s (1.5) 1.5.0.18!s (~)1.5.0.19!s (1.6) 1.6.0.13!s (~)1.6.0.14!s {X alsa nsplugin odbc} Installed versions: 1.6.0.14(1.6)!s(00:53:32 11/06/2009)(X alsa nsplugin -odbc) Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 17 Jul 2009 10:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -ftree-vectorize -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -ftree-vectorize -pipe -g" DISTDIR="/var/tmp/distfiles" FEATURES="ccache distcc distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu" LINGUAS="en fr ja zh zh_CN" MAKEOPTS="-j4" PKGDIR="/var/tmp/packages" PORTAGE_CONFIGROOT="/" 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/layman/graaff /usr/local/portage/layman/gentopia /usr/local/portage/layman/voip /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/x11 /home/eva/devel/overlays/gentoo-misc /home/eva/devel/overlays/gnome" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 applet asyncns avahi avi bash-completion bluetooth bzip2 cairo cdr cjk cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread eds epiphany evo ffmpeg flac galago gedit glade glitz gmp gnome gnome-keyring gnutls gpm gstreamer hal iconv ipv6 isdnlog jpeg laptop ldap libnotify lirc mad matroska midi mmx mp3 mpeg mudflap multilib nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin ntpl ogg openct opengl openmp pam pcre pdf perl png pppd python readline reflection session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads unicode v4l v4l2 vim-syntax vorbis x264 xattr xcb xinerama xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="dav dav_fs authn_file auth_digest authz_groupfile authz_host dir mime" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LINGUAS="en fr ja zh zh_CN" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Almost same here: x86_64-pc-linux-gnu-gcc -shared .libs/GNOME_Speech-imodule.o -Wl,--as-needed /usr/lib64/libORBit-2.so -L/usr/lib64 /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -march=core2 -msse4.1 -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu -pthread -Wl,-soname -Wl,GNOME_Speech_module.so -o .libs/GNOME_Speech_module.so creating GNOME_Speech_module.la (cd .libs && rm -f GNOME_Speech_module.la && ln -s ../GNOME_Speech_module.la GNOME_Speech_module.la) x86_64-pc-linux-gnu-gcc -shared .libs/GNOME_Speech-stubs.o .libs/GNOME_Speech-skels.o .libs/GNOME_Speech-common.o .libs/speaker.o -Wl,--as-needed /usr/lib64/libbonobo-2.so -L/usr/lib64 /usr/lib64/libbonobo-activation.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -march=core2 -msse4.1 -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu -pthread -Wl,-soname -Wl,libgnomespeech.so.7 -o .libs/libgnomespeech.so.7.0.1 (cd .libs && rm -f libgnomespeech.so.7 && ln -s libgnomespeech.so.7.0.1 libgnomespeech.so.7) (cd .libs && rm -f libgnomespeech.so && ln -s libgnomespeech.so.7.0.1 libgnomespeech.so) creating libgnomespeech.la (cd .libs && rm -f libgnomespeech.la && ln -s ../libgnomespeech.la libgnomespeech.la) make[3]: Leaving directory `/var/tmp/portage/app-accessibility/gnome-speech-0.4.25/work/gnome-speech-0.4.25/gnome-speech' make[2]: Leaving directory `/var/tmp/portage/app-accessibility/gnome-speech-0.4.25/work/gnome-speech-0.4.25/gnome-speech' Making all in java make[2]: Entering directory `/var/tmp/portage/app-accessibility/gnome-speech-0.4.25/work/gnome-speech-0.4.25/java' /usr/bin/idlj \ -emitAll -i /usr/share/idl/bonobo-activation-2.0 -i ../idl \ -pkgPrefix GNOME org \ -pkgPrefix Bonobo org.GNOME \ -fallTie ../idl/GNOME_Speech_SynthesisDriver.idl basename: missing operand Try `basename --help' for more information. * Home for VM '' does not exist: * Invalid System VM: make[2]: *** [org/GNOME/Speech/*.java] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-accessibility/gnome-speech-0.4.25/work/gnome-speech-0.4.25/java' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-accessibility/gnome-speech-0.4.25/work/gnome-speech-0.4.25' make: *** [all] Error 2 * * ERROR: app-accessibility/gnome-speech-0.4.25 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4563: Called gnome2_src_compile * environment, line 2568: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * 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/app-accessibility/gnome-speech-0.4.25/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-accessibility/gnome-speech-0.4.25/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info >>> Failed to emerge app-accessibility/gnome-speech-0.4.25, Log file: >>> '/var/tmp/portage/app-accessibility/gnome-speech-0.4.25/temp/build.log' * Messages for package app-accessibility/gnome-speech-0.4.25: * * ERROR: app-accessibility/gnome-speech-0.4.25 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4563: Called gnome2_src_compile * environment, line 2568: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure
And I have: java-check-environment * === Java Environment Checker === * The purpose of this script is to check the sanity of your Java Environment. * We have significantly changed and improved the way Java is handled in many * respects. * Please refer to our upgrade guide for details: * http://www.gentoo.org/proj/en/java/java-upgrade.xml * Checking fastjar... [ ok ] * Checking vm_environment_files... [ ok ] * Checking user_settings... * Running as root. Don't need to check user settings. [ ok ] * Checking generation_1_system_vm... [ ok ] * Checking java_config_1... [ ok ] * Checking global_classpath... [ ok ] * Checking virtual_provides... [ ok ] * Checking overlays_eclasses... [ ok ] * Checking package_env... grep: /usr/share/*/package.env: Nie ma takiego pliku ani katalogu grep: /usr/share/*/package.env: Nie ma takiego pliku ani katalogu [ ok ] * Checking proc_mounted... [ ok ] * Java environment is sane. Congratulations!
Sorry for spam, but I solved my problem with eselecting system java-vm again. Compiled OK :)
Could you explain your solution ? What was the vm before, and what do you have set now ? What arch are you on ?
This is still valid, but I have seen that other distributions are disabling java support completely... not sure if that support is needed by anything in the tree :-|
Gilles, what do you think about disabling java support as openbsd does: http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/gnome/speech/patches/patch-configure?rev=1.5;content-type=text/plain
+*gnome-speech-0.4.25-r1 (05 Jun 2011) + + 05 Jun 2011; Pacho Ramos <pacho@gentoo.org> +gnome-speech-0.4.25-r1.ebuild, + +files/gnome-speech-0.4.25-disable-java.patch: + Drop java support as configure is completly broken and makes that support + automagic (bug #188136), also, looks like nothing in the tree needs that + support and other distributions are already suppling this without java + support for a long time. +