Alan Hargreaves' Blog

The ramblings of a former Australian SaND TSC* Principal Field Technologist

Building build 46 on build 46

Wow, I must be one of the first folks to actually try building onnv_46 on a machine freshly installed with build 46 (as against upgraded from something earlier).

To save others grief, it looks like in the nevada distribution of build 46, SUNWj3rt (tha java 1.4 runtime) was removed. All well and good except that there is a Makefile in the onnv source tree that directly refers to /usr/j2se/jre/lib/rt.jar. This causes the build to fail.

The workaround that I’m currently using is to install SUNWj3rt from build 45. It seems to be working.

It appears that it’s only one Makefile that does this, the offending from usr/src/lib/libadt_jni/com/sun/audit/Makefile is

37  JAVAFLAGS +=    -source 1.4 -target 1.4 -bootclasspath /usr/j2se/jre/lib/rt.jar

I’ve logged the following bug against this issue

6463409 Makefile still refers to /usr/j2se after removal of SUNWj3rt

Technorati Tags:


Written by Alan

August 24, 2006 at 12:12 am

Posted in OpenSolaris

One Response

Subscribe to comments with RSS.

  1. Hi Alan,
    Just noticed this blog entry–I’ve hit the same ironic breakage for insisting on all fresh bits at every onnv install.

    Running a b46 machine, with b45 on another local h/d, I mounted b45’s slice 3 (its /var) and did a pkgadd from SUNWj3rt’s /var/sadm/…/save/pspool. The pkgadd was partially successful, but lots of complaints about the SUNWj3rt/reloc dir being missing. This may have been the wrong approach to the cross-apply.

    On an unrelated build issue, with the b46 drop between the move-to-Studio-11 and fall-back-to-SS10 flag days, what is the correct compiler wrapper level to use with SS10 in order to build 46 on 46? My cw level reports 1.19 (onbld tools as supplied in the 46 drop, which may have been intended only for SS11). An earlier self build of b46, under SS10 and cw 1.19, still encountered ctf errors (as well as the j3rt problem).



    James Cotillier

    August 30, 2006 at 12:50 am

Comments are closed.

%d bloggers like this: