Further info on jdk14 problem
Bill Vermillion
bv at wjv.com
Thu Jun 10 15:49:40 GMT 2004
It's Thu, Jun 10, 2004 at 09:36 . I'm in a small dim room with
doors labeled "Dungeon" and "Forbidden". There is noise, the door
marked Dungeon flies open and John E Hein SHOUTS:
> Bill Vermillion wrote at 21:13 -0400 on Jun 9, 2004:
> > Looking at the docs I see that a valid javac needs to be installed.
> > The linux-sun was giving 'bad system call' on my 4.10.
> >
> > So I decided to try to put in another javac to see if there would
> > be a difference.
>
> > I installed the linux-ibm-jdk1.4.1, and set the appropriate
> > variables, and in the end I get the same 'bad system call'
> > Snipped from the build:
> > ------------------------------
> > Bootstrap Settings:
> > JAVAWS_BOOTDIR = /usr/local/linux-ibm-jdk1.4.1
> > BOOTSTRAP J2SDK VERSION: Bad system call (core dumped)
> > OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586
> > ------------------------------
> > So does that indicate it is indeed an emulation problem, as it now
> > occurs in both the sun-linux jdk and the ibm-linux.
> I sent a message about it working for me yesterday on 4.8. I just
> checked 4.10 and it also works for me (also with linux_base-7.1_7).
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.
> Add a -dl to the make of your linux-sun-jdk port and see the last
> thing it's doing before it dies. If it's a linux app that's being
> run, try using ktrace and the linux_kdump port to see where it's
> dying.
> Which linux_base do you have installed?
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 .
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)
*** Error code 140
Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1
Stop in /usr/ports/java/jdk14.
root at bilver.wjv.com# exit
Script done on Thu Jun 10 11:46:15 2004
Bill
--
Bill Vermillion - bv @ wjv . com
More information about the freebsd-emulation
mailing list