svn commit: r338404 - head/sys/conf

Mark Millard marklmi at yahoo.com
Fri Aug 31 16:34:06 UTC 2018


On Fri, Aug 31, 2018 at 02:20:09PM +0000, Glen Barber wrote:
> > On Fri, Aug 31, 2018 at 08:51:29AM -0400, Ed Maste wrote:
> > > On 30 August 2018 at 22:46, Glen Barber <gjb at freebsd.org> wrote:
> > > >
> > > > As I look closer at the log, I have a sneaking suspicion this may have
> > > > been a transient.  I'm redoing the i386 build against the original
> > > > r338401 for i386 alone as a test, if nothing else, to see if it fails in
> > > > the same place.
> > > 
> > > What's the failure?
> > 
> >  >>> stage 3.1: building everything
> >  --------------------------------------------------------------
> >  In file included from /usr/src/sys/kern/genoffset.c:35:
> >  In file included from /usr/src/sys/sys/param.h:96:
> >  /usr/src/sys/sys/types.h:46:10: fatal error: 'machine/endian.h' file not found
> >  #include <machine/endian.h>
> >           ^~~~~~~~~~~~~~~~~~
> >  1 error generated.
> >  --- genoffset.o ---
> >  *** [genoffset.o] Error code 1
> > 
> > So far, 100% reproducible with an empty /usr/obj/.
> > 
> > > I see head/i386 is green in CI.
> > > 
> > 
> > Does CI prune .OBJDIR for each build?
> > 
> 
> Make that 75% reproducible.  I suspect there is a build race occurring.

ci.freebsd.org occasionally shows examples of this race. For example:

https://ci.freebsd.org/job/FreeBSD-head-powerpc-build/7454/consoleText

shows:

--- genoffset.o ---
/usr/src/sys/sys/types.h:46:28: error: machine/endian.h: No such file or directory
*** [genoffset.o] Error code 1

for -r338319 but the prior build (for -r338318) and
following build (for -r338320) worked fine.

-r338319 was for something that should make no difference
to the issue:

QUOTE
Remove trailing slash in pathname so that valid METALOG is created in the
NO_ROOT case of make packages.
END QUOTE

I've seen other occasional examples.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the svn-src-head mailing list