Building JDK-1.4 fails, even with linprocfs mounted
Trying to build the port jdk14, I get the following error message: /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location A search for this gives quite a lot of hits, but all seem to suggest that the linprcfs is either not mounted, or that linux-supprt is not loaded into the kernel. Well in my case neither seems to hold true: [EMAIL PROTECTED]:/usr/ports/java/jdk14]$ kldstat Id Refs AddressSize Name 1 19 0xc040 5c7fd8 kernel 21 0xc09c8000 31f4 splash_bmp.ko 3 14 0xc0a41000 4fb9cacpi.ko 41 0xc1fcf000 9000 ntfs.ko 51 0xc203d000 5000 linprocfs.ko 61 0xc2042000 16000linux.ko 71 0xc2069000 3000 fdescfs.ko 81 0xc3aba000 2ae000 if_ndis.ko 91 0xc2e68000 d000 ndis.ko [EMAIL PROTECTED]:/usr/ports/java/jdk14]$ mount /dev/ad0s4a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s4e on /tmp (ufs, local, soft-updates) /dev/ad0s4f on /usr (ufs, local) /dev/ad0s4d on /var (ufs, local, soft-updates) /dev/ad0s2 on /mnt/windows/c (ntfs, local, noexec) /dev/ad0s3 on /mnt/windows/d (msdosfs, local, noexec) procfs on /proc (procfs, local) fdescfs on /dev/fd (fdescfs) [EMAIL PROTECTED]:/mnt/mirrorball on /mnt/mirrorball (nfs) [EMAIL PROTECTED]:/home on /home (nfs) mirrorball:/export/ports on /.amd_mnt/mirrorball/export/ports (nfs, nodev) linprocfs on /usr/compat/linux/proc (linprocfs, local) [EMAIL PROTECTED]:/usr/ports/java/jdk14]$ uname -a FreeBSD weld.theloosingend.net 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Wed Jun 30 14:46:17 CEST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WELD i386 i386 Intel(R) Pentium(R) M processor 1200MHz FreeBSD /sve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building JDK-1.4 fails, even with linprocfs mounted
Svein Halvor Halvorsen wrote: Trying to build the port jdk14, I get the following error message: /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location A search for this gives quite a lot of hits, but all seem to suggest that the linprcfs is either not mounted, or that linux-supprt is not loaded into the kernel. Well in my case neither seems to hold true: Svein, Did you do a make install (not make install clean) in linux-sun-jdk14 ? If so, do a make deinstall in ports/java/jdk14/ and remove ports/java/jdk14/work and its contents, then make install clean in that port. At least that's what helped me. http://www.freebsdforums.org/forums/showthread.php?s=threadid=23254 good luck! -- Gustaaf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building JDK-1.4 fails, even with linprocfs mounted
On Thu, 15 Jul 2004 20:04:00 +0200 Gustaaf Wijnands [EMAIL PROTECTED] wrote: Svein Halvor Halvorsen wrote: Trying to build the port jdk14, I get the following error message: /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i5 86/gensrc/java/util/CurrencyData.java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location^ /.amd_mnt/mirrorball/export/ports/java/jdk14/work/control/build/bsd-i5 86/gensrc/java/util/CurrencyData.java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location A search for this gives quite a lot of hits, but all seem to suggest that the linprcfs is either not mounted, or that linux-supprt is not loaded into the kernel. Well in my case neither seems to hold true: Svein, Did you do a make install (not make install clean) in linux-sun-jdk14 ? If so, do a make deinstall in ports/java/jdk14/ and remove ports/java/jdk14/work and its contents. this can be achieved by a simple 'make clean' ;) then make install clean in that port. At least that's what helped me. so, try 'make clean; make install clean' this will clear out any cruft from a previous build, it will build anew, then install, and finally tidy-up after the install. http://www.freebsdforums.org/forums/showthread.php?s=threadid=23254 good luck! -- Gustaaf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problems building JDK 1.4
Babbling Blatherscythe! Chris Meyers mailto:[EMAIL PROTECTED] had this to say: I am trying to build java/jdk14 with portupgrade, and I have run into a problem. After downloading all the necessary patches and the j2sdk binaries and src files from Sun, I ran the following: portupgrade --new java/jdk14 Things went along fine for about 2 hours, and then wham I get the following error: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curre ncyData.java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curre ncyData.java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ 2 errors gmake[4]: *** [.compile.classlist] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade8248.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! java/jdk14(unknown build error) I did some searching and noticed that someone else posted the exact same problem a couple weeks ago, but unfortunately no one replied to his problem. Has anyone solved this, or know what I should do to fix the problem? Here's some more info that may be helpful: port: jdk-1.4.2p6_4 uname -mp: 5.1-RELEASE-p2 i386 Thanks for any help, Chris p.s. sorry for the long lines in the error I know it flies by rather quickly, but paying attention while the Makefile flies by never hurts. -- To build JDK 1.4.2 port, you should have linux emulation -- enabled in the kernel and linux procfs (linprocfs) filesystem -- mounted. I had a failure in just about the same spot, if I recall correctly. Sun has a linux release for the jdk, but no FreeBSD release. In order to build a native compile of the jdk on FreeBSD, the linux build is used to compile it. Hence, linux emulation is require for the build phase. You can go ahead and remove the linux emulation ports after you're done with the build if you like. Part of the build process from new I believe installs the necessaru linuxbase port, if they're not there already. What it doesn't do is load the kernel module and mount the linprocfs filesystem for you - which is where my failure happened, and probably yours as well. So... Granted that you have the linux ports installed (pkg_info linux_base, or if you like waiting... portversion | grep linux_base), load the linprocfs kernel module and mount a linprocfs file system: kldload linprocfs mount -t linprocfs linprocfs /compat/linux/proc (or, add a linprocfs entry with the above mountpoint to your fstab and do a mount linprocfs) Now try rebuilding the jdk14 port. Regards, Jason Wilson Director of Technology Nobilis Software ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems building JDK 1.4
I am trying to build java/jdk14 with portupgrade, and I have run into a problem. After downloading all the necessary patches and the j2sdk binaries and src files from Sun, I ran the following: portupgrade --new java/jdk14 Things went along fine for about 2 hours, and then wham I get the following error: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ 2 errors gmake[4]: *** [.compile.classlist] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade8248.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! java/jdk14(unknown build error) I did some searching and noticed that someone else posted the exact same problem a couple weeks ago, but unfortunately no one replied to his problem. Has anyone solved this, or know what I should do to fix the problem? Here's some more info that may be helpful: port: jdk-1.4.2p6_4 uname -mp: 5.1-RELEASE-p2 i386 Thanks for any help, Chris p.s. sorry for the long lines in the error signature.asc Description: This is a digitally signed message part
Building jdk
When trying to build the jdk13/14 ports one needs to get the patches manually fron http://www.eyesbeyond.com/freebsddom/java/jdk14.html However, I am unable to reach this site, anybody else have this problem? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building jdk
On Mon, Mar 01, 2004 at 10:16:02AM +0100, Per olof Ljungmark wrote: When trying to build the jdk13/14 ports one needs to get the patches manually fron http://www.eyesbeyond.com/freebsddom/java/jdk14.html However, I am unable to reach this site, anybody else have this problem? Yes -- the server is up and pingable, but apache doesn't appear to be accepting connections right now: % telnet www.eyesbeyond.com 80 Trying 203.32.153.68... telnet: connect to address 203.32.153.68: Connection refused telnet: Unable to connect to remote host Traceroute shows that server is physically located in Austrailia, where it's about 8.00pm right now. Could be down for administrative reasons, or could be waiting for an admin to come into work and deal with it. Try again in an hour or so. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature