From nobody@FreeBSD.org  Fri Jan  8 02:59:12 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4CC3C106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Jan 2010 02:59:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3C2808FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Jan 2010 02:59:12 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o082xBDL024794
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Jan 2010 02:59:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o082xBhZ024793;
	Fri, 8 Jan 2010 02:59:11 GMT
	(envelope-from nobody)
Message-Id: <201001080259.o082xBhZ024793@www.freebsd.org>
Date: Fri, 8 Jan 2010 02:59:11 GMT
From: eric <eric_huang@living101.com.tw>
To: freebsd-gnats-submit@FreeBSD.org
Subject: error while building freebsd-sa-10:01.bind
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         142459
>Category:       kern
>Synopsis:       [build] error while building freebsd-sa-10:01.bind
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    secteam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 08 03:00:09 UTC 2010
>Closed-Date:    Sat Feb 13 19:47:16 UTC 2010
>Last-Modified:  Sat Feb 13 19:47:16 UTC 2010
>Originator:     eric
>Release:        6.4-STABLE
>Organization:
living101
>Environment:
FreeBSD mail.greentravel.com.tw 6.4-STABLE FreeBSD 6.4-STABLE #1: Tue Oct  6 09:38:58 CST 2009     root@mail.greentravel.com.tw:/usr/obj/usr/src/sys/mykernel_SMP  i386
>Description:
Following the FreeBSD-SA-10:01.bind Security Advisory command to patch bind9 
than execute the following commands step:
# cd /usr/src/usr.sbin/named
# make obj && make depend && make && make install

than appear the error:
/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c: In function `query_find':
/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: `dboptions' undeclared (first use in this function)
/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: (Each undeclared identifier is reported only once
/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2582: error: for each function it appears in.)
/usr/src/usr.sbin/named/../../contrib/bind9/bin/named/query.c:2589: error: `tmprdataset' undeclared (first use in this function)
*** Error code 1

>How-To-Repeat:
# cd /usr/src
# patch < /path/to/patch
# cd /usr/src/lib/bind
# make obj && make depend && make && make install
# cd /usr/src/usr.sbin/named
# make obj && make depend && make && make install


>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jan 11 09:45:20 UTC 2010 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142459 
Responsible-Changed-From-To: freebsd-bugs->secteam 
Responsible-Changed-By: bz 
Responsible-Changed-When: Mon Jan 11 18:01:43 UTC 2010 
Responsible-Changed-Why:  
Related to SA10:01. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142459 

From: "Bjoern A. Zeeb" <bz@FreeBSD.org>
To: bug-followup@FreeBSD.org, eric_huang@living101.com.tw
Cc:  
Subject: Re: kern/142459: [build] error while building freebsd-sa-10:01.bind
Date: Mon, 11 Jan 2010 18:05:57 +0000 (UTC)

 Hi,
 
 can you please let us know which version of FreeBSD exactly you are
 running (if it's stable, from when) and which patch you tried?
 
 /bz
 
 -- 
 Bjoern A. Zeeb         It will not break if you know what you are doing.
State-Changed-From-To: open->feedback 
State-Changed-By: bz 
State-Changed-When: Mon Jan 18 12:46:44 UTC 2010 
State-Changed-Why:  
Feedback has been solicited a week ago; change state as there 
does not seem to be progress (no reply yet). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142459 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Feb 13 19:47:15 UTC 2010 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142459 
>Unformatted:
