I synched my Subversion workspace with the
prototype002/m1_ast_ast_imported repo and built ksh93 on both my desktop
(a SPARC box running snv_40) and on train.sfbay.sun.com (a SPARC box
running snv_23).  Both builds failed in cmd/ksh with the "testshell"
target.

My desktop:

  ## Running test: LANG=C script=alias.sh
  ## Running test: LANG=C script=append.sh
  ## Running test: LANG=C script=arith.sh
  ## Running test: LANG=C script=arrays.sh
  ## Running test: LANG=C script=attributes.sh
  ## Running test: LANG=C script=basic.sh
  ## Running test: LANG=C script=bracket.sh
  ## Running test: LANG=C script=builtins.sh
  ld.so.1: ksh: fatal: libshell.so.1: open failed: No such file or directory
  ../../../lib/libshell/common/tests/builtins.sh: line 313: 8230: Killed
        builtins.sh[314]: "name=value exec -c ..." not working
  ## Running test: LANG=C script=case.sh
  ## Running test: LANG=C script=comvar.sh
  ## Running test: LANG=C script=coprocess.sh
  ## Running test: LANG=C script=exit.sh
  ## Running test: LANG=C script=expand.sh
  ## Running test: LANG=C script=functions.sh
  ## Running test: LANG=C script=glob.sh
  ## Running test: LANG=C script=grep.sh
  ## Running test: LANG=C script=heredoc.sh
  ## Running test: LANG=C script=io.sh
  ## Running test: LANG=C script=nameref.sh
  ## Running test: LANG=C script=options.sh
  ## Running test: LANG=C script=path.sh
        path.sh[170]: not found command exit status 126 -- expected 127
        path.sh[174]: not found command with ERR trap exit status 126 -- 
expected 127
  *** Error code 2
  dmake: Fatal error: Command failed for target `testshell'


train.sfbay.sun.com:

  ## Running test: LANG=C script=alias.sh
  ## Running test: LANG=C script=append.sh
  ## Running test: LANG=C script=arith.sh
  ## Running test: LANG=C script=arrays.sh
  ## Running test: LANG=C script=attributes.sh
  ## Running test: LANG=C script=basic.sh
  ## Running test: LANG=C script=bracket.sh
  ## Running test: LANG=C script=builtins.sh
  ld.so.1: ksh93: fatal: libshell.so.1: open failed: No such file or directory
  ../../../lib/libshell/common/tests/builtins.sh: line 313: 624: Killed
        builtins.sh[314]: "name=value exec -c ..." not working
  ## Running test: LANG=C script=case.sh
  ## Running test: LANG=C script=comvar.sh
  ## Running test: LANG=C script=coprocess.sh
  ## Running test: LANG=C script=exit.sh
  ## Running test: LANG=C script=expand.sh
  ## Running test: LANG=C script=functions.sh
  ## Running test: LANG=C script=glob.sh
  ## Running test: LANG=C script=grep.sh
  ## Running test: LANG=C script=heredoc.sh
  ## Running test: LANG=C script=io.sh
  ./close0[2]: ./close1: cannot execute [Exec format error]
        io.sh[81]: picked up file descriptor zero for opening script file
  *** Error code 1
  The following command caused the error:
  \
  (for test_lang in C en_US.UTF-8 ; do \
      (for i in ../../../lib/libshell/common/tests/*.sh ; do \
            [ "$i" = "../../../lib/libshell/common/tests/builtins.sh" -o \
              "$i" = "../../../lib/libshell/common/tests/options.sh" ] && set 
+e ; \
            printf "## Running test: LANG=%s script=%s\n" "${test_lang}" 
"`basename ${i}`"; \
            ( \
              env - \
                HOME="${HOME}" 
LD_LIBRARY_PATH="/net/athyra/export/kupfer/ksh/proto2/proto/root_sparc/lib" \
                
PATH="/net/athyra/export/kupfer/ksh/proto2/usr/src/cmd/ksh/sparc:${PATH}" \
                
SHELL="/net/athyra/export/kupfer/ksh/proto2/usr/src/cmd/ksh/sparc/ksh93" \
                LANG="${test_lang}" LC_ALL="${test_lang}" \
                  
/net/athyra/export/kupfer/ksh/proto2/usr/src/cmd/ksh/sparc/ksh93 "$i" \
            ) ;  \
            set -e ; \
      done) ; \
  done)
  make: Fatal error: Command failed for target `testshell'

Is it possible that the tests are failing because the libraries are only
accessible via the proto tree in the workspace; they aren't in the build
(test) machine's /lib?

mike

Reply via email to