From nobody@FreeBSD.org  Wed Jan  2 02:11:45 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2A62AA66
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 Jan 2013 02:11:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id ECA768FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 Jan 2013 02:11:44 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r022BiXf022201
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 2 Jan 2013 02:11:44 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r022BiQl022186;
	Wed, 2 Jan 2013 02:11:44 GMT
	(envelope-from nobody)
Message-Id: <201301020211.r022BiQl022186@red.freebsd.org>
Date: Wed, 2 Jan 2013 02:11:44 GMT
From: Deniel <devzone.my@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dtrace makeoptions WITH_CTF=1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174889
>Category:       misc
>Synopsis:       dtrace makeoptions WITH_CTF=1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markj
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 02:20:00 UTC 2013
>Closed-Date:    Sun Jan 13 04:19:13 UTC 2013
>Last-Modified:  Sun Jan 13 04:19:13 UTC 2013
>Originator:     Deniel
>Release:        10.0-CURRENT
>Organization:
None
>Environment:
# uname -rpo
FreeBSD 10.0-CURRENT amd64

>Description:
# makeoptions WITH_CTF=1
makeoptions: Command not found.

# grep -i "WITH_CTF" /etc/src.conf
WITH_CTF=true

>How-To-Repeat:
# dtrace -h
dtrace: failed to establish error handler: "/usr/lib/dtrace/psinfo.d", line 2: type redeclared: struct dev                      info

>Fix:


>Release-Note:
>Audit-Trail:

From: Mark Johnston <markj@freebsd.org>
To: bug-followup@FreeBSD.org, devzone.my@gmail.com
Cc:  
Subject: Re: misc/174889: dtrace makeoptions WITH_CTF=1
Date: Tue, 1 Jan 2013 21:52:46 -0500

 Hello,
 
 Can you try one of the workarounds in bin/171678 and see if that solves
 your problem?
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/171678
 
 That is, either remove the "depends_on" directive from
 /usr/lib/dtrace/io.d, or apply the patch from that PR and rebuild
 libdtrace. I can reproduce your problem using libdtrace from head, but
 the patch fixes it for me.
 
 The steps to apply the patch and rebuild the library are (roughly)
 
 # cd /usr/src
 # patch -p1 < <patch file>
 # cd cddl/lib/libdtrace
 # make && make install
 
 Thanks!
 -Mark
State-Changed-From-To: open->feedback 
State-Changed-By: markj 
State-Changed-When: Wed Jan 9 00:30:59 UTC 2013 
State-Changed-Why:  
I will take this. As mentioned, this is a duplicate of bin/171678; I 
will close it in a few days if there is no reply from the submitter. 


Responsible-Changed-From-To: freebsd-bugs->markj 
Responsible-Changed-By: markj 
Responsible-Changed-When: Wed Jan 9 00:30:59 UTC 2013 
Responsible-Changed-Why:  
I will take this. As mentioned, this is a duplicate of bin/171678; I 
will close it in a few days if there is no reply from the submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174889 
State-Changed-From-To: feedback->closed 
State-Changed-By: markj 
State-Changed-When: Sun Jan 13 04:19:12 UTC 2013 
State-Changed-Why:  
Duplicate of bin/171678. 

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