Strange windows 64bit failure

Kelly O'Hair kelly.ohair at oracle.com
Wed Sep 5 08:36:35 PDT 2012


I need another set of eyes.

This happens occasionally on windows 2003 x64:

########################################################################
########################################################################
##### Entering langtools for target(s) all                         #####
########################################################################

/cygdrive/c/jprt/T/P1/023709.jprtadm/s/common/bin/logger.sh: line 45: exit: 0
: numeric argument required
make[1]: *** [langtools-only] Error 255
make[1]: Leaving directory `/cygdrive/c/jprt/T/P1/023709.jprtadm/s/build/windows-x86_64-normal-server-fastdebug'
make: *** [images] Error 2
###########################################################


It boils down to the logger script:

    38	# Create a temporary directory to store the result code from
    39	# the wrapped command.
    40	RCDIR=`mktemp -dt jdk-build-logger.tmp.XXXXXX` || exit $?
    41	trap "rm -rf \"$RCDIR\"" EXIT
    42	LOGFILE=$1
    43	shift
    44	(exec 3>&1 ; ("$@" 2>&1 1>&3; echo $? > "$RCDIR/rc") | tee -a $LOGFILE 1>&2 ; exec 3>&-) | tee -a $LOGFILE
    45	exit `cat "$RCDIR/rc"`

It sounds like $RCDIR/rc does not contain a numeric value?
Or maybe it does not exist and the 'cat' is saying "file not found"???

-kto






More information about the build-infra-dev mailing list