Problem compiling native 1.3 jdk.

Problem compiling native 1.3 jdk.

Post by Jakub Klau » Mon, 10 Sep 2001 19:59:33



--HPvEMLO7QB7Fh5r+
Content-Type: text/plain; charset=ISO-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

'lo

        Is it a know issue, that native jdk13 doesn't build from the ports
as it (propably) should?=20

[12:59:16] [ttyp3] [135] system:jacke:/usr/ports/java/jdk13# make
=3D=3D=3D>  Building for jdk-1.3.1p3
i386 Build started:   1.3.1-internal-jacke-010909-12:59
ERROR: Your BOOTDIR environment variable does not point
       to a valid Java 2 SDK for bootstrapping this build.
       A Java 2 SDK 1.3.1 build must be bootstrapped against any=20
       1.3 build. Please update your ALT_BOOTDIR setting, or=20
       just unset it, and start your build again.

Exiting because of the above error(s).
gmake: *** [sanity] B=B3=B1d 1
*** Error code 2

Stop in /usr/ports/java/jdk13.
*** Error code 1

Stop in /usr/ports/java/jdk13.
*** Error code 1

Stop in /usr/ports/java/jdk13.
[12:59:20] [ttyp3] [136] system:jacke:/usr/ports/java/jdk13# echo $ALT_BOOT=
DIR
/usr/local/linux-jdk1.3.1/

When both ALT_BOOTDIR and BOOTDIR are set to the linux-jdk directory or
unset it gives the same results.

All the dependencies are in place, the ports are up to date, for what i can
tell all the patches were applied correctly.

--=20
k.

--HPvEMLO7QB7Fh5r+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQCVAwUBO5tLbk54q5P/Kvv1AQFuZwP+MneVqFyZkVkxlFNFbwfJwwf0gihyCyqu
UXQlHrUY7ollyAeiurkhFTYEyzCnHTGezVKRJxkH5hpynrUaRCRFPbMn5KPvtfRX
MrodbKM+GNSmTFo8PLZtPJv7Y+y5Hn3t65kZGBcRAJRiCKQBKLjPafOes7i/5UO7
z0EFlAufvf4=
=isRw
-----END PGP SIGNATURE-----

--HPvEMLO7QB7Fh5r+--


with "unsubscribe freebsd-java" in the body of the message

 
 
 

Problem compiling native 1.3 jdk.

Post by Felix Kronla » Tue, 11 Sep 2001 00:46:47


Hi,

with the native jdk 1.3 port I have the problem, that the location of the
distfile apparently has changed.
http://www.sun.com/software/java2/download.html gives a '404' from Sun, telling
me the searched document doesn't exist anymore.

-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0  8A48 0D31 9BD3 D9AC 74D0
  |http://www.hazardous.org/ | whois -h whois.ripe.net FKR-RIPE |


with "unsubscribe freebsd-java" in the body of the message

 
 
 

Problem compiling native 1.3 jdk.

Post by Greg Lew » Tue, 11 Sep 2001 02:37:37



>    Is it a know issue, that native jdk13 doesn't build from the ports
> as it (propably) should?

Well, the port would hardly have gotten committed if it was a known issue :)

Quote:> [12:59:16] [ttyp3] [135] system:jacke:/usr/ports/java/jdk13# make
> ===>  Building for jdk-1.3.1p3
> i386 Build started:   1.3.1-internal-jacke-010909-12:59
> ERROR: Your BOOTDIR environment variable does not point
>        to a valid Java 2 SDK for bootstrapping this build.
>        A Java 2 SDK 1.3.1 build must be bootstrapped against any
>        1.3 build. Please update your ALT_BOOTDIR setting, or
>        just unset it, and start your build again.

The critical thing you don't mention is the output of:

${ALT_BOOTDIR}/bin/java -version

This is what the sanityck script checks.  Have you got linux emulation
enabled for instance?

--

Eyes Beyond                           Phone : (801) 765 1887
Information Technology                Web   : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

Problem compiling native 1.3 jdk.

Post by Greg Lew » Tue, 11 Sep 2001 02:38:36



> with the native jdk 1.3 port I have the problem, that the location of the
> distfile apparently has changed.
> http://www.sun.com/software/java2/download.html gives a '404' from Sun, telling
> me the searched document doesn't exist anymore.

Hmmm, I can get to it.  Try going to http://www.sun.com/software/java2/ and
then clicking on the "Download" link.

--

Eyes Beyond                           Phone : (801) 765 1887
Information Technology                Web   : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

Problem compiling native 1.3 jdk.

Post by Jakub Klau » Tue, 11 Sep 2001 05:31:05


--A9wBbB8nM8WQVjVD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

=3D> The critical thing you don't mention is the output of:
=3D>=20
=3D> ${ALT_BOOTDIR}/bin/java -version
=3D>=20
=3D> This is what the sanityck script checks.  Have you got linux emulation
=3D> enabled for instance?

Well, for some unknow reason (i'll investigate that later, though i still
installed the linux-jdk13 from ports...) ${ALT_BOOTDIR}/bin/java was a
directory. After making it a link to .java_wrapper the compilation process
went smooth.

--=20
k.

--A9wBbB8nM8WQVjVD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQCVAwUBO5vRdE54q5P/Kvv1AQF32AP/RbDu19pOI2slfvDVOIObuPRKFwO655Fz
RtC7yK3xyGPi3H5SaaMu9uOlvUiMmS84Y7V0YpVUONrkNXV+DNUJApjHc1TkBzxq
neTlPQL3apsz9LAsk5Jwxf+UystcKFek7sXuWxSRZO/KxKUPm/0EviR/9cpZXQma
A8KdfzpFBQw=
=cHgm
-----END PGP SIGNATURE-----

--A9wBbB8nM8WQVjVD--


with "unsubscribe freebsd-java" in the body of the message

 
 
 

1. SIGBUS on FreeBSD 4.7-S / Native JDK 1.3

Alexey, Greg,

We're in the middle of deploying quite a large frontend application on
Tomcat 4. We'd prefer to deploy on J2SE 1.3/FreeBSD, but we're getting
SIGBUS errors. Currently we're using these versions:

* Tomcat 4.1.24
* JDK 1.3.1p7

* x86 SMP system (Dual P4, I think)

I see a number of alternative solutions:

* Upgrade to FreeBSD 4.8 (I remember there were some Java-related
  improvements after Nov 2002, right?)
* Upgrade to JDK 1.3.1p8
* Set MAXUSERS to 0 in the kernel config file and recompile and install the
  kernel (I remember this solved some native JDK problem in the past)
* Use a different J2SE VM (I don't really want to do this)
* Examine the core file to see what exactly went wrong

Any suggested approach?

Would any of you be able to examine the contents of this core file? I have
no experience with that sort of thing whatsoever :(

This is the head of the error message in the log file:

SIGBUS    10*  bus error

Full thread dump Classic VM (1.3.1-p7-goran-021210-11:39, green threads):
    "Keep-Alive-Timer:templates.gpf.wanadoo.nl" (TID:0x28e46e48,
sys_thread_t:0x8b4d680, state:CW) prio=8
        at java.lang.Thread.sleep(Native Method)
        at sun.net.www.http.ClientVector.run(KeepAliveCache.java:216)
        at java.lang.Thread.run(Thread.java:484)
    "Thread-25" (TID:0x28dd5bd8, sys_thread_t:0x8b4d280, state:MW) prio=5
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)

Regards,

Ernst
_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

2. accessing files

3. Mozilla plugin and native JDK 1.3.1p6.

4. core files

5. JDK Documentation ports for JDK 1.1, 1.2, 1.3 and 1.4

6. Problems with chat...

7. ports/28183: JDK Documentation ports for JDK 1.1, 1.2, 1.3 and 1.4

8. Forwarding email...

9. Aix 4.3, cde, and Jdk 1.2 or Jdk 1.3 : bad display of fonts ?

10. Deprecation and other errors on compiling JDK 1.3.1p4

11. Native JDK or Linux JDK 1.4 in Jail?

12. Date problem w/ Linux JDK 1.3?

13. RedHat 7.1 + jdk 1.3 + Forte problem