From owner-freebsd-questions@FreeBSD.ORG Wed Jul 29 21:25:46 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22F93106566B for ; Wed, 29 Jul 2009 21:25:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id A1D938FC15 for ; Wed, 29 Jul 2009 21:25:45 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 5894 invoked by uid 399); 29 Jul 2009 21:25:43 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 29 Jul 2009 21:25:43 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A70BE55.60405@FreeBSD.org> Date: Wed, 29 Jul 2009 14:25:41 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090728) MIME-Version: 1.0 To: "Dan Mahoney, System Admin" References: <200907282158.43397.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A6FF497.5010808@FreeBSD.org> <4A709B81.5070905@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Don't know how to make /usr/ports/dns/bind96/work/.build.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 21:25:46 -0000 Dan Mahoney, System Admin wrote: > The fact that the error occurs AT ALL is the bug and what is > counterintuitive, and many people would not think to try typing "make" > again, and instead would just assume the thing's broken. Ok, I actually misunderstood the problem that you were reporting. I thought that the reference to .build_done.bind96._usr_local indicated that the port had already been built once, but that is not the case. To reproduce the bug, you need to do the following: 1. Make sure there is nothing in /var/db/ports/bind96 2. cd /usr/ports/dns/bind96 3. make 4. Enable the "replace base" option 5. Save the config You will then see the following error: make: don't know how to make /usr/local/tmp/usr/local/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop *** Error code 2 I think Mel is right that the problem is changing PREFIX, but that's the whole purpose of the option. Could you please open a PR about this with a subject something to the effect of "OPTIONS that change PREFIX cause an error after 'make config'" and describe how to reproduce this? Thanks, Doug -- This .signature sanitized for your protection