On 8/12/09, Cyril Plisko <cyril.plisko at mountall.com> wrote:
> Hello !
>
>  I am recently getting strange errors when building freshly cloned ON repo.
>
>  The mail is full of these things:
>
>
>  ==== Build errors (DEBUG) ====
>
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>  The following command caused the error:
>
>
>  And the nightly log shows:
>
>  /export/opensolaris/dev/onnv-test/usr/src/cmd/perl/5.8.4/distrib/ext/Errno
>  *** Error code 1 (ignored)
>  The following command caused the error:
>  unset KEEP_STATE SUNPRO_DEPENDENCIES || true; unset VERSION || true;
>  
> PERL5LIB=/data/opensolaris/dev/onnv-test/usr/src/cmd/perl/5.8.4/utils/lib:/data/opensolaris/dev/onnv-test/usr/src/cmd/perl/5.8.4/distrib/lib;
>  export PERL5LIB; \
>  for ext in  B ByteLoader Cwd Data/Dumper Devel/DProf Devel/PPPort
>  Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call
>  I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File
>  Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket
>  Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize
>  XS/APItest XS/Typemap attrs re Errno; do \
>         ( \
>         cd $ext; pwd; \
>         [ -f Makefile.old ] && mf=Makefile.old; \
>         [ -f Makefile ] && mf=Makefile; \
>         [ ! -z "$mf" ] && dmake -f $mf clean; \
>         ) \
>  done
>
>
>  or
>
>  /export/opensolaris/dev/onnv-test/usr/src/lib/libcmd
>  /data/opensolaris/dev/onnv-test/usr/src/lib/libcmd/i386
>  *** Error code 127
>  The following command caused the error:
>  mkdir -p "$(dirname "msgs/basename.mso")" ; \
>  print "# Processing file ../common/basename.c to msgs/basename.mso"
>  >>msgcc.out  ; \
>  PATH="/usr/ast/bin/:/bin:/usr/bin"  /usr/bin/ksh93 /usr/ast/bin/msgcc
>  >>msgcc.out 2>&1 -M-set=ast -D_STDC_C99 -D__STDC__
>  -D__BUILTIN_VA_ARG_INCR -D__i386 -O  -xspace -Xa  -xildoff
>  -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT
>  -erroff=E_STATEMENT_NOT_REACHED -erroff=E_UNRECOGNIZED_PRAGMA_IGNORED
>  -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1
>  -W0,-xglobalstatic -v  -_cc=-xcsi  -xstrconst
>  -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO  -I../common
>  -Isrc/lib/libcmd
>  -I/data/opensolaris/dev/onnv-test/proto/root_i386/usr/include/ast
>  -D_BLD_cmd  -D_PACKAGE_ast  -D_BLD_DLL  '-DERROR_CATALOG="libcmd"'
>  '-DUSAGE_LICENSE= "[-author?Glenn Fowler <gsf at research.att.com>]"
>  "[-author?David Korn <dgk at research.att.com>]" "[-copyright?Copyright
>  (c) 1992-2008 AT&T Intellectual Property]"
>  "[-license?http://www.opensource.org/licenses/cpl1.0.txt]";
>  "[--catalog?libcmd]"' -c "../common/basename.c" -o "msgs/basename.mso"
>  *** Error code 127
>
>  and many more like this.

I think ksh93 is broken in your environment.

Did you overwrite /usr/bin/ksh93? Does it still work? Does
/var/log/messages have any errors?

>
>  Besides the error message itself there are no signs of any problem.
>  I'd suspect that my environment is problematic, but I cannot see
>  anything unusual.
>  I attached the full mail_msg - it has the details of my build environment.

Could you attach the full nightly.log, pls?

Josh

Reply via email to