Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 03:09:00 -0400 (EDT)
From:      "Dan Mahoney, System Admin" <danm@prime.gushi.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports@FreeBSD.org, questions@FreeBSD.org, freebsd-questions@FreeBSD.org
Subject:   Re: Don't know how to make /usr/ports/dns/bind96/work/.build....
Message-ID:  <alpine.BSF.2.00.0907290307430.65785@prime.gushi.org>
In-Reply-To: <4A6FF497.5010808@FreeBSD.org>
References:  <alpine.BSF.2.00.0907290019001.53293@prime.gushi.org> <200907282158.43397.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <4A6FF497.5010808@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Jul 2009, Doug Barton wrote:

> Mel Flynn wrote:
>> On Tuesday 28 July 2009 20:24:27 Dan Mahoney, System Admin wrote:
>>
>>> make: don't know how to make
>>> /usr/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop
>>> *** Error code 2
>>
>>> Someone else had the same problem, and they also chose overwrite-base:
>>>
>>> http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-08/msg00035.
>>> html
>>>
>>> But it was dismissed because he was using "sudo", however the real reason
>>> is because this problem goes away a second time.
>>
>> Most likely because that option changes PREFIX, so the BUILD_COOKIE changed,
>> but the target was already in make's list of targets to make. After options
>> are stored in /var/db/ports, BUILD_COOKIE will end in ._usr.
>
> I believe Mel is right here. 'make clean ; make config ; make' worked
> for me.

As does a second make after getting this error, but it's nonintuitive, and 
probably a ports bug.

-Dan

-- 

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0907290307430.65785>