Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2010 08:05:16 -0500
From:      Derek Tattersall <dlt@mebtel.net>
To:        Giorgos Keramidas <keramida@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: Buildworld failure
Message-ID:  <20101223130516.GA19544@oriental.arm.org>
In-Reply-To: <xeiaipykyi6n.fsf@kobe.laptop>
References:  <20101223002939.GA4682@oriental.arm.org> <xeiaipykyi6n.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
* Giorgos Keramidas <keramida@FreeBSD.org> [101223 06:30]:
> On Wed, 22 Dec 2010 19:29:39 -0500, Derek Tattersall <dlt@mebtel.net> wrote:
> > I blew away /usr/src and /usr/obj and re-cvsuped this morning.  I
> > attempted to buildworld, only to have the process die in the mkdep step.
> >
> > CC='clang' mkdep -f .depend -a
> > -I/usr/src/cddl/usr.bin/ctfmerge/../../../sys/cddl/compat/opensolaris
> > -I/usr/src/cddl/usr.bin/ctfmerge/../../../cddl/compat/opensolaris/include
> [...]
> > -DNEED_SOLARIS_BOOLEAN -I/usr/obj/usr/src/tmp/legacy/usr/include
> [...]
> > /usr/src/cddl/usr.bin/ctfmerge/../../../cddl/contrib/opensolaris/tools/ctf/cvt/util.c
> > In file included from /usr/src/cddl/usr.bin/ctfmerge/../../../cddl/contrib/opensolaris/tools/ctf/cvt/barrier.c:46:
> > /usr/src/cddl/usr.bin/ctfmerge/../../../cddl/contrib/opensolaris/tools/ctf/cvt/barrier.h:39:10:
> > fatal error: 'semaphore.h' file not found
> > #include <semaphore.h>
> >          ^
> > 1 error generated.
> > mkdep: compile failed
> 
> Which branch is this?  When was it last updated?  I see that you are
> using CC='clang', so my guess is you are building CURRENT, right?
> 
> If that's the case, can you try:
> 
>   - building without CC='clang', to see if the breakage is clang's fault
>   - if that fails, resync your CURRENT source and retry
> 
> NOTE: I did build a snapshot from /head at -r 216642 last afternoon and
> it worked fine with the default CC.  So if something broke *after* that
> revision try bisecting from -r 216642 to the version you built, to see
> if there's something that broke the build in-between.
This is using CURRENT, cvsup'ed Wednesday.  The same failure occurs with
clang and with gcc.  I note that there have been several changes in the
recent past in the obsolete files list regarding semaphore.h.  I will
try again, blowing away both /usr/src and /usr/obj and see if that has
any effect.  Bisection will have to wait until next week.
-- 
Best regards,
Derek Tattersall
dlt@mebtel.net		dlt666@yahoo.com		 dtatters@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101223130516.GA19544>