checking for readlink... (cached) yes checking for zlib.h... (cached) yes checking for inflate in -lz... (cached) yes configure: Disabling apache module activation checking for python... /usr/bin/python checking for JDK... configure: WARNING: no JNI header files found. no checking for perl... (cached) /usr/bin/perl checking for ruby... /usr/bin/ruby checking for rb_hash_foreach()... yes checking for swig... /usr/bin/swig checking swig version... 1.3.29 configure: WARNING: Detected SWIG version 1.3.29 configure: WARNING: Subversion requires 1.3.24 or later, and is known to work configure: WARNING: with versions up to 1.3.28 configure: Configuring python swig binding checking for Python includes... -I/usr/include/python2.4 checking for compiling Python extensions... i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC checking for linking Python extensions... i686-pc-linux-gnu-gcc -pthread -shared checking for linking Python libraries... checking for apr_int64_t Python/C API format string... L checking perl version... 5008008 configure: Configuring Ruby SWIG binding checking for Ruby include path... -I. -I/usr/lib/ruby/1.8/i686-linux checking how to compile Ruby extensions... i686-pc-linux-gnu-gcc -march=athlon-xp -mfpmath=sse\,387 -O2 -s -pipe -fstack-protector -m3dnow -msse -mmmx -ftracer -fno-strict-aliasing -fPIC $(SWIG_RB_INCLUDES) checking how to link Ruby extensions... i686-pc-linux-gnu-gcc -shrext .so -shared checking where to install Ruby scripts... /usr/lib/ruby/site_ruby/1.8 checking where to install Ruby extensions... /usr/lib/ruby/site_ruby/1.8/i686-linux checking how to use output level for Ruby bindings tests... normal checking for makeinfo... /usr/bin/makeinfo configure: error: Cannot compile JavaHL without a suitable JDK. Please specify a suitable JDK using the --with-jdk option. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/subversion-1.3.2-r1/work/subversion-1.3.2/config.log !!! ERROR: dev-util/subversion-1.3.2-r1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile subversion-1.3.2-r1.ebuild, line 108: Called econf '--with-apr=/usr' '--with-apr-util=/usr' '--with-apxs=/usr/sbin/apxs2' '--enable-javahl' '--without-jikes' '--with-swig' '--with-neon=/usr' '--with-berkeley-db' '--with-zlib' '--with-python' '--enable-nls' '--with-apr=/usr' '--with-apr-util=/usr' '--disable-experimental-libtool' '--disable-mod-activation' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1.1_pre2-r2 (default-linux/x86/2005.1, gcc-4.1.1/hardened, glibc-2.4-r3, 2.6.16-suspend2-r9 i686) ================================================================= System uname: 2.6.16-suspend2-r9 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mfpmath=sse,387 -O2 -s -pipe -fomit-frame-pointer -fstack-protector -m3dnow -msse -mmmx -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -mfpmath=sse,387 -O2 -s -pipe -fstack-protector -m3dnow -msse -mmmx -ftracer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache confcache distlocks fixpackages keepwork metadata-transfer parallel-fetch prelink sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://gentoo.prz.edu.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-Bdirect -s" LINGUAS="pl" MAKEOPTS="-j2 -s" PKGDIR="/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.banned" 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="/usr/local/portage-xgl /usr/local/xgl-coffee /usr/local/portage" SYNC="rsync://gentoo.prz.edu.pl/gentoo-portage" USE="3dnow 3dnowext X Xaw3d adsl alsa apache2 apic apm arts atm avi berkdb bitmap-fonts cairo cdparanoia cdrom cli cmov crypt cups curl cx8 de dhcp divx4linux dlloader dri dv dvd dvdr dvdread dvi eds elibc_glibc emboss encode esd extramodules fam foomaticdb fortran fpu fxsr gdbm gg gif glitz gnome gpm gstreamer gtk gtk2 hal halimlib hardened hddtemp imlib ipv6 irssi isdnlog java jpeg kde kerberos kernel_linux kqemu ldap libg++ libwww linguas_pl lirc mad mca mce mikmod mmx mmx2 mmxext motif mozilla mp3 mpeg mpeg2 mplayer msr mtrr mysql ncurses network nls nptl nptlonly ntfs nvidia ogg oggvorbis opengl opera oss pae pam pat pcre pdf pdflib perl pge pic png ppdsdvdr pppd pse pse36 python qt qt3 qt4 quicktime readline reflection sdl sep serial server session speedup spell spl sse ssl syscall tcpd tiff transcode truetype truetype-fonts tsc type1-fonts usb userland_GNU vme voice vorbis win32codecs wmf wxGTK wxgtk1 x86 xml xml2 xmms xorg xprint xv zlib input_devices_keyboard input_devices_mouse video_cards_nvidia" Unset: CTARGET, INSTALL_MASK
Created attachment 90948 [details] log
*** Bug 139419 has been marked as a duplicate of this bug. ***
USE="-java" emerge dev-util/subversion
Created attachment 91068 [details, diff] fixes the JavaHL compile error by adding the --with-jdk option if needed The patch adds the --with-jdk option set to JDK_HOME environment variable to the econf options-list to tell it where to find the JDK.
I think this wasn't a bug but a pebkac. I had this problem too but solved it with the java upgrade guide. Probably the generation-1 Java stuff wasn't rightly set up..