Subject: Re: lang/sun-jre15 on 4.0_BETA2 (amd64)
To: Adrian Portelli <adrianp@stindustries.net>
From: Nicolas Joly <njoly@pasteur.fr>
List: pkgsrc-users
Date: 03/30/2007 18:12:15
On Fri, Mar 30, 2007 at 04:46:29PM +0100, Adrian Portelli wrote:
> Hi,
> 
> Anyone have any luck running the JRE from lang/sun-jre15 on a 4.0_BETA2
> (amd64) box ?  I've got a box built from sources fresh today and using
> sun-jre15-5.0.11 from pkgsrc.
> 
> Currently this is what I get:
> 
> # /usr/pkg/java/sun-1.5/bin/java -verbose -version
> [Opened /usr/pkg/java/sun-1.5/lib/rt.jar]
> [Opened /usr/pkg/java/sun-1.5/lib/jsse.jar]
> [Opened /usr/pkg/java/sun-1.5/lib/jce.jar]
> [Opened /usr/pkg/java/sun-1.5/lib/charsets.jar]
> 
> ... and that's it.
> 
> The last 4 lines from a kdump before I kill the process is:
> 
>    750      1 java     RET   write 168/0xa8
>    750      1 java     CALL  rt_sigprocmask(2,0,0x7f7fffffb980,8)
>    750      1 java     RET   rt_sigprocmask 0
>    750      1 java     CALL  rt_sigsuspend(0x7f7fffffb980,8)
> 
> All my packages are up to date as of today.  Anyone have any ideas ?

I'll guess that you are emulating a 2.4 Linux kernel.
I would try to switch to 2.6 for NPTL emulation ...

sysctl -w emul.linux.kern.osrelease=2.6.20

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.