Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148004 - antlr 2.7.5 fails in configure: Unable to set BOOTCLASSPATH - there is no rt.jar around
Summary: antlr 2.7.5 fails in configure: Unable to set BOOTCLASSPATH - there is no rt....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 19:00 UTC by Donnie Berkholz (RETIRED)
Modified: 2006-09-22 22:39 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,7.82 KB, text/plain)
2006-09-17 19:11 UTC, Donnie Berkholz (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donnie Berkholz (RETIRED) gentoo-dev 2006-09-17 19:00:44 UTC
I'm using kaffe 1.1.7-r1 for java. It pulls in antlr, but that fails.

>>> Emerging (1 of 2) dev-java/antlr-2.7.5-r2 to /
 * antlr-2.7.5.tar.gz MD5 ;-) ...                                         [ ok ] * antlr-2.7.5.tar.gz RMD160 ;-) ...                                      [ ok ] * antlr-2.7.5.tar.gz SHA1 ;-) ...                                        [ ok ] * antlr-2.7.5.tar.gz SHA256 ;-) ...                                      [ ok ] * antlr-2.7.5.tar.gz size ;-) ...                                        [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking antlr-2.7.5.tar.gz ;-) ...                                    [ ok ] * Using Generation-1 System VM: kaffe
>>> Unpacking source...
>>> Unpacking antlr-2.7.5.tar.gz to /var/tmp/portage/antlr-2.7.5-r2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5 ...
 * Using GNU config files from /usr/share/libtool
 *   Updating scripts/config.sub                                          [ ok ] *   Updating scripts/config.guess                                        [ ok ] * econf: updating antlr-2.7.5/scripts/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating antlr-2.7.5/scripts/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-python --enable-csharp --disable-debug --disable-examples --enable-cxx --enable-java --enable-verbose --build=powerpc-unknown-linux-gnu
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking whether this is Cygwin... no
checking whether this is MinGW... no
checking for cygpath... no
checking for make... /usr/bin/make
checking for gmake... /usr/bin/gmake
checking for gnumake... no
checking for /bin/make... no
checking for /usr/bin/make... yes
checking whether /usr/bin/make is GNU make... yes
checking for make... /usr/bin/make
checking for /opt/kaffe-1.1.7/bin/java... yes
checking for /opt/kaffe-1.1.7/bin/javac... yes
checking for jar... /usr/bin/jar
checking for jar... /opt/kaffe-1.1.7/bin/jar
configure: error: Unable to set BOOTCLASSPATH - there is no rt.jar around.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5/config.log

!!! ERROR: dev-java/antlr-2.7.5-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  antlr-2.7.5-r2.ebuild, line 40:   Called econf '--enable-python' '--enable-csharp' '--disable-debug' '--disable-examples' '--enable-cxx' '--enable-java' '--enable-verbose'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


donnie@comet ~ $ /usr/bin/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 http://www.gentoo.org/proj/en/java/java-upgrade.xml for details

 * Checking vm_environment_files ...                                      [ ok ]
 * Checking user_settings ...                                             [ ok ]
 * Checking generation_1_system_vm ...                                    [ ok ]
 * Checking virtual_provides ...                                          [ ok ]
 * Checking overlays_eclasses ...                                         [ ok ]
 * Java environment is sane. Congratulations!


config.log didn't appear to contain anything useful.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-17 19:01:17 UTC
donnie@comet ~ $ emerge --info
Portage 2.1.2_pre1 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.18-rc7 ppc)
=================================================================
System uname: 2.6.18-rc7 ppc 7447A, altivec supported
Gentoo Base System version 1.12.5
Last Sync: Sat, 16 Sep 2006 20:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -g -w"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -g -w"DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://supernova http://gentoo.osuosl.org"
LC_ALL="en_US.utf8"
LINGUAS="en en_US"
MAKEOPTS="-j2"
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"
SYNC="rsync://supernova/gentoo-portage"
USE="ppc X a52 aac aio alsa altivec amr apm arts asf async audiofile automount avahi bash-completion beagle bitmap-fonts blas bonjour bonobo boost branding browserplugin bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection crypt cups curl custom-cflags custom-flags daap dbus dga djvu dlloader dri dv dvb dvd dvdread dynamic eds effects elibc_glibc emboss encode esd evo exif expat fam ffmpeg fftw firefox flac fontconfig fortran ft gd gdbm gdl gecko-sdk gif gimp gimpprint glitz gmp gnome gnutls gpg2-experimental gphoto2 gs gsl gstreamer gstreamer010 gtk gtkhtml gzip hal howl howl-compat ibam ieee1394 imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog ithreads jack java javascript jpeg kdehiddenvisibility kdrive kernel_linux ladspa lame lapack lcms libg++ libnotify libvisual libwww linguas_en linguas_en_US linuxthreads-tls logrotate lzo mad matroska mdnsresponder-compat mikmod mmap mono mopac7 moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpqc msn mudflap muine multiuser musicbrainz mysql nautilus ncurses new-login no-old-linux nptl nptlonly nsplugin numeric offensive ofx ogg oggvorbis ole openal openbabel opengl oss pam pccts pci pcre pdf pdflib perl plotutils plugin png portaudio ppcsha1 ppds pppd print pymol python pyzor qt3 qt4 quicktime razor readline reflection rtc rtsp ruby samba scanner screen sdl session sheep shout smime sndfile soundtouch sox speex spell spl ssl startup-notification stream svg swat syslog szip tagwriting theora threads threadsonly tiff tools totem truetype truetype-fonts type1-fonts udev unicode upnp usb userland_GNU userlocales v4l video_cards_fbdev video_cards_r300 video_cards_radeon vidix vlm vnc vorbis vorbis-psy webdav winbind wmf wxwindows xanim xcb xine xml xml2 xorg xosd xpm xv xvid yv12 zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-09-17 19:02:30 UTC
Please include the config.log.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-17 19:11:33 UTC
Created attachment 97299 [details]
config.log

Have fun.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-09-18 05:57:02 UTC
One workaround should be to use a different VM than kaffe.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-18 06:14:04 UTC
Is there any other open-source one?
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2006-09-18 21:02:10 UTC
(In reply to comment #5)
> Is there any other open-source one?
> 

Not really, not that get recognized by java-config. It is worth noting sun-jdk-1.5 is at least freely downloadable.
Comment 7 Dalibor Topic 2006-09-19 03:44:11 UTC
Ouch. 

Is there a file /opt/kaffe-1.1.7/jre/lib/rt.jar? It should be a symlink to the glibj.zip in the same directory.
Comment 8 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-09-19 03:48:37 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Is there any other open-source one?
> Not really, not that get recognized by java-config. It is worth noting
> sun-jdk-1.5 is at least freely downloadable.

As it's:

Portage 2.1.2_pre1 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.4-r3,
2.6.18-rc7 ppc)

ibm-jdk-bin is best choice - but not free.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-19 08:11:56 UTC
(In reply to comment #7)
> Ouch. 
> 
> Is there a file /opt/kaffe-1.1.7/jre/lib/rt.jar? It should be a symlink to the
> glibj.zip in the same directory.

No. But if I manually create that symlink, it works great.
Comment 10 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-19 08:58:54 UTC
Seems make install doesn't create the symlink. But it probably was at some poing, the kaffe's env file sets BOOTCLASSPATH to rt.jar.
Comment 11 Josh Nichols (RETIRED) gentoo-dev 2006-09-22 22:39:20 UTC
I added a fix in 1.1.7-r3 which makes this symlink for you. Thanks for reporting.