From owner-freebsd-current@FreeBSD.ORG Thu Dec 23 09:21:15 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 D80CF106566C for ; Thu, 23 Dec 2010 09:21:15 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0268FC13 for ; Thu, 23 Dec 2010 09:21:05 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: oBN93iCi010855 Received: from gkeramidas-glaptop.linux.gr ([74.125.57.36]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id oBN93iCi010855 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Dec 2010 11:03:50 +0200 From: Giorgos Keramidas To: dlt@mebtel.net References: <20101223002939.GA4682@oriental.arm.org> Date: Thu, 23 Dec 2010 10:03:44 +0100 In-Reply-To: <20101223002939.GA4682@oriental.arm.org> (Derek Tattersall's message of "Wed, 22 Dec 2010 19:29:39 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: current@FreeBSD.org Subject: Re: Buildworld failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 09:21:15 -0000 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.