From owner-freebsd-stable@FreeBSD.ORG Fri May 11 18:27:33 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 870A0106566C for ; Fri, 11 May 2012 18:27:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 451148FC08 for ; Fri, 11 May 2012 18:27:33 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:839:5834:5e28:89f8] (unknown [IPv6:2001:7b8:3a7:0:839:5834:5e28:89f8]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 943425C37; Fri, 11 May 2012 20:27:32 +0200 (CEST) Message-ID: <4FAD5A17.1020200@FreeBSD.org> Date: Fri, 11 May 2012 20:27:35 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120425 Thunderbird/13.0 MIME-Version: 1.0 To: Jeff Kletsky References: <4FAC1965.7070800@wagsky.com> In-Reply-To: <4FAC1965.7070800@wagsky.com> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Two build problems -- "make memstick" and "make release" with -DWITHOUT_CLANG X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 18:27:33 -0000 On 2012-05-10 21:39, Jeff Kletsky wrote: > I'm trying to do bisection to locate when a specific bug appeared and > can replicate the issue when I boot from a memstick and use the LiveCD > option. This keeps any questions of "upgrade or install" out of the picture. ... > or the like, but a build with clang enabled takes me close to three > hours. Since the issue isn't clang-related, I'd like to be able to build > without clang to the point of having a bootable memstick. release(7) > suggests that the environment variable MAKE_FLAGS could be used to pass > flags, however > > # cd /usr/src/release > # export MAKE_FLAGS='-DWITHOUT_CLANG' > # ./generate_release.sh stable/9@226702 /usr/release/stable-9 ... > starts off nicely, but then eventually dies with > > ===> usr.bin/clang (install) > ===> usr.bin/clang/clang (install) > install -s -o root -g wheel -m 555 clang /usr/release/226702/usr/bin > install: clang: No such file or directory > *** Error code 71 Try putting WITHOUT_CLANG= in your /etc/src.conf instead. I tried a generate-release.sh with just that in my src.conf (and no make.conf), and it just completed successfully. I don't think it is safe to pass WITH_ and WITHOUT_ settings via MAKE_FLAGS, at least not for this particular case.