Date: Thu, 3 May 2012 20:49:58 -0700 From: Tim Kientzle <tim@kientzle.com> To: AN <andy@neu.net> Cc: freebsd-current@freebsd.org Subject: Re: make installworld fails Message-ID: <FED09CC2-4BC4-43B6-A176-D0AED6B4C966@kientzle.com> In-Reply-To: <alpine.BSF.2.00.1205031625160.20755@mail.neu.net> References: <20120503120027.D14051065672@hub.freebsd.org> <alpine.BSF.2.00.1205031625160.20755@mail.neu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 3, 2012, at 1:34 PM, AN wrote: > Thu May 3 16:25:27 EDT 2012 >=20 > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #13 r234872: Tue May = 1 13:09:55 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 >=20 > # svn up > Updated to revision 234981 >=20 > I did build world/kernel, after booting into single user mode and = trying make installworld I get the following error: >=20 > /usr/src/Makefile Line:219 check date and time >=20 > I have seen this failure before, previously I was able to open the = make file and comment out the date and time check, but this time the = file seems corrupted, I am not able to open the file in vi. >=20 > What causes this check to fail? Is there any way to detect this = possibility before rebboting to single user? Try looking very critically at the system date and time: $ date This check is comparing the system time to the timestamps of the files on disks to try to detect whether your system clock is correct. Since the 'make' program relies on comparing timestamps, you can get very strange results if your system clock is not consistent. You can use the date utility to set the system clock to the approximately correct time (it doesn't need to be very exact). If you have networking, you can use "ntpdate pool.ntp.org" to set the clock from the network. Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FED09CC2-4BC4-43B6-A176-D0AED6B4C966>