The java and javac binaries that come with the compaq-jdk-1.3.1 give the below error message when you attempt to execute them. I believe that the problem is that my version of glibc is significanly newer than the one used by compaq to build the binaries. Possible solutions include updating the ebuild so that it blocks when attempting to install with a recent version of glibc or try to get binaries compiled against a newer glibc. Reproducible: Always Steps to Reproduce: 1. javac test.java 1. java test Actual Results: Can't load library "/opt/compaq-jdk-1.3.1/jre/lib/alpha/libjava.so", because /opt/compaq-jdk-1.3.1/jre/lib/alpha/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6.1 with link time reference Could not create the Java virtual machine. Expected Results: It should have compiled test.java to produce test.class. Portage 2.0.51.22-r3 (default-linux/alpha/2005.0, gcc-3.3.2, glibc-2.3.4.20041102-r1, 2.6.13.4 alpha) ================================================================= System uname: 2.6.13.4 alpha EV56 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="alpha" AUTOCLEAN="yes" CBUILD="alpha-unknown-linux-gnu" CFLAGS="-mieee -O3 -mcpu=ev4" CHOST="alpha-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mieee -O3 -mcpu=ev4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca/ http://mirror.arcticnetwork.ca/pub/gentoo/ http://adelie.polymtl.ca/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="alpha apache2 arts berkdb bitmap-fonts crypt cups curl eds encode font-server foomatic foomaticdb fortran gd gdbm gif gstreamer gtk2 imlib jabber jpeg libg++ libwww mad mp3 mpeg mysql ncurses nls nptl nptlonly ogg pam pdflib perl png postgres python readline spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL
A workaround was posted to the gentoo-alpha mailing list which seems to work, but it was never integrated into Gentoo itself. See: http://marc.theaimsgroup.com/?l=gentoo-alpha&m=112103704626260&w=2
The fix worked. Thank you!
The ebuild itself should be fixed so reopening.
Created attachment 73161 [details] compaq-jdk ebuild with libcwait workaround for new glibc versions I've tested the ebuild on my system (emerge info above) and it solves the undefined symbol problem. I haven't modified a lot of ebuilds, so any feedback would be appreciated. Thanks!
Created attachment 73162 [details] libcwait fix Attachment #73161 [details] needs this file to be placed in compaq-jdk/files/libcwait.c
the fixed version of this ebuild (#73161) works fine for me, my emerge info: Portage 2.0.54 (default-linux/alpha/2006.0, gcc-3.3.2, glibc-2.3.5-r3, 2.6.15.1 alpha) ================================================================= System uname: 2.6.15.1 alpha EV67 Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 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-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="alpha" AUTOCLEAN="yes" CBUILD="alpha-unknown-linux-gnu" CFLAGS="-mieee -pipe -O2 -mcpu=ev4" CHOST="alpha-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mieee -pipe -O2 -mcpu=ev4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="alpha X alsa apache2 arts audiofile berkdb bitmap-fonts bzip2 crypt cups dri eds encode esd exif expat fam foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 idn imlib ipv6 jpeg kde lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png python quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
The work around doesn't fix all of the problems with compaq-jdk. compaq-{jre,jdk} were masked by YosWinK on 7 July 2006 and the alpha team is in agreement that both will be booted from the tree in the near future. Closing WONTFIX.