From owner-freebsd-current@FreeBSD.ORG Sat Aug 6 00:00:48 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15D2A16A421 for ; Sat, 6 Aug 2005 00:00:48 +0000 (GMT) (envelope-from caelian@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D95FB43D48 for ; Sat, 6 Aug 2005 00:00:46 +0000 (GMT) (envelope-from caelian@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so610973rne for ; Fri, 05 Aug 2005 17:00:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=nKqpvqNvmtTK5RV/i7yYtn+IEByuRIc27Mp45P2TSMqDJbinv8ek480qxB4LFSFlM2+WaB2dk2rZpH+Zg8VxvU+qCJJCOYF6Gdc6Ci0rEL40ZvCukxbuUoXrNPip+kb42r23JM023zx/F+iL+gxXZByhWML9j3FR/uujrQf6EzA= Received: by 10.39.2.26 with SMTP id e26mr1570054rni; Fri, 05 Aug 2005 17:00:46 -0700 (PDT) Received: from ?192.168.15.122? ([68.190.230.198]) by mx.gmail.com with ESMTP id j20sm1871100rnf.2005.08.05.17.00.45; Fri, 05 Aug 2005 17:00:45 -0700 (PDT) From: Pascal Hofstee To: Ruslan Ermilov In-Reply-To: <20050805235059.GE48504@ip.net.ua> References: <1123260641.69686.4.camel@synergy.charterpipeline.net.lan> <1123282764.53733.3.camel@synergy.charterpipeline.net.lan> <42F3F6A1.7040608@alumni.rice.edu> <20050805235059.GE48504@ip.net.ua> Content-Type: text/plain Date: Fri, 05 Aug 2005 17:00:27 -0700 Message-Id: <1123286427.47742.6.camel@synergy.charterpipeline.net.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.3.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@freebsd.org, current@freebsd.org Subject: Re: amd64 buildworld broken ... 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: Sat, 06 Aug 2005 00:00:48 -0000 On Sat, 2005-08-06 at 02:50 +0300, Ruslan Ermilov wrote: > On Fri, Aug 05, 2005 at 06:30:41PM -0500, Jonathan Noack wrote: > > >Well .. it looks like make cleanworld doesn't clean up /usr/obj/lib32 so > > >after manually issuing an "rm -Rf /usr/obj/lib32" buildworld still > > >breaks .. but in a different location now. > > > > I haven't seen any tinderbox failures recently so I think amd64 HEAD > > builds. Try "rm -rf /usr/obj/*". Coupled with a new /usr/src (which > > you already have), that should get you a clean build environment. > > > I'd also suggest running "env -i /usr/bin/make buildworld > __MAKE_CONF=/dev/null", for the best known cleanness. I had another close look at my /etc/make.conf when it suddenly hit me. I have not yet been able to confirm buildworld indeed no longer breaks ... but i think i found the source of my problem. I have been trying to use ccache for buildworlds a little while back ... but never could get it to pass building libcrypto.so.4 (iirc) .. but it worked perfectly for my ports tree. So i thought i had properly disabled ccache for /usr/src based builds by removing the /usr/src/ check that normally enables the usage of ccache as follows: .if !defined(NOCCACHE) #.if ${.CURDIR:M/usr/src*} || ${.CURDIR:M/usr/ports*} .if ${.CURDIR:M/usr/ports*} CC=/usr/local/libexec/ccache/cc CXX=/usr/local/libexec/ccache/c++ .else CC=cc CXX=c++ .endif .else CC=/usr/bin/cc CXX=/usr/bin/c++ .endif it just hit me that this makes /usr/src use the bottom CC=/usr/bin/cc section ... instead of the supposed CC=cc section. I am almost positive this indeed is what broke my buildworld. I apologize for the linenoise. I am currently running a new buildworld with the ccache bits completely removed from my make.conf to confirm this was the source of my buildworld breakage but i am about 99.99% sure. With kind regards, Pascal Hofstee