jdk15 build fail

jdk15 build fail

Post by ddurha » Sat, 14 Jan 2006 08:17:37


Hi all--

I posted previously, and I'm rereposting that I'm still unable to build
jdk15. I'll try again to provide more details. One question is where
can I find a guide to the installation process? I've been using this
list and the freebsd java page: http://www.yqcomputer.com/
don't get help soon, I'm switching to Linux... just kidding. So, here
goes again, these are the steps I've taken and the error details are at
the end.


1) Linux compatability

I added this on initial installation of FreeBSD 6.0-release. I have the
following in /etc/fstab:

linprocfs /compat/linux/proc linprocfs rw 0 0

and this seems to be working properly.

2) cvsup of ports-base and ports-java to release=cvs, tag=.

3) make install of linux-sun-jdk14 ran successfully.

$ java
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location

Usage ...


4) make install of jdk15 fails. /usr/ports/distfiles contains:

bsd-jdk15-patches-2.tar.bz2
jdk-1_5_0-bin-scsl.zip


Error details follow:
----------------------
Patching file j2se/src/solaris/transport/socket/socket_md.c using Plan A...
Hunk #1 succeeded at 17.
Hunk #2 succeeded at 264.
done
===> Applying FreeBSD patches for jdk-1.5.0p2_3
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to
../../hotspot/src/os/bsd/vm/os_bsd.inline.hpp.rej
=> Patch patch-hotspot-vm-os_bsd.inline.hpp failed to apply cleanly.
=> Patch(es) patch-control::common::Defs-bsd.gmk
patch-deploy::common::Defs-bsd.gmk
patch-deploy::common::DeployRules-solaris.gmk
patch-deploy::native::msgString.c patch-deploy::native::system_md.c
patch-deploy::native::system_md.h patch-deploy::ns7-adapter::Makefile
applied cleanly.
*** Error code 1

Stop in /usr/ports/java/jdk15.
---------------------------


Here's the contents of os_bsd.inline.hpp.rej:
---------------------------
***************
*** 29,38 ****

inline bool os::allocate_stack_guard_pages() {
assert(uses_stack_guard_pages(), "sanity check");
- // XXXBSD: ??
- // return thr_main();
- // return pthread_main_np();
- return true;
}


--- 29,37 ----

inline bool os::allocate_stack_guard_pages() {
assert(uses_stack_guard_pages(), "sanity check");
+ // Since FreeBSD 4 uses malloc() for allocating the thread stack

+ // there is no need to do anything extra to allocate the guard pages
+ return false;
}
-------------------------------


Does anyone see what I'm doing wrong?


-Dave
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

jdk15 build fail

Post by ddurha » Sat, 14 Jan 2006 09:20:24


Here's a more complete listing of what I have in /usr/ports/distfiles:

bsd-jdk15-patches-2.tar.bz2
jdk-1_5_0-bin-scsl.zip
jdk-1_5_0-src-scsl.zip

Am I missing anything here?


-Dave
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "

 
 
 

jdk15 build fail

Post by past » Sat, 14 Jan 2006 18:47:51


Remove the offending file from ports/java/jdk15/files/ or even better
remove the entire directory and re-cvsup.

Cheers,

Panagiotis
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

jdk15 build fail

Post by ddurha » Sun, 15 Jan 2006 02:23:53

> Remove the offending file from ports/java/jdk15/files/ or even better

That solved it. I did something wrong when I tried cvsup'd the first
time. Thanks.


-Dave
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "