if gtk use flag is disabled kaffe-1.7.7 fails with this error (tested on alpha and x86 without gtk libraries installed): checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for X... no configure: error: GTK+ peers requested but no X library available configure: error: /bin/sh './configure' failed for libraries/javalib/external/classpath !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/kaffe-1.1.7/work/kaffe-1.1.7/config.log !!! ERROR: dev-java/kaffe-1.1.7 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile kaffe-1.1.7.ebuild, line 88: Called econf '--disable-dependency-tracking' '--prefix=/opt/kaffe-1.1.7' '--host=alpha-unknown-linux-gnu' '--without-alsa' '--without-esd' '--without-gmp' '--enable-nls' '--without-classpath-gtk-awt' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. This line should be add to econf to get it working. $(use_enable gtk gtk-peer)
Upon further inspection, it looks like there is $(use_with gtk classpath-gtk-awt) passed to econf, but it is no longer recognized by configure. Removed it in favor of $(use_enable gtk gtk-peer. Thanks for reporting!