Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44868 - sun-j2sdk-1.4.2 segfaults on emerge
Summary: sun-j2sdk-1.4.2 segfaults on emerge
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 11:03 UTC by Axel Reimann
Modified: 2004-06-22 09:42 UTC (History)
0 users

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


Attachments
last lines of emerge output (sun-j2sdk.err.txt,34.29 KB, text/plain)
2004-03-16 11:04 UTC, Axel Reimann
Details
hs_err_pid30770.log mentioned in debug output (hs_err_pid30770.log,4.55 KB, text/plain)
2004-03-16 11:08 UTC, Axel Reimann
Details
first couple of lines of emerge output (new_error_heading.txt,8.46 KB, text/plain)
2004-03-18 04:46 UTC, Axel Reimann
Details
last lines of emerge output (containing the actual error message) (new_error.txt,7.24 KB, text/plain)
2004-03-18 04:47 UTC, Axel Reimann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Reimann 2004-03-16 11:03:23 UTC
see attachment

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.4.3.13p1
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.
24-grsec-1.9.13)
=================================================================
System uname: 2.4.24-grsec-1.9.13 i686 AMD Athlon(tm) XP 1800+
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config 
/usr/lib/mozilla/defaults/pref /usr/share/config 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib aavm acl acpi acpi4linux alsa apache2 apm arts artswrappersuid avi 
berkdb cdr cjk crypt cups dga doc dvd encode esd foomaticdb gdbm gif gnome 
gphoto2 gpm gps gtk gtk2 guile hbci imap imlib ipv6 java javascript jpeg kde 
lcms ldap libg++ libwww mad maildir mbox md5sum mikmod mmx motif mozilla mpeg 
mule mysql nas ncurses netcdf nls nvidia oci8 odbc oggvorbis opengl oss pam pda 
pdflib perl pic plotutils png ppds python qt quicktime readline ruby sasl 
scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype trusted 
type1 usb v4l videos wmf x86 xml xml2 xmms xosd xv xvid zlib"
Comment 1 Axel Reimann 2004-03-16 11:04:20 UTC
Created attachment 27479 [details]
last lines of emerge output
Comment 2 Axel Reimann 2004-03-16 11:08:52 UTC
Created attachment 27480 [details]
hs_err_pid30770.log mentioned in debug output
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-03-17 12:23:16 UTC
I can't replicate this and the error output you have attached looks like it is from Blackdown not sun java. I would try unemerging blackdown and then see if you can emerge the sunjdk, although they shouldn't conflict.
Comment 4 Axel Reimann 2004-03-18 01:19:38 UTC
That's what I would like to do, but for some strange reason sun-j2sdk insists 
on having Blackdown-Java installed first (see bug report #44642).
I have just done an 'emerge rsync' and removed blackdown-java to no avail --
the problem persists:

emerge -p sun-j2sdk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N F  ] dev-java/java-sdk-docs-1.4.1
[ebuild  N    ] dev-java/blackdown-jdk-1.4.1
[ebuild  N    ] dev-java/sun-j2sdk-1.4.2
Comment 5 Axel Reimann 2004-03-18 01:22:42 UTC
Even using emerge's --nodeps option fails:

emerge --nodeps sun-j2sdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.2 to /
 * JDK is too old, >= 1.4 is required

!!! ERROR: dev-java/sun-j2sdk-1.4.2 failed.
!!! Function pkg_setup, Line 68, Exitcode 0
!!! The version of jdk pointed to by java-config is not >=1.4

Well, java-config does not report any installed java, as expected:
> java-config -L
> 

Comment 6 Axel Reimann 2004-03-18 04:45:13 UTC
Me again. Sorry for bugging you.
I could circumvent the blackdown dependency by manually
installing sun-jdk before trying to install sun-j2sdk.
I think this is a true weekness of the current sun-j2sdk ebuild.

Well, I still cannot install sun-j2sdk now, but I can offer
a new bunch of error messages (attachments to follow).
Comment 7 Axel Reimann 2004-03-18 04:46:42 UTC
Created attachment 27547 [details]
first couple of lines of emerge output
Comment 8 Axel Reimann 2004-03-18 04:47:31 UTC
Created attachment 27548 [details]
last lines of emerge output (containing the actual error message)
Comment 9 Jochen Maes (RETIRED) gentoo-dev 2004-06-22 09:42:00 UTC
we can't reproduce it...