Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2018 09:34:00 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        gjb@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r338404 - head/sys/conf
Message-ID:  <46CC762D-410A-4A23-902F-89452565B34D@yahoo.com>

next in thread | raw e-mail | index | archive | help
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.
> > >=20
> > > What's the failure?
> >=20
> >  >>> 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
> >=20
> > So far, 100% reproducible with an empty /usr/obj/.
> >=20
> > > I see head/i386 is green in CI.
> > >=20
> >=20
> > Does CI prune .OBJDIR for each build?
> >=20
>=20
> 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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46CC762D-410A-4A23-902F-89452565B34D>