jdk1.4.2p5 build error  
Author Message
nelis





PostPosted: 2003-11-12 19:01:00 Top

java-programmer, jdk1.4.2p5 build error
--=-QXgBEaZzAqtsE+sUalvG
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

I am having a problem building jdk1.4.2p5. I already have jdk-1.3.1p7_2
installed from my installation of OpenOffice1.03
Do I have to first remove jdk1.3.1 before I install jdk1.4.2 ?
I am in the process of upgrading OO1.03 to 1.1, attached is my error
message.

Any help would be appreciated.

Thanks,
Nelis

--=-QXgBEaZzAqtsE+sUalvG
Content-Disposition: attachment; filename=debug_jdk.txt
Content-Type: text/plain; name=debug_jdk.txt; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

# Start of jdk build
bsd i586 1.4.2-p5 build started: 03-11-12 12:22
if [ -r ./../../deploy/make/Makefile ]; then \
( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 ARCH_DATA_MODEL=32 MILESTONE=p5 BUILD_NUMBER=nelis_12_nov_2003_12_22 ; ); \
fi
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/deploy/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/deploy/make'
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make'
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'

Build Machine Information:
build machine =

Build Directory Structure:
CWD = /usr/ports/java/jdk14/work/control/make
TOPDIR = ./../..
CONTROL_TOPDIR = ./../../control
GENERICS_TOPDIR = ./../../generics
HOTSPOT_TOPDIR = ./../../hotspot
J2SE_TOPDIR = ./../../j2se
MOTIF_TOPDIR = ./../../motif

Hotspot Settings:
HOTSPOT_BUILD_JOBS =

Bootstrap Settings:
JAVAWS_BOOTDIR = /java/re/j2se/1.4.1/archive/fcs/binaries/bsd-i586
BOOTSTRAP J2SDK VERSION:
OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586

Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
GCC32_COMPILER_PATH = /java/devtools/bsd/gcc3.2/
MOZILLA_PATH =
MOZILLA_HEADERS_PATH =
MOZILLA_LIBS_PATH =
CC_VER = 2.95.4
PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin

Build Directives:
PEDANTIC =
INSANE =

Build Platform Settings:
PLATFORM = bsd
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
OS_VERSION = 4.9-STABLE
TRUE_PLATFORM = FreeBSD (4.x STABLE way)
FREE_SPACE = 44495664

GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS = w -- BUILD_NUMBER=nelis_12_nov_2003_12_22 MILESTONE=p5 ARCH_DATA_MODEL=32 ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 CONTROL_TOPDIR_NAME=control CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control EXTERNALSANITYCONTROL=true
SHELL = /bin/sh

Target Build Versions:
JAVAWS_VERSION = 1.4.2
MILESTONE = p5
BUILD_NUMBER = nelis_12_nov_2003_12_22

Bootstrap Settings:
BOOTDIR = /java/re/j2se/1.4.1/archive/fcs/binaries/bsd-i586
BOOTSTRAP J2SDK VERSION:
OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586

Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
MOTIF_DIR = /usr/X11R6
CC_VER = 2.95.4
ZIP_VER = 2.3
PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin

Build Directives:
USE_ONLY_BOOTDIR_TOOLS =
USE_HOTSPOT_INTERPRETER_MODE =
PEDANTIC =
DEV_ONLY = YES
J2RE_ONLY =
NO_DOCS =
NO_IMAGES =
TOOLS_ONLY = true
INSANE =

Build Platform Settings:
PLATFORM = bsd
ARCH = i586
LIBARCH = i386
ARCH_FAMILY = i586
ARCH_DATA_MODEL = 32
OS_VERSION = 4.9-STABLE
TRUE_PLATFORM = FreeBSD (4.x STABLE way)
FREE_SPACE = 44495648

GNU Make Settings:
MAKE = gmake
MAKE VERSION =
MAKECMDGOALS = sanity
MAKEFLAGS =
SHELL = /bin/sh

Target Build Versions:
JDK_VERSION = 1.4.2
MILESTONE = p5
BUILD_NUMBER = nelis_12_nov_2003_12_22

External File/Binary Locations:
HOTSPOT_SERVER_PATH = /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/server
HOTSPOT_CLIENT_PATH = /usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/client
MOTIF_DIR = /usr/X11R6
CACERTS_FILE = ./../src/share/lib/security/cacerts

WARNING: Your build environment has the variable DEV_ONLY
defined. This will result in a development-only
build of the J2SE workspace, lacking the documentation
build and installation bundles.

ERROR: JAVAWS_BOOTDIR does not point to a valid Java 2 SDK
Check that you have access to
/java/re/j2se/1.4.1/archive/fcs/binaries/bsd-i586/bin/java
and/or check your value of ALT_JAVAWS_BOOTDIR.

ERROR: BOOTDIR does not point to a valid Java 2 SDK
Check that you have access to
/java/re/j2se/1.4.1/archive/fcs/binaries/bsd-i586/bin/java
and/or check your value of ALT_BOOTDIR.

Exiting because of the above error(s).

gmake: *** [post-sanity] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk14.
enigma#


