Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145632 - dev-java/jessie-1.0.0-r1 fails to emerge
Summary: dev-java/jessie-1.0.0-r1 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 11:46 UTC by f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Modified: 2006-09-04 10:10 UTC (History)
1 user (show)

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


Attachments
Config.log when failing (config.log,6.96 KB, text/plain)
2006-09-03 16:42 UTC, TheOmega
Details

Note You need to log in before you can comment on or make changes to this bug.
Description f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2006-08-30 11:46:22 UTC
therion jessie # emerge jessie
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-java/jessie-1.0.0-r1 to /
 * jessie-1.0.0.tar.gz MD5 ;-) ...                                                                                                                  [ ok ]
 * jessie-1.0.0.tar.gz RMD160 ;-) ...                                                                                                               [ ok ]
 * jessie-1.0.0.tar.gz SHA1 ;-) ...                                                                                                                 [ ok ]
 * jessie-1.0.0.tar.gz SHA256 ;-) ...                                                                                                               [ ok ]
 * jessie-1.0.0.tar.gz size ;-) ...                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                              [ ok ]
 * checking jessie-1.0.0.tar.gz ;-) ...                                                                                                             [ ok ]
 * Using Generation-1 System VM: sun-jdk-1.4                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking jessie-1.0.0.tar.gz to /var/tmp/portage/jessie-1.0.0-r1/work
 * Applying jessie-1.0.0-javadoc.patch ...                                                                                                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/jessie-1.0.0-r1/work/jessie-1.0.0 ...
 * econf: updating jessie-1.0.0/gcj/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating jessie-1.0.0/gcj/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating jessie-1.0.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating jessie-1.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-java-target=1.4 --disable-awt --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if /etc/java-config-2/current-system-vm/bin/javac works... yes
checking for jar... jar
You have CLASSPATH .:/usr/share/gnu-crypto/lib/javax-security.jar:/usr/share/gnu-crypto/lib/gnu-crypto.jar:/usr/share/gnu-crypto/lib/javax-crypto.jar:, hope it is correct
checking for kaffe... no
checking for java... java
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if java works... configure: error: The Java VM java failed (see config.log, check the CLASSPATH?)

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

!!! ERROR: dev-java/jessie-1.0.0-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  jessie-1.0.0-r1.ebuild, line 39:   Called econf '--with-java-target=1.4' '--disable-awt'
  ebuild.sh, line 539:   Called die

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


therion jessie # emerge --info
Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.4
Last Sync: Tue, 29 Aug 2006 14:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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: 1.3.13-r3
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=athlon-xp -mtune=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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 /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext X Xaw3d a52 aac aalib acpi alsa apache2 apm arts asf audiofile avi bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 bzlib c++ cdb cdio cdparanoia cdr cdrom chroot cjk cli codecs cpudetection crypt css ctype cups curl dba dbus dga dhcp dio directfb divx4linux dlloader dri dts dvd dvdr dvdread ecc eds elibc_glibc emacs emboss encode erandom esd exif expati exscalibar faac faad fam fb fbcon fbdev ffmpeg flac font-server foomaticdb fortran freetds freetype gd gdbm gif glitz gmp gpm graphviz gstreamer gtk gtk2 hal iconv imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg jpeg2k junit kde kdehiddenvisibility kernel_linux kipi libcaca libg++ libwww linguas_de logitech-mouse mad matroska mhash mikmod mime mjpegmpeg mmx mmxext mng motif mp3 mpeg mpeg4 mplayer mpm-worker musicbrainz mysql ncurses network nls no-seamonkey nptl nptlonly nsplugin nvidia odbc ogg opengl oscar oss pam pcre pdf pdflib perl php pic pie png postgres pppd python qt3 qt4 quicktime rar readline real reflection rtc sasl sdl session slang slq speex spell spl sqlite sse ssl stencil-buffer subversion svg svga sysfs tcpd tetex tga theora threads tidy tiff toolbari truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU userlocales video_cards_fbdev video_cards_nvidia video_cards_vesa vidix vim-with-x visualization vorbis win32codecs winbind wxgtk1 wxwindows xine xml xml2 xorg xsl xslt xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2006-08-30 11:48:00 UTC
easy fix:

--- jessie-1.0.0-r1.ebuild      2006-08-30 20:45:18.000000000 +0200
+++ jessie-1.0.0-r2.ebuild      2006-08-30 20:47:06.000000000 +0200
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-java/jessie/jessie-1.0.0-r1.ebuild,v 1.1 2006/01/06 18:15:03 betelgeuse Exp $

-inherit java-pkg eutils
+inherit java-pkg-2 eutils

 DESCRIPTION="Free JSSE implementation"
 HOMEPAGE="http://www.nongnu.org/jessie"
Comment 2 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2006-08-30 11:51:57 UTC
correcting myself, with that fix it gets alot further, but fails at:

CLASSPATH=:/usr/share/gnu-crypto/lib/javax-security.jar:/usr/share/gnu-crypto/lib/gnu-crypto.jar:/usr/share/gnu-crypto/lib/javax-crypto.jar:classes /opt/sun-jdk-1.5.0.08/bin/javac -source 1.4 -target 1.4 -d classes ./org/metastatic/jessie/provider/GNUSecurityParameters.java
CLASSPATH=:/usr/share/gnu-crypto/lib/javax-security.jar:/usr/share/gnu-crypto/lib/gnu-crypto.jar:/usr/share/gnu-crypto/lib/javax-crypto.jar:classes /opt/sun-jdk-1.5.0.08/bin/javac -source 1.4 -target 1.4 -d classes ./org/metastatic/jessie/provider/Session.java ./org/metastatic/jessie/provider/SessionContext.java
./org/metastatic/jessie/provider/Session.java:72: org.metastatic.jessie.provider.Session is not abstract and does not override abstract method getApplicationBufferSize() in javax.net.ssl.SSLSession
final class Session implements SSLSession
      ^
1 error
make[1]: *** [classes/org/metastatic/jessie/provider/Session$ID.class] Error 1
make[1]: Leaving directory `/var/tmp/portage/jessie-1.0.0-r1/work/jessie-1.0.0'
make: *** [all-recursive] Error 1

!!! ERROR: dev-java/jessie-1.0.0-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  jessie-1.0.0-r1.ebuild, line 40:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
Comment 3 TheOmega 2006-09-03 16:40:58 UTC
Got the same problem:
==========================
>>> Emerging (1 of 21) dev-java/jessie-1.0.0-r1 to /
 * jessie-1.0.0.tar.gz MD5 ;-) ...                                                                                                                         [ ok ]
 * jessie-1.0.0.tar.gz size ;-) ...                                                                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                     [ ok ]
 * checking jessie-1.0.0.tar.gz ;-) ...                                                                                                                    [ ok ]
 * Using Generation-1 System VM: sun-jdk-1.4
>>> Unpacking source...
>>> Unpacking jessie-1.0.0.tar.gz to /var/tmp/portage/jessie-1.0.0-r1/work
 * Applying jessie-1.0.0-javadoc.patch ...                                                                                                                 [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/jessie-1.0.0-r1/work/jessie-1.0.0 ...
 * econf: updating jessie-1.0.0/gcj/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating jessie-1.0.0/gcj/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating jessie-1.0.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating jessie-1.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-java-target=1.4 --disable-awt --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if /etc/java-config-2/current-system-vm/bin/javac works... yes
checking for jar... jar
You have CLASSPATH .:/usr/share/gnu-crypto/lib/javax-security.jar:/usr/share/gnu-crypto/lib/gnu-crypto.jar:/usr/share/gnu-crypto/lib/javax-crypto.jar:, hope it is correct
checking for kaffe... no
checking for java... java
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if java works... configure: error: The Java VM java failed (see config.log, check the CLASSPATH?)

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

!!! ERROR: dev-java/jessie-1.0.0-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  jessie-1.0.0-r1.ebuild, line 39:   Called econf '--with-java-target=1.4' '--disable-awt'
  ebuild.sh, line 539:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
=======================0
emerge --info:
====================
Portage 2.1.1_rc1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.4
Last Sync: Sat, 02 Sep 2006 13:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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: 1.3.13-r3
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 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS=""
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://rsync.de.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
====================

I'll atach the config.log

Comment 4 TheOmega 2006-09-03 16:42:06 UTC
Created attachment 95896 [details]
Config.log when failing
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2006-09-03 17:23:23 UTC
Committed a fix to java-pkg.eclass which should address this. Give it a few hours to hit your local sync.

Basically, it now sets JAVAC to be the right javac for the generation-1 system vm.

Please verify this fixes the problem
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2006-09-03 17:59:47 UTC
Was able to reproduce original bug, and the committed change does fix it. Marking as fixed. Thanks for reporting!
Comment 7 TheOmega 2006-09-04 10:10:30 UTC
Confirmed, is fixed now, thanks for the fast fix!