atom feed8 messages in org.freebsd.freebsd-emulationFurther info on jdk14 problem
FromSent OnAttachments
Bill VermillionJun 10, 2004 1:13 am 
John E HeinJun 10, 2004 3:36 pm 
Bill VermillionJun 10, 2004 3:49 pm 
John E HeinJun 10, 2004 4:05 pm 
Bill VermillionJun 10, 2004 4:31 pm 
John E HeinJun 10, 2004 4:54 pm 
Bill VermillionJun 10, 2004 6:36 pm 
John E HeinJun 10, 2004 6:51 pm 
Subject:Further info on jdk14 problem
From:John E Hein (jhe@timing.com)
Date:Jun 10, 2004 4:05:22 pm
List:org.freebsd.freebsd-emulation

Bill Vermillion wrote at 11:48 -0400 on Jun 10, 2004:

Did you have a working javac before you built it on the 4.10. My rear of the docs is that the linux-sun-jdk is used only if you don't have a working port.

No, there was no javac or anything java-esque on the system to begin with. As I said yesterday, I built the linux-sun-jdk in order to bootstrap the build for the native jdk.

A grep on linux of pkg_info yields this:

linux-ibm-jdk-1.4.1_2 IBM Java Development Kit 1.4.1 for Linux linux_base-7.1_5 The base set of packages needed in Linux mode linuxdoc-1.1_1 The Linuxdoc SGML DTD sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc The linux-ibm-jdk was installed when I tried to see if there was a problem with the sun-linux .

According to CVS, it looks like glibc changed between linux_base-7.1_5 & 7.1_7. As did XFree86-libs. And a few other minor issues.

I just ran with the -dl and get this. [Just the last few very long lines]

===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 -
found true if [ -f /usr/ports/java/linux-sun-jdk14/scripts/pre-extract ]; then cd
/usr/ports/java/linux-sun-jdk14 && /usr/bin/env PORTOBJFORMAT=elf
BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555"
BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555"
BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install
-c -o root -g wheel -m 444" CURDIR=/usr/ports/java/linux-sun-jdk14
DISTDIR=/usr/ports/distfiles WRKDIR=/usr/ports/java/linux-sun-jdk14/work
WRKSRC=/usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_04
PATCHDIR=/usr/ports/java/linux-sun-jdk14/files
SCRIPTDIR=/usr/ports/java/linux-sun-jdk14/scripts
FILESDIR=/usr/ports/java/linux-sun-jdk14/files PORTSDIR=/usr/ports DEPENDS=""
PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 /bin/sh
/usr/ports/java/linux-sun-jdk14/scripts/pre-extract; fi /bin/mkdir -p /usr/ports/java/linux-sun-jdk14/work cd /usr/ports/java/linux-sun-jdk14/work && /usr/bin/tail -n 136192
/usr/ports/distfiles/j2sdk-1_4_2_04-linux-i586.bin >
/usr/ports/java/linux-sun-jdk14/work/install.sfx && /bin/chmod +x
/usr/ports/java/linux-sun-jdk14/work/install.sfx &&
/usr/ports/java/linux-sun-jdk14/work/install.sfx > /dev/null Bad system call (core dumped)

So did you ktrace that last bit (probably the install.sfx is a linux app... use file to tell)?