ports/137250: OPTIONS that change PREFIX cause an error after 'make config'

danm at prime.gushi.org danm at prime.gushi.org
Thu Jul 30 00:40:08 UTC 2009


>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 <danm at prime.gushi.org>
>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 at 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:



More information about the freebsd-ports-bugs mailing list