Mike Kupfer wrote:
> 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.

That's bad...
... BTW: Both machines have "xntpd" configured and running, right ?

Are the test failures always the same ?

> 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?

usr/src/cmd/ksh/Makefile.com has the following comment about
"builtins.sh":
-- snip --
# Note that "builtins.sh" is allowed to fail until upstream fixes
# -- snip --
# "ld.so.1: ksh: fatal: relocation error: file
xxx/usr/src/cmd/ksh/i386/ksh: symbol sh_waitnotify:
# referenced symbol not found
../../../lib/libshell/common/tests/builtins.sh: line 313: 28473: 
# Killed        builtins.sh[314]: "name=value exec -c ..." not working"
# -- snip --
-- snip --
... which means this test fails because it does not set
${LD_LIBRARY_PATH} (which is another item on my ToDo list) - but this is
harmless.

The failures in "path.sh" and "io.sh" are new for me... how does your
${PATH} look like ?
Either these failures are triggered by the issue that you're not
building on B37, that you modified usr/src/cmd/ksh/Makefile.ksh93switch
(the last test on my side predates the last ksh alpha update... ;-( ),
"unexpected" content in ${PATH} or something else is broken... ;-(

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to