Re: buildworld question.
- In reply to: Jeffrey Bouquet: "Re: buildworld question."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Nov 2021 21:26:15 UTC
On Thu, Nov 11, 2021, 2:24 PM Jeffrey Bouquet <jbtakk@iherebuywisely.com> wrote: > > > On Thu, 11 Nov 2021 08:53:47 -0700, Warner Losh <imp@bsdimp.com> wrote: > > > On Thu, Nov 11, 2021 at 5:48 AM Jeffrey Bouquet < > jbtakk@iherebuywisely.com> > > wrote: > > > > > Apologies if this applies to STABLE 13, but git is involved... > > > buildworld is failing 4 minutes or so in. > > > would it be useful to re-git the /usr/src? > > > Is there a way to run "make buildworld" for a LESS terse error result? > > > Any other 3rd method to debug the error? > > > > > > > .......................................................................................... > > > /usr/local/bin/clang12 ..... -o machdep_ldisx.o > > > In file included from /usr/src/lib/libc/gdtoa/machdep_ldisx.c:45: > > > In file included from /usr/src/contrib/gdtoa/gdtoaimp.h:202: > > > In file included from /usr/src/include/pthread.h:49: > > > /usr/src/include/time.h: fatal error: 'sys/_clock_id.h' file not found > > > #include <sys/_clock_id.h> > > > > ......................................................................... > > > I also suspect the missing file might be a malformed missing > > > symlink instead... because the file exists at least once. > > > The error does not indicate from what [ 2nd ] subdir it, or a symlink, > is > > > missing ?? > > > > > > src.conf has several lines such as WITHOUT_CPP=yes, meant I think > > > to reduce build times if that matters. > > > > > > It likely does. It likely means that that file wasn't properly staged and > > so the build is failing. > > > > I'd bisect the file of omissions to see if that's the cause. I'd start by > > removing them all > > and seeing if the problem persists. Not all combinations are supported, > nor > > are > > the vast majority of all bad combinations detected with a nice error > > message. > > > > Warner > > > Same error with the file removed. Next step remove /usr/src and re-git I Try 'git reset --hard'. That will give you a clean tree. Also, what does git status say? >