building OS/Net on opensolaris

i use my desktop as my primary build machine, so i was a little surprised after upgrading my desktop to opensolaris i could no longer do full ON (aka OS/Net) nightly builds. i discovered that there were two problems. the first is a known bug:

    6733971 Lint targets not POSIX shell (=ksh93) safe in OS/Net
which you can easily workaround by replacing /sbin/sh (which in opensolaris is ksh93) with the old sh from nevada. if you have access to SWAN the following commands, run as root, should fix the problem:
    ver=`uname -v | sed 's:.\*_::'`
    plat=`uname -p`
    rm /sbin/sh
    cp -p /net/onnv.eng/export/snapshot/onnv_$ver/proto/root_$plat/sbin/sh /sbin/
    

the second issue i ran into is a problem caused by missing wbem header files and .jar archives. this issue can be worked around by installing the following nevada packages:

    SUNWadmj SUNWwbapi SUNWwbdev SUNWjsnmp SUNWwbcou
once again, if you have acces to SWAN, you can run the following commands to fix the problem:
    plat=x; [ `uname -p` = sparc ] && plat=s
    ver=`uname -v | sed 's:.\*_::'`
    dir=/net/netinstall.eng/export/nv/$plat/$ver/Solaris_11/Product
    pkgadd -d $dir SUNWadmj SUNWwbapi SUNWwbdev SUNWjsnmp SUNWwbcou
    
Comments:

Post a Comment:
Comments are closed for this entry.
About

edp

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today