Strange windows 64bit failure
David Holmes
david.holmes at oracle.com
Wed Sep 5 19:03:03 PDT 2012
My eyes seem to agree with yours. We need to see if the rc file exists
and what it contains.
David
On 6/09/2012 1:36 AM, Kelly O'Hair wrote:
>
> 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