Re: X ports trying to use dtrace

From: Garrett Cooper <yanefbsd_at_gmail.com>
Date: Mon, 9 Jun 2008 03:29:02 -0700
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"
> ./xorg-vfbserver-1.4_1,1.log:/usr/sbin/dtrace -G -C -o dtrace-dix.o -s
> ../dix/Xserver.d .libs/*.o
> ./xorg-vfbserver-1.4_1,1.log:dtrace: failed to compile script
> ../dix/Xserver.d: "/usr/lib/dtrace/psinfo.d", line 37: syntax error near
> "uid_t"
> ./xorg-nestserver-1.4_1,1.log:checking for dtrace... /usr/sbin/dtrace
> ./xorg-nestserver-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-nestserver-1.4_1,1.log:dtrace: failed to compile script ./Xserver.d:
> "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
> ./xorg-nestserver-1.4_1,1.log:/usr/sbin/dtrace -G -C -o dtrace-dix.o -s
> ../dix/Xserver.d .libs/*.o
> ./xorg-nestserver-1.4_1,1.log:dtrace: failed to compile script
> ../dix/Xserver.d: "/usr/lib/dtrace/psinfo.d", line 37: syntax error near
> "uid_t"
> ./xephyr-1.4_1.log:checking for dtrace... /usr/sbin/dtrace
> ./xephyr-1.4_1.log:/usr/sbin/dtrace -C -h -o Xserver-dtrace.h -s ./Xserver.d
>  || cp Xserver-dtrace.h.in Xserver-dtrace.h
> ./xephyr-1.4_1.log:dtrace: failed to compile script ./Xserver.d:
> "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
> ./xephyr-1.4_1.log:/usr/sbin/dtrace -G -C -o dtrace-dix.o -s
> ../dix/Xserver.d .libs/*.o
> ./xephyr-1.4_1.log:dtrace: failed to compile script ../dix/Xserver.d:
> "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
> ./xorg-dmx-1.4_3,1.log:checking for dtrace... /usr/sbin/dtrace
> ./xorg-dmx-1.4_3,1.log:/usr/sbin/dtrace -C -h -o Xserver-dtrace.h -s
> ./Xserver.d  || cp Xserver-dtrace.h.in Xserver-dtrace.h
> ./xorg-dmx-1.4_3,1.log:dtrace: failed to compile script ./Xserver.d:
> "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
> ./xorg-dmx-1.4_3,1.log:/usr/sbin/dtrace -G -C -o dtrace-dix.o -s
> ../dix/Xserver.d .libs/*.o
> ./xorg-dmx-1.4_3,1.log:dtrace: failed to compile script ../dix/Xserver.d:
> "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
>
> What is the solution here?
>
> Kris

--with-dtrace=no? I don't have X11 required libs on my server so I
can't verify this usage.
-Garrett
Received on Mon Jun 09 2008 - 08:29:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC