Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141465 - subversion-1.3.2-r1 fails to build due to no JDK found when configuring JavaHL
Summary: subversion-1.3.2-r1 fails to build due to no JDK found when configuring JavaHL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-22 21:45 UTC by Nathan Sullivan
Modified: 2006-07-24 08:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log from building subversion-1.3.2-r1 (config.log,49.64 KB, text/plain)
2006-07-22 21:47 UTC, Nathan Sullivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Sullivan 2006-07-22 21:45:24 UTC
subversion-1.3.2 fails to find a JDK to use during compile time...im guessing this is something relating to the java rollup/new java-config setup recently pushed through portage?

..............................
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 -O2 -march=pentium3 -pipe -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.
Comment 1 Nathan Sullivan 2006-07-22 21:46:47 UTC
whoops im building -r1 here...
Comment 2 Nathan Sullivan 2006-07-22 21:47:51 UTC
Created attachment 92532 [details]
config.log from building subversion-1.3.2-r1
Comment 3 Nathan Sullivan 2006-07-22 21:49:16 UTC
whoops and this...

Portage 2.1.1_pre3-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-ck11 i686)
=================================================================
System uname: 2.6.16-ck11 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
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
sys-devel/binutils:  2.17
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="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j7"
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="/usr/local/portage-overlays/testing /usr/local/portage-overlays/mozilla-firefox"
SYNC="rsync://10.100.10.1/gentoo-portage"
USE="X aac acpi aim alsa apm audiofile avi bash-completion berkdb big-tables bitmap-fonts bzip2 cairo canvas cdr cli cpdflib crypt cups curl dba debug divx4linux dlloader dri dvb dvd dvdr emboss encode ethereal exif extraengine fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint glut gmp gnutls gpm gtk gtk2 icq idn imap imlib innodb ipv6 isdnlog jabber java jpeg kerberos lcms ldap libcaca libg++ libwww logrotate mad mhash mikmod mmx mng mono motif mozsvg mp3 mpeg mppe-mppc msn mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcntl pcre pdf pdflib pear perl php png posix pppd python quicktime readline real reflection ruby samba sdl session slang snmp soap sockets sox spell spl sqlite sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userlocales utf8 vorbis wddx win32codecs x86 xine xinerama xml xml2 xmlrpc xorg xosd xprint xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

nsys-homedesktop1-gt nathan # eix java-config
* dev-java/java-config 
     Available versions:  1.2.11-r1 1.3.0-r2 2.0.26-r4
     Installed:           1.3.0-r2 2.0.26-r4
     Homepage:            http://www.gentoo.org/proj/en/java/
     Description:         Java environment configuration tool

* dev-java/java-config-wrapper 
     Available versions:  0.10-r1
     Installed:           0.10-r1
     Homepage:            http://www.gentoo.org/proj/en/java
     Description:         Wrapper for java-config
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-07-23 17:30:26 UTC
Could you try changing the line

	use java && myconf="${myconf} --without-jikes"
t
	use java && myconf="${myconf} --without-jikes --with-jdk=${JAVA_HOME}"

And see if that makes a difference?
Comment 5 Nathan Sullivan 2006-07-24 03:48:28 UTC
same error here...
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2006-07-24 08:09:58 UTC
Fixed with 1.3.2-r3.