From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 30 00:40:08 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09AFC106566B for ; Thu, 30 Jul 2009 00:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D85498FC18 for ; Thu, 30 Jul 2009 00:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6U0e7EA040181 for ; Thu, 30 Jul 2009 00:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6U0e7ew040180; Thu, 30 Jul 2009 00:40:07 GMT (envelope-from gnats) Resent-Date: Thu, 30 Jul 2009 00:40:07 GMT Resent-Message-Id: <200907300040.n6U0e7ew040180@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, danm@prime.gushi.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F944106566B for ; Thu, 30 Jul 2009 00:38:07 +0000 (UTC) (envelope-from danm@s1.ezzi.net) Received: from s1.ezzi.net (s1.ezzi.net [66.199.235.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3EF8C8FC08 for ; Thu, 30 Jul 2009 00:38:07 +0000 (UTC) (envelope-from danm@s1.ezzi.net) Received: from s1.ezzi.net (localhost.ezzi.net [127.0.0.1]) by s1.ezzi.net (8.14.3/8.14.3) with ESMTP id n6U07kV0034839 for ; Wed, 29 Jul 2009 20:07:46 -0400 (EDT) (envelope-from danm@s1.ezzi.net) Received: (from root@localhost) by s1.ezzi.net (8.14.3/8.14.3/Submit) id n6U07kAt034838; Wed, 29 Jul 2009 20:07:46 -0400 (EDT) (envelope-from danm) Message-Id: <200907300007.n6U07kAt034838@s1.ezzi.net> Date: Wed, 29 Jul 2009 20:07:46 -0400 (EDT) From: danm@prime.gushi.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/137250: OPTIONS that change PREFIX cause an error after 'make config' X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: danm@prime.gushi.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 00:40:08 -0000 >Number: 137250 >Category: ports >Synopsis: OPTIONS that change PREFIX cause an error after 'make config' >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 00:40:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dan Mahoney >Release: FreeBSD 6.4-PRERELEASE i386 >Organization: Dan Mahoney >Environment: System: FreeBSD s1.ezzi.net 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #0: Sun Aug 31 00:40:44 EDT 2008 danm@s1.xxxx.net:/usr/obj/usr/src/sys/S1 i386 Fairly standard system. Ports cvsupped within hours of this report. >Description: On some 6.4 boxes (I have observed this on 6.4-PRERELEASE and 6.4-STABLE), when building the bind96 port, as "virgin", i.e. no previous configuration details in /var/db/ports/bind96, no work directory, etc, if you select the "overwrite base" option, you get an error code 2 on first make, with the following error: /usr/local/tmp/usr/local/ports/dns/bind96/work/.build_done.bind96._usr_local. If you then re-run make, the install proceeds as normal. >How-To-Repeat: 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/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop *** Error code 2 While subsequent "make" commands succeed, I can get the problem to manifest again by doing a 'make rmconfig; make' Oddly, 'make config; make' doesn't cause the problem: it appears it only manifests when the config happens as part of the generic "make" process. >Fix: >From discussion on -questions, it appears this is because the prefix changes, but that is part of the point of the option. >Release-Note: >Audit-Trail: >Unformatted: