From owner-freebsd-current@FreeBSD.ORG Thu Dec 23 13:05:19 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E874D1065670 for ; Thu, 23 Dec 2010 13:05:19 +0000 (UTC) (envelope-from dlt@mebtel.net) Received: from mail940c35.nsolutionszone.com (mail940c35.nsolutionszone.com [209.235.152.130]) by mx1.freebsd.org (Postfix) with ESMTP id 866F88FC0A for ; Thu, 23 Dec 2010 13:05:19 +0000 (UTC) X-POP-User: dlt.mebtel.net Received: from localhost (99-194-23-158.dyn.centurytel.net [99.194.23.158]) by mail940c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id oBND5GaF005186; Thu, 23 Dec 2010 13:05:17 GMT Date: Thu, 23 Dec 2010 08:05:16 -0500 From: Derek Tattersall To: Giorgos Keramidas Message-ID: <20101223130516.GA19544@oriental.arm.org> References: <20101223002939.GA4682@oriental.arm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CSC: 0 X-CHA: v=1.1 cv=4JSZwFbTLKO36TlkcVUHJUs4fiAFncqPKy8bWJ9Udmc= c=1 sm=1 a=GPr01A5e9VcA:10 a=kj9zAlcOel0A:10 a=5FSmvsqyZ8dLHOg+TByL6Q==:17 a=6I5d2MoRAAAA:8 a=xwPayol1AAAA:8 a=CjxXgO3LAAAA:8 a=pGLkceISAAAA:8 a=6ApqHr3GIy90PUMudN4A:9 a=9yiJ2GKYaGIkqEjCgWkA:7 a=z--BqVtu7B3GuJ99_2PlynPvOMgA:4 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=0Ob1RWNGeVAA:10 a=rC2wZJ5BpNYA:10 a=MSl-tDqOz04A:10 a=5FSmvsqyZ8dLHOg+TByL6Q==:117 Cc: current@FreeBSD.org Subject: Re: Buildworld failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dlt@mebtel.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2010 13:05:20 -0000 * Giorgos Keramidas [101223 06:30]: > On Wed, 22 Dec 2010 19:29:39 -0500, Derek Tattersall 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 > > ^ > > 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