Date: Mon, 26 May 2008 17:13:23 +0200 From: "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> To: Jiawei Ye <leafy7382@gmail.com> Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: dtrace and xorg-server problem on -current Message-ID: <20080526151323.GB72053@wep4017.physik.uni-wuerzburg.de> In-Reply-To: <c21e92e20805260749m5e18e42p9df638976ee2e2b8@mail.gmail.com> References: <c21e92e20805260749m5e18e42p9df638976ee2e2b8@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 26, 2008 at 10:49:51PM +0800, Jiawei Ye wrote: > Hi, > I get this weird building problem with xorg-server on -current with dtrace: > > creating libxpstubs.la > (cd .libs && rm -f libxpstubs.la && ln -s ../libxpstubs.la libxpstubs.la) > /usr/sbin/dtrace -G -C -o dtrace-dix.o -s ../dix/Xserver.d .libs/*.o > dtrace: failed to compile script ../dix/Xserver.d: > "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t" > *** Error code 1 > > [snip] > > Something I've missed here? > > Jiawei > Hello! Please, have a look at a small thread: "http://lists.freebsd.org/pipermail/freebsd-current/2008-May/085584.html" "http://lists.freebsd.org/pipermail/freebsd-current/2008-May/085598.html" "http://lists.freebsd.org/pipermail/freebsd-current/2008-May/085602.html" In my case the problem was in some old binaries not being swept out after I have tried John Birrel's dtrace enabled snapshot in february. Check you system (for examlpe "ll /usr/sbin/dtrace" and etc.). If your system is really up-to-date and the problem is caused by the very recent dtrace import, then try the following patch to the x11-servers/xorg-server/Makefile. Alexey. --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch --- xorg-server/Makefile.old 2008-05-26 17:11:31.000000000 +0200 +++ xorg-server/Makefile 2008-05-26 17:12:07.000000000 +0200 @@ -37,7 +37,7 @@ USE_PERL5_BUILD=yes CONFIGURE_ARGS= --with-mesa-source=${WRKDIR}/Mesa-7.0.1 \ --disable-dmx --disable-xvfb --disable-xnest --disable-xprint \ - --localstatedir=/var + --localstatedir=/var --without-dtrace MAN1= Xorg.1 \ Xserver.1 \ --bg08WKrSYDhXBjb5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080526151323.GB72053>