From owner-freebsd-current@FreeBSD.ORG Mon May 26 15:13:29 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 F2D5A10656B0; Mon, 26 May 2008 15:13:28 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 575968FC25; Mon, 26 May 2008 15:13:27 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 589E1A0613; Mon, 26 May 2008 17:13:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 4CB5FA060A; Mon, 26 May 2008 17:13:26 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id E49B4A060B; Mon, 26 May 2008 17:13:23 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008052617132296-52198 ; Mon, 26 May 2008 17:13:22 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Mon, 26 May 2008 17:13:23 +0200 From: "Alexey Shuvaev" Date: Mon, 26 May 2008 17:13:23 +0200 To: Jiawei Ye Message-ID: <20080526151323.GB72053@wep4017.physik.uni-wuerzburg.de> Mail-Followup-To: Jiawei Ye , freebsd-current@freebsd.org, freebsd-ports@freebsd.org References: MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.17 (2007-11-01) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 05/26/2008 05:13:23 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 05/26/2008 05:13:25 PM, Serialize complete at 05/26/2008 05:13:25 PM Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: dtrace and xorg-server problem on -current 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, 26 May 2008 15:13:29 -0000 --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--