X ports trying to use dtrace
John Birrell
jb at what-creek.com
Mon Jun 9 21:22:24 UTC 2008
On Mon, Jun 09, 2008 at 03:29:02AM -0700, Garrett Cooper wrote:
> On Mon, Jun 9, 2008 at 3:12 AM, Kris Kennaway <kris at freebsd.org> 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
More information about the freebsd-current
mailing list