Anyone encountered a hang when making images ?

Kelly O'Hair kelly.ohair at oracle.com
Thu Aug 2 07:18:23 PDT 2012


On Aug 2, 2012, at 2:35 AM, Andrew Hughes wrote:

> ----- Original Message -----
>> Hi guys,
>> 
>> I'm  building on windows x64 system. And encountered this:
>> "
>> Ignoring (other) javax.xml.ws.wsaddressing.package-info : <any>
>>   ClassSymbol <any>
>> 1 warning
>> Modifying jdk/lib/ct.sym
>>  updating 25199 files
>> make[2]: Warning: File
>> `/cygdrive/e/openjdk-repo/jdk8-tl/build/mybuild/jdk/impsr
>> c/com/sun/corba/se/impl/logging/ActivationSystemException.java' has
>> modification
>> time 58 s in the future
>> Updating images/src.zip
>> make[2]: warning:  Clock skew detected.  Your build may be
>> incomplete.
>> Copying images/j2re-image/bin/attach.dll
>> 
>> "
>> Then the copy is hanging there...
>> 
>> Cygwin version is
>> "
>> $ uname -a
>> CYGWIN_NT-5.2-WOW64 shutvm46 1.7.16(0.262/5/3) 2012-07-20 22:55 i686
>> Cygwin
>> "
>> I replaced the make.exe to version 3.8.1
>> 
>> Is there any suggestion ? Is it because of the clock skew ?
>> 
>> --
>> Best Regards,
>> Sean Chou
>> 
> 
> Maybe.  Are you syncing via NTP?  Does Windows support that?

I use the gateway as the time server due to proxy problems getting to the public time servers, and do this:

# Setup time server on windows
if [ "${os}" = "windows" ] ; then
  # Use gateway for time server
  timeserver="`netstat -r | fgrep 0.0.0.0 | head -1 | awk '{print $3}'`"
  echo "Using time server ${timeserver}"
  net stop w32time
  net time /setsntp:${timeserver}
  net time /querysntp
  net start w32time
fi

Some windows expert can comment on how good this recipe is.

-kto

> -- 
> Andrew :)
> 
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
> 
> PGP Key: 248BDC07 (https://keys.indymedia.org/)
> Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
> 




More information about the build-infra-dev mailing list