From owner-svn-src-stable-9@FreeBSD.ORG Wed Apr 17 13:01:32 2013 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C6D5C3A4; Wed, 17 Apr 2013 13:01:32 +0000 (UTC) (envelope-from jlh@FreeBSD.org) Received: from caravan.chchile.org (caravan.chchile.org [178.32.125.136]) by mx1.freebsd.org (Postfix) with ESMTP id 8FE157D3; Wed, 17 Apr 2013 13:01:32 +0000 (UTC) Received: by caravan.chchile.org (Postfix, from userid 1000) id 79603C3FB4; Wed, 17 Apr 2013 12:54:33 +0000 (UTC) Date: Wed, 17 Apr 2013 14:54:33 +0200 From: Jeremie Le Hen To: Jeremy Chadwick Subject: Re: svn commit: r249549 - in stable/9/sys: amd64/conf i386/conf Message-ID: <20130417125433.GC30222@caravan.chchile.org> Mail-Followup-To: Jeremy Chadwick , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org References: <201304161609.r3GG9SID009937@svn.freebsd.org> <20130416161919.GA80626@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130416161919.GA80626@icarus.home.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 13:01:32 -0000 Hi Jeremy, On Tue, Apr 16, 2013 at 09:19:19AM -0700, Jeremy Chadwick wrote: > > Now that this has been enabled by default, I should warn folks of a > caveat that I found in the buildworld/buildkernel framework. It's > easiest to explain like this: > > 1. Install FreeBSD 9.x, svn checkout of stable/9, etc... > 2. Add WITHOUT_CDDL=true to /etc/src.conf > 3. Rebuild + install kernel/world per src/Makefile procedure > 4. Remove WITHOUT_CDDL=true from /etc/src.conf > 5. rm -fr /usr/obj/* > 6. Rebuild world > 7. Rebuild kernel -- fails, stating "ctfconvert: not found". > > For whatever reason the buildkernel bits make the assumption that > ctfconvert exists on the system (presumably in $PATH or possibly a > hard-coded), when ideally it should try to use the recently-built > version in /usr/obj first. I've tested this is a freshly installed 9.1-RELEASE jail and I haven't been biten by the bug you describe. ctfconvert(1) seems to be installed by default in 9.1-RELEASE, this is probably there problem didn't occur. I can easily verify this in the jail: % root@test9:/usr/src # ls -l /usr/bin/ctfconvert /usr/bin/vi /usr/bin/tail % -r-xr-xr-x 1 root wheel 371536 Dec 4 09:33 /usr/bin/ctfconvert % -r-xr-xr-x 1 root wheel 19848 Apr 17 06:28 /usr/bin/tail % -r-xr-xr-x 6 root wheel 346432 Apr 17 06:28 /usr/bin/vi Do you have a theory about why you've got the problem while I haven't? FYI, it seems 9.0-RELEASE also has ctfconvert(1): http://svnweb.freebsd.org/base/release/9.0.0/cddl/usr.bin/ctfconvert/ My guess is tha this might happen if you don't have /usr/bin/ctfconvert. I've just removed it and trying to build kernel again. Regards, -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.