dns/djbdns [do-package] Error code 1

David Thiel lx at redundancy.redundancy.org
Mon Mar 3 03:53:31 UTC 2014

On 02/27, Chad J. Milios wrote:
> root at kakashi:~ # dnscache-conf dnscache dnslog /var/service/dnscache
> dnscache-conf: fatal: unable to switch to 
> /usr/ports/dns/djbdns/work/stage/usr/local: file does not exist
> root at kakashi:~ # strings `which dnscache-conf` | grep stage
> /usr/ports/dns/djbdns/work/stage/usr/local
> HOWEVER the software works properly ONCE it manages to get installed by 
> the normal `make clean install` method (where i have to try about 15 
> times with my fingers crossed and by the grace of God it works one of 
> the times) and strings reports no 'stage' anywhere in dnscache-conf

Bapt figured it out. The "it" target included the install target, making
"prog" the more appropriate build target. I'm still rather confused as
to why this made the issues timing-sensitive (and apparently only in
some environments), but it should work now. Similar issues may be
affecting other djb ports; I'll investigate that this week.

More information about the freebsd-ports mailing list