---> Fetching mesa ---> Verifying checksum(s) for mesa ---> Extracting mesa ---> Applying patches to mesa ---> Configuring mesa ---> Building mesa Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macp orts_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.4" && make default INSTALL_DIR=/opt/local " r eturned error 2 Command output: :1:1: warning: this is the location of the previous definition gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -g gdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include - I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_ SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN _DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" drisw_glx.c -o drisw_glx.o gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -g gdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include - I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_ SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN _DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" dri_common.c -o dri_common.o gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -g gdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include - I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_ SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN _DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" dri_glx.c -o dri_glx.o gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -g gdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include - I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_ SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN _DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" XF86dri.c -o XF86dri.o gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -g gdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include - I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_ SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN _DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" glxhash.c -o glxhash.o gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -g gdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include - I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_ SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN _DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" dri2_glx.c -o dri2_glx.o gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -g gdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include - I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_ SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN _DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" dri2.c -o dri2.o In file included from /opt/local/include/X11/Xlib.h:64, from /opt/local/include/X11/Xlibint.h:43, from dri2.c:35: /opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE" redefined :1:1: warning: this is the location of the previous definition In file included from dri2.c:40: dri2.h:36:35: error: X11/extensions/Xfixes.h: No such file or directory In file included from dri2.c:40: dri2.h:67: error: parse error before 'XserverRegion' dri2.c:279: error: parse error before 'XserverRegion' dri2.c:281: warning: no previous prototype for 'DRI2CopyRegion' dri2.c: In function 'DRI2CopyRegion': dri2.c:282: error: 'dpy' undeclared (first use in this function) dri2.c:282: error: (Each undeclared identifier is reported only once dri2.c:282: error: for each function it appears in.) dri2.c:292: error: 'drawable' undeclared (first use in this function) dri2.c:293: error: 'region' undeclared (first use in this function) dri2.c:294: error: 'dest' undeclared (first use in this function) dri2.c:295: error: 'src' undeclared (first use in this function) make[2]: *** [dri2.o] Error 1 make[1]: *** [subdirs] Error 1 make: *** [default] Error 1 Error: The following dependencies failed to build: xorg-libs mesa xorg-libAppleWM autoconf automake xorg-applewm proto xorg-libFS xorg-fontsproto xorg-libXScrnSaver xorg-scrnsaverproto xorg-libXTrap xorg-trapproto xorg-libXaw xpm xorg-libXcomposite xorg-compositeproto xorg-fixesproto xorg-libXfixes xorg-libXcursor xorg-libXdamage xorg- damageproto xorg-libXevie xorg-evieproto xorg-libXfont bzip2 xorg-fontcacheproto xorg-libfontenc xorg-libXfontca che xorg-libXinerama xorg-xineramaproto xorg-libXp xorg-printproto xorg-libXrandr xorg-randrproto xorg-libXres x org-resourceproto xorg-libXtst xorg-recordproto xorg-libXv xorg-videoproto xorg-libXvMC xorg-libXxf86dga xorg-xf 86dgaproto xorg-libXxf86misc xorg-xf86miscproto xorg-libXxf86vm xorg-xf86vidmodeproto xorg-libdmx xorg-dmxproto xorg-liblbxutil xorg-liboldX xorg-libxcb python26 db46 gdbm sqlite3 tk xorg-libpthread-stubs xorg-xcb-proto libx ml2 xorg-libxkbfile xorg-libxkbui xorg-xcb-util Error: Status 1 encountered during processing.