Osaka Builds on Windows

  • Worked with Zoran to resolve merge issues from RISS15_Integration -> osaka_strm
  • Documented how to build development views on Tiburon for the L2 and Base components
  • Assisted engineer on problems with view and installer_cmp
  • Changed RISS15_Integration to not do testing all the time
  • Worked more on osaka_strm build scripts

I've made some progress converting the osaka_strm* scripts from .bat -> .sh. There are still some problems:

  • I'm getting permission denied for several files when attempting to write to the E drive (from //pacifica/devenv) and also to TheCity (i.e. //thecity/releaseArchive/...). Here are the error messages:
    Could not open E:\/build-osaka_strm.log for appending: Permission denied
    

    In the past we fixed this by doing chmod on the files/directories over on Pacifica however:

    Pacifica:ll build-osaka_strm.log 
    -rw-rw-r--  1 build hp-cc 3707 May 25 10:30 build-osaka_strm.log
    Pacifica:ll -n build-osaka_strm.log 
    -rw-rw-r--  1 10000 213 3707 May 25 10:30 build-osaka_strm.log
    

    Yet from build-win1:

    Build-win1:id
    uid=1151(defaria) gid=213(hp-cc)
    groups=0(root),544(Administrators),545(Users),039186($22DV00-RLFVIG81PFDK),999028($4R5U00-TTIJJ61TLD20),1156949(CC-ADMIN),213hp-cc),525633(ESSDCC),1156950(HP-CC),457005(ORG-NSS-SOFTWARE),1143096(SERVICE-RS-MSRA)

    I seem to be in the hp-cc group (213) on build-win1 and should have write permissions on that file.

    More concerning is the following:

    Unable to open
    \\thecity\releaseArchive\osaka\install\build-CCInstaller-osaka-20060329_0928\install/tools/patches/active/patches/patches.info.new
    for write: Permission denied
    No file written
    

    Even though:

    Thecity:cd
    /mnt/hp/releaseArchive/osaka/install/build-CCInstaller-osaka-20060329_0928/install/tools/patches/active/patches
    Thecity:ll patches.info -rw-rw-rw-  1 build hp-cc 362 Mar 29 12:41 patches.info
  • Running of osaka_strm_build.sh calls osaka_Domino_build.sh which does:
    verbose "Performing build..."
    mkdir Domino
    cp -rp platform/mailserver/domino/* Domino
    

    But this fails because in the view it is using (rollet_osaka_snap_int) there is no platform/mailserver/domino to copy from. I double checked this by running osaka_Domino_build.bat and it fails the same way. I think the solution is to simply ct update -add platform/mailserver/domino to the rollet_osaka_snap_int view.

  • I've converted osaka_strm_build_D2R.bat -> osaka_strm_build_D2R.sh. It used to call /home/build/buildD2R.sh which simply did a perl streamBuild.pl so I eliminated that call and just put the call to perl in osaka_strm_build_D2R.sh. Part of this script attempts to ct update -overwrite d2riss however as we seen before d2riss is not in Clearcase. Again I double checked this by running the .bat file and it likewise fails. There is much more work to be done here as there were a ton of set statements and a very long and odd PATH setting so I'm not sure if my translation worked yet.