--=-QXgBEaZzAqtsE+sUalvG
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"

--=-QXgBEaZzAqtsE+sUalvG--

 
phantom





PostPosted: 2003-11-12 20:42:00 Top

java-programmer >> jdk1.4.2p5 build error hi,

On Wed, Nov 12, 2003 at 12:59:38PM +0200, Nelis Lamprecht wrote:
>
> I am having a problem building jdk1.4.2p5. I already have jdk-1.3.1p7_2
> installed from my installation of OpenOffice1.03
> Do I have to first remove jdk1.3.1 before I install jdk1.4.2 ?

No, you don't.

> I am in the process of upgrading OO1.03 to 1.1, attached is my error
> message.

Sorry. It was an error in my code which attempted to detect valid bootstrap
jdk. I have committed update to java/jdk14/Makefile, so you may recvsup
and restart build.

> Any help would be appreciated.
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
nelis





PostPosted: 2003-11-12 21:53:00 Top

java-programmer >> jdk1.4.2p5 build error On Wed, 2003-11-12 at 14:49, Alexey Zelkin wrote:
> hi,
>
> On Wed, Nov 12, 2003 at 12:59:38PM +0200, Nelis Lamprecht wrote:
> >
> > I am having a problem building jdk1.4.2p5. I already have jdk-1.3.1p7_2
> > installed from my installation of OpenOffice1.03
> > Do I have to first remove jdk1.3.1 before I install jdk1.4.2 ?
>
> No, you don't.
>
> > I am in the process of upgrading OO1.03 to 1.1, attached is my error
> > message.
>
> Sorry. It was an error in my code which attempted to detect valid bootstrap
> jdk. I have committed update to java/jdk14/Makefile, so you may recvsup
> and restart build.

After cvsup the build now stops as below, what file to patch ?

<snip>

Patching file j2se/src/solaris/native/sun/nio/ch/Net.c using Plan A...
Hunk #1 succeeded at 283.
done
===> Applying FreeBSD patches for jdk-1.4.2p5
File to patch:

</snip>

Nelis


_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
 
phantom





PostPosted: 2003-11-12 22:14:00 Top

java-programmer >> jdk1.4.2p5 build error hi,

Please try again (resup/build)

ps: too much typos for two days :-(

On Wed, Nov 12, 2003 at 03:51:33PM +0200, Nelis Lamprecht wrote:
> On Wed, 2003-11-12 at 14:49, Alexey Zelkin wrote:
> > hi,
> >
> > On Wed, Nov 12, 2003 at 12:59:38PM +0200, Nelis Lamprecht wrote:
> > >
> > > I am having a problem building jdk1.4.2p5. I already have jdk-1.3.1p7_2
> > > installed from my installation of OpenOffice1.03
> > > Do I have to first remove jdk1.3.1 before I install jdk1.4.2 ?
> >
> > No, you don't.
> >
> > > I am in the process of upgrading OO1.03 to 1.1, attached is my error
> > > message.
> >
> > Sorry. It was an error in my code which attempted to detect valid bootstrap
> > jdk. I have committed update to java/jdk14/Makefile, so you may recvsup
> > and restart build.
>
> After cvsup the build now stops as below, what file to patch ?
>
> <snip>
>
> Patching file j2se/src/solaris/native/sun/nio/ch/Net.c using Plan A...
> Hunk #1 succeeded at 283.
> done
> ===> Applying FreeBSD patches for jdk-1.4.2p5
> File to patch:
>
> </snip>
>
> Nelis
>
>
> _______________________________________________
> email***@***.com mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "email***@***.com"
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
 
jsmith





PostPosted: 2003-11-12 23:38:00 Top

java-programmer >> jdk1.4.2p5 build error After running for several hours, it crashed with

/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/utils.o(.text+0x30a):
warning: tempnam() possibly used unsafely; consider using mkstemp()
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/bytes.o(.eh_frame+0x11):
undefined reference to `__gxx_personality_v0'
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/bands.o(.eh_frame+0x11):
undefined reference to `__gxx_personality_v0'
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/coding.o(.eh_frame+0x11):
undefined reference to `__gxx_personality_v0'
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/unpack.o(.eh_frame+0x11):
undefined reference to `__gxx_personality_v0'
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/utils.o(.eh_frame+0x11):
undefined reference to `__gxx_personality_v0'
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/zip.o(.eh_frame+0x11):
more undefined references to `__gxx_personality_v0' follow
gmake[3]: ***
[/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun.tools.unpack/obj/unpack]
Error 1


_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
 
nelis





PostPosted: 2003-11-13 22:30:00 Top

java-programmer >> jdk1.4.2p5 build error On Wed, 2003-11-12 at 16:22, Alexey Zelkin wrote:
> hi,
>
> Please try again (resup/build)
>
> ps: too much typos for two days :-(
>
Hi Alexey,

Sorry for the late reply. I've had other people contact me direct so
thought I'd better just mention that this problem has been corrected (
for the archives ) and jdk 1.4.2p5 now builds fine.

Thanks for correcting the problem.

Nelis

_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"