From owner-freebsd-current@FreeBSD.ORG Mon Jun 9 21:22:24 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAE23106564A; Mon, 9 Jun 2008 21:22:24 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEF48FC14; Mon, 9 Jun 2008 21:22:24 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 10E8973301; Mon, 9 Jun 2008 21:22:24 +0000 (GMT) Date: Mon, 9 Jun 2008 21:22:23 +0000 From: John Birrell To: Garrett Cooper Message-ID: <20080609212223.GA39435@what-creek.com> References: <484D0215.9030200@FreeBSD.org> <7d6fde3d0806090329n3ef064f9s9ae029aa3b8649bf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d6fde3d0806090329n3ef064f9s9ae029aa3b8649bf@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: John Birrell , FreeBSD Current Subject: Re: X ports trying to use dtrace X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 21:22:24 -0000 On Mon, Jun 09, 2008 at 03:29:02AM -0700, Garrett Cooper wrote: > On Mon, Jun 9, 2008 at 3:12 AM, Kris Kennaway wrote: > > A number of X ports are auto-detecting dtrace and trying to use it during > > their build: > > > > ./xorg-vfbserver-1.4_1,1.log:checking for dtrace... /usr/sbin/dtrace > > ./xorg-vfbserver-1.4_1,1.log:/usr/sbin/dtrace -C -h -o Xserver-dtrace.h -s > > ./Xserver.d || cp Xserver-dtrace.h.in Xserver-dtrace.h > > ./xorg-vfbserver-1.4_1,1.log:dtrace: failed to compile script ./Xserver.d: > > "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t" > > > > What is the solution here? > > --with-dtrace=no? I don't have X11 required libs on my server so I > can't verify this usage. I think that is the solution. We don't support userland tracing yet. The Xorg build is trying to run dtrace on a kernel with no CTF data built in. That's why the uid_t type isn't defined. -- John Birrell