Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2012 23:23:08 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        freebsd-x11@FreeBSD.org
Subject:   Upgrade of xorg-server to 1.12.0,1 fails with dtrace error
Message-ID:  <20120411232308.5c2007d5@cox.net>

next in thread | raw e-mail | index | archive | help
Just retrieved the xorg-dev/trunk tonight.  Everything installed OK
except for xorg-server.  Well, that and libglut, which failed to
install due to non-existent files in the do-install: target:

do-install:
    cd ${WRKSRC}/src/glut/glx; ${GMAKE} install
    ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
        ${WRKSRC}/include/GL/glutf90.h \
        ${PREFIX}/include/GL

Neither the src/glut/glx directory nor include/GL/glutf90.h exist in
the latest Mesa directory hierarchy.  I managed to upgrade mesa-demos
nonetheless by letting it install freeglut instead.

But the xorg-server errors have me totally confounded.  Anyone have any
clues as to what's going on here?

Making all in dix
gmake[1]: Entering directory
`/usr/ports/x11-servers/xorg-server/work/xorg-server-1.12.0/dix'
 GEN Xserver-dtrace.h
dtrace: failed to compile script ./Xserver.d:
"/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
gmake all-am
gmake[2]: Entering directory
`/usr/ports/x11-servers/xorg-server/work/xorg-server-1.12.0/dix'
 CC atom.lo
 CC     colormap.lo
 CC     cursor.lo
 CC     devices.lo
 CC     dispatch.lo
dispatch.c:1635:5: warning: declaration shadows a local variable
[-Wshadow] VALIDATE_DRAWABLE_AND_GC(stuff->dstDrawable, pDst,
DixWriteAccess); ^
../include/dix.h:91:6: note: expanded from:
        int rc = dixLookupDrawable(&(pDraw), drawID, client, M_ANY,
mode);\ ^
dispatch.c:1631:9: note: previous declaration is here
    int rc;
        ^
dispatch.c:1676:5: warning: declaration shadows a local variable
[-Wshadow] VALIDATE_DRAWABLE_AND_GC(stuff->dstDrawable, pdstDraw,
DixWriteAccess); ^
../include/dix.h:91:6: note: expanded from:
        int rc = dixLookupDrawable(&(pDraw), drawID, client, M_ANY,
mode);\ ^
dispatch.c:1672:9: note: previous declaration is here
    int rc;
        ^
2 warnings generated.
  CC     dixfonts.lo
  CC     dixutils.lo
  CC     enterleave.lo
  CC     events.lo
events.c:2059:67: warning: declaration shadows a variable in the global
scope [-Wshadow]
                      xEvent *events, Mask filter, InputClients
                      **clients)
                                                                  ^
../include/dix.h:124:28: note: previous declaration is here
extern _X_EXPORT ClientPtr clients[MAXCLIENTS];
                           ^
events.c:2145:19: warning: declaration shadows a variable in the global
scope [-Wshadow]
    InputClients *clients;
                  ^
../include/dix.h:124:28: note: previous declaration is here
extern _X_EXPORT ClientPtr clients[MAXCLIENTS];
                           ^
2 warnings generated.
  CC     eventconvert.lo
  CC     extension.lo
  CC     ffs.lo
  CC     gc.lo
  CC     getevents.lo
  CC     globals.lo
  CC     glyphcurs.lo
  CC     grabs.lo
  CC     initatoms.lo
  CC     inpututils.lo
  CC     pixmap.lo
  CC     privates.lo
  CC     property.lo
  CC     ptrveloc.lo
  CC     region.lo
  CC     registry.lo
  CC     resource.lo
  CC     selection.lo
  CC     swaprep.lo
  CC     swapreq.lo
  CC     tables.lo
  CC     touch.lo
touch.c:109:17: warning: declaration shadows a local variable [-Wshadow]
            int i;
                ^
touch.c:81:9: note: previous declaration is here
    int i;
        ^
1 warning generated.
  CC     window.lo
  CCLD   libdix.la
  CC     main.lo
  CCLD   libmain.la
  GEN    dtrace-dix.o
dtrace: failed to compile script ../dix/Xserver.d:
"/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
gmake[2]: *** [dtrace-dix.o] Error 1 gmake[2]: Leaving directory
`/usr/ports/x11-servers/xorg-server/work/xorg-server-1.12.0/dix'
gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory
`/usr/ports/x11-servers/xorg-server/work/xorg-server-1.12.0/dix' gmake:
*** [all-recursive] Error 1 *** [do-build] Error code 1

Stop in /usr/ports/x11-servers/xorg-server.
*** [build] Error code 1

Stop in /usr/ports/x11-servers/xorg-server.

-- 
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120411232308.5c2007d5>