make world fails in usr.sbin/config?

Jeremy Chadwick freebsd at jdc.parodius.com
Mon May 24 12:29:48 UTC 2010


On Mon, May 24, 2010 at 02:21:44PM +0200, Stefan Bethke wrote:
> Am 24.05.2010 um 14:18 schrieb Jeremy Chadwick:
> 
> > 1) Were you using any "-j" flags during your make?  If so, try without it.
> > Sometimes these are known to cause oddities, even if occasionally.
> 
> Nope.
> 
> > 2) Make sure your system clock is correct and isn't drifting badly.
> > Highly recommend you use ntpdate to set the clock initially, then run
> > ntpd at all times.
> 
> # ntpq -p
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
> +lokschuppen.zs6 131.188.3.222    2 u   69  512  377   34.115    5.313   0.153
> *jachthafen.hans 131.188.3.222    2 u   52  512  377   33.966    4.757   0.554
> -ps.bucuo.de     192.53.103.108   2 u  185  512  377   39.567    7.895   0.268
> -svr02.teleport- 73.120.242.92    2 u  187  512  377   44.572    6.949   0.542
> -netzwerkteufel. 192.53.103.104   2 u  202  512  377   35.338    7.662   0.422
> +qraftwerk.de    192.53.103.108   2 u  141  512  377   52.505    5.228   0.256
> 
> I'll try a new checkout next.

Your clock looks OK (worst drift from a stratum 2 comparison is 5.313
seconds).

The only other thing I can think of would be to try doing this, to
ensure absolutely no corruption or oddities with the csup CVS DB file:

rm -fr /var/db/sup/src-all
rm -fr /usr/src/*
csup -h <server> -L 2 /usr/share/examples/cvsup/stable-supfile

All that said: I *have* seen the compiler error you've mentioned, but
usually a 2nd rebuild (after nuking /usr/obj/*) usually works.  Probably
some weird race condition.

For added posterity, it looks like usr.sbin/config has been mostly
untouched for quite some time, sans mkoptions.c and mkmakefile.c:

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/config/

I've rebuilt world a couple times in the past few days (on different
boxes, including one under a VMware Workstation VM which is going as I
write this), without issue.

-- 
| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list