[MacPorts] #20578: mesa fails to build
MacPorts
noreply at macports.org
Thu Aug 6 06:36:47 PDT 2009
#20578: mesa fails to build
--------------------------------------+-------------------------------------
Reporter: bug@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: mesa
--------------------------------------+-------------------------------------
mesa fails to build. might be a missing dependency?
{{{
mbp:~ me$ sudo port install mesa
---> Building mesa
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.4.3"
&& make -j3 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0
CXX=/usr/bin/g++-4.0 " returned error 2
Command output: glxclient.h:429: error: syntax error before '}' token
In file included from clientattrib.c:32:
glxclient.h:294: error: syntax error before 'GLXContextTag'
glxclient.h:294: warning: no semicolon at end of struct or union
glxclient.h:429: error: syntax error before '}' token
make[2]: *** [compsize.o] Error 1
clientattrib.c: In function 'do_enable_disable':
clientattrib.c:42: error: dereferencing pointer to incomplete type
clientattrib.c:50: error: dereferencing pointer to incomplete type
clientattrib.c:50: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__indirect_glPushClientAttrib':
clientattrib.c:72: error: dereferencing pointer to incomplete type
clientattrib.c:73: error: dereferencing pointer to incomplete type
clientattrib.c:75: error: dereferencing pointer to incomplete type
clientattrib.c:81: error: dereferencing pointer to incomplete type
clientattrib.c:91: error: dereferencing pointer to incomplete type
clientattrib.c:91: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__indirect_glPopClientAttrib':
clientattrib.c:100: error: dereferencing pointer to incomplete type
clientattrib.c:101: error: dereferencing pointer to incomplete type
clientattrib.c:104: error: dereferencing pointer to incomplete type
clientattrib.c:109: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__glFreeAttributeState':
clientattrib.c:132: error: dereferencing pointer to incomplete type
clientattrib.c:133: error: dereferencing pointer to incomplete type
make[2]: *** [clientattrib.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Error: Status 1 encountered during processing.
}}}
{{{
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port mesa.
DEBUG: Requested variant i386 is not provided by port mesa.
DEBUG: Requested variant x11 is not provided by port mesa.
DEBUG: Requested variant no_x11 is not provided by port mesa.
DEBUG: Requested variant atsui is not provided by port mesa.
DEBUG: Requested variant dbus is not provided by port mesa.
DEBUG: Requested variant macosx is not provided by port mesa.
DEBUG: Requested variant quartz is not provided by port mesa.
DEBUG: Executing variant hw_render provides hw_render
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
/xorg-glproto
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-
glproto
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default
universal variant
DEBUG: Requested variant darwin is not provided by port xorg-glproto.
DEBUG: Requested variant i386 is not provided by port xorg-glproto.
DEBUG: Requested variant x11 is not provided by port xorg-glproto.
DEBUG: Requested variant no_x11 is not provided by port xorg-glproto.
DEBUG: Requested variant atsui is not provided by port xorg-glproto.
DEBUG: Requested variant dbus is not provided by port xorg-glproto.
DEBUG: Requested variant macosx is not provided by port xorg-glproto.
DEBUG: Requested variant quartz is not provided by port xorg-glproto.
DEBUG: Searching for dependency: xorg-glproto
DEBUG: Found Dependency: receipt exists for xorg-glproto
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
/xorg-dri2proto
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-
dri2proto
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default
universal variant
DEBUG: Requested variant darwin is not provided by port xorg-dri2proto.
DEBUG: Requested variant i386 is not provided by port xorg-dri2proto.
DEBUG: Requested variant x11 is not provided by port xorg-dri2proto.
DEBUG: Requested variant no_x11 is not provided by port xorg-dri2proto.
DEBUG: Requested variant atsui is not provided by port xorg-dri2proto.
DEBUG: Requested variant dbus is not provided by port xorg-dri2proto.
DEBUG: Requested variant macosx is not provided by port xorg-dri2proto.
DEBUG: Requested variant quartz is not provided by port xorg-dri2proto.
DEBUG: Searching for dependency: xorg-dri2proto
DEBUG: Found Dependency: receipt exists for xorg-dri2proto
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
/xorg-libXfixes
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-
libXfixes
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port xorg-libXfixes.
DEBUG: Requested variant i386 is not provided by port xorg-libXfixes.
DEBUG: Requested variant x11 is not provided by port xorg-libXfixes.
DEBUG: Requested variant no_x11 is not provided by port xorg-libXfixes.
DEBUG: Requested variant atsui is not provided by port xorg-libXfixes.
DEBUG: Requested variant dbus is not provided by port xorg-libXfixes.
DEBUG: Requested variant macosx is not provided by port xorg-libXfixes.
DEBUG: Requested variant quartz is not provided by port xorg-libXfixes.
DEBUG: Searching for dependency: xorg-libXfixes
DEBUG: Found Dependency: receipt exists for xorg-libXfixes
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
/xorg-libXi
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-
libXi
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port xorg-libXi.
DEBUG: Requested variant i386 is not provided by port xorg-libXi.
DEBUG: Requested variant x11 is not provided by port xorg-libXi.
DEBUG: Requested variant no_x11 is not provided by port xorg-libXi.
DEBUG: Requested variant atsui is not provided by port xorg-libXi.
DEBUG: Requested variant dbus is not provided by port xorg-libXi.
DEBUG: Requested variant macosx is not provided by port xorg-libXi.
DEBUG: Requested variant quartz is not provided by port xorg-libXi.
DEBUG: Searching for dependency: xorg-libXi
DEBUG: Found Dependency: receipt exists for xorg-libXi
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11
/xorg-libXmu
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-
libXmu
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port xorg-libXmu.
DEBUG: Requested variant i386 is not provided by port xorg-libXmu.
DEBUG: Requested variant x11 is not provided by port xorg-libXmu.
DEBUG: Requested variant no_x11 is not provided by port xorg-libXmu.
DEBUG: Requested variant atsui is not provided by port xorg-libXmu.
DEBUG: Requested variant dbus is not provided by port xorg-libXmu.
DEBUG: Requested variant macosx is not provided by port xorg-libXmu.
DEBUG: Requested variant quartz is not provided by port xorg-libXmu.
DEBUG: Searching for dependency: xorg-libXmu
DEBUG: Found Dependency: receipt exists for xorg-libXmu
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/makedepend
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/makedepend
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port makedepend.
DEBUG: Requested variant i386 is not provided by port makedepend.
DEBUG: Requested variant x11 is not provided by port makedepend.
DEBUG: Requested variant no_x11 is not provided by port makedepend.
DEBUG: Requested variant atsui is not provided by port makedepend.
DEBUG: Requested variant dbus is not provided by port makedepend.
DEBUG: Requested variant macosx is not provided by port makedepend.
DEBUG: Requested variant quartz is not provided by port makedepend.
DEBUG: Searching for dependency: makedepend
DEBUG: Didn't find receipt, going to depspec regex for: makedepend
DEBUG: Found Dependency: path: /usr/X11/bin filename: makedepend regex:
^makedepend$
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/glut
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/glut
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port glut.
DEBUG: Requested variant i386 is not provided by port glut.
DEBUG: Requested variant x11 is not provided by port glut.
DEBUG: Requested variant no_x11 is not provided by port glut.
DEBUG: Requested variant atsui is not provided by port glut.
DEBUG: Requested variant dbus is not provided by port glut.
DEBUG: Requested variant macosx is not provided by port glut.
DEBUG: Requested variant quartz is not provided by port glut.
DEBUG: Searching for dependency: glut
DEBUG: Found Dependency: receipt exists for glut
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant i386 is not provided by port tcl.
DEBUG: Requested variant x11 is not provided by port tcl.
DEBUG: Requested variant no_x11 is not provided by port tcl.
DEBUG: Requested variant atsui is not provided by port tcl.
DEBUG: Requested variant dbus is not provided by port tcl.
DEBUG: Requested variant macosx is not provided by port tcl.
DEBUG: Requested variant quartz is not provided by port tcl.
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: tcl
DEBUG: Found Dependency: receipt exists for tcl
DEBUG: Executing org.macports.main (mesa)
DEBUG: Skipping completed org.macports.fetch (mesa)
DEBUG: Skipping completed org.macports.checksum (mesa)
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
DEBUG: Skipping completed org.macports.extract (mesa)
DEBUG: Skipping completed org.macports.patch (mesa)
DEBUG: Skipping completed org.macports.configure (mesa)
---> Building mesa
DEBUG: Executing org.macports.build (mesa)
DEBUG: port allows a parallel build
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.4.3"
&& make -j3 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0
CXX=/usr/bin/g++-4.0'
Making sources for darwin
/usr/bin/gcc-4.0 -c -I. -I../../../include -I../../../include/GL/internal
-I../../../src/mesa -I../../../src/mesa/glapi -ggdb3 -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\" glcontextmodes.c -o
glcontextmodes.o
/usr/bin/gcc-4.0 -c -I. -I../../../include -I../../../include/GL/internal
-I../../../src/mesa -I../../../src/mesa/glapi -ggdb3 -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\" clientattrib.c -o
clientattrib.o
/usr/bin/gcc-4.0 -c -I. -I../../../include -I../../../include/GL/internal
-I../../../src/mesa -I../../../src/mesa/glapi -ggdb3 -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\" compsize.c -o compsize.o
In file included from /opt/local/include/X11/Xlib.h:51,
from ../../../include/GL/glx.h:38,
from glcontextmodes.c:41:
/opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE"
redefined
<command line>:1:1: warning: this is the location of the previous
definition
In file included from /opt/local/include/X11/Xlib.h:51,
from /opt/local/include/X11/Xlibint.h:43,
from glxclient.h:43,
from clientattrib.c:32:
/opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE"
redefined
<command line>:1:1: warning: this is the location of the previous
definition
In file included from /opt/local/include/X11/Xlib.h:51,
from /opt/local/include/X11/Xlibint.h:43,
from glxclient.h:43,
from compsize.c:33:
/opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE"
redefined
<command line>:1:1: warning: this is the location of the previous
definition
glcontextmodes.c:42:23: error: GL/glxint.h: No such file or directory
In file included from compsize.c:33:
glxclient.h:53:23: error: GL/glxint.h: No such file or directory
glxclient.h:54:25: error: GL/glxproto.h: No such file or directory
In file included from glcontextmodes.c:67:
glcontextmodes.h:39: warning: type defaults to 'int' in declaration of
'__GLXvisualConfig'
glcontextmodes.h:39: error: syntax error before '*' token
glcontextmodes.c:132: warning: type defaults to 'int' in declaration of
'__GLXvisualConfig'
glcontextmodes.c:132: error: syntax error before '*' token
glcontextmodes.c:133: warning: no previous prototype for
'_gl_copy_visual_to_context_mode'
glcontextmodes.c: In function '_gl_copy_visual_to_context_mode':
glcontextmodes.c:134: error: 'mode' undeclared (first use in this
function)
glcontextmodes.c:134: error: (Each undeclared identifier is reported only
once
glcontextmodes.c:134: error: for each function it appears in.)
glcontextmodes.c:139: error: 'config' undeclared (first use in this
function)
In file included from clientattrib.c:32:
glxclient.h:53:23: error: GL/glxint.h: No such file or directory
glxclient.h:54:25: error: GL/glxproto.h: No such file or directory
make[2]: *** [glcontextmodes.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from compsize.c:33:
glxclient.h:294: error: syntax error before 'GLXContextTag'
glxclient.h:294: warning: no semicolon at end of struct or union
glxclient.h:429: error: syntax error before '}' token
In file included from clientattrib.c:32:
glxclient.h:294: error: syntax error before 'GLXContextTag'
glxclient.h:294: warning: no semicolon at end of struct or union
glxclient.h:429: error: syntax error before '}' token
clientattrib.c: In function 'do_enable_disable':
clientattrib.c:42: error: dereferencing pointer to incomplete type
clientattrib.c:50: error: dereferencing pointer to incomplete type
clientattrib.c:50: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__indirect_glPushClientAttrib':
clientattrib.c:72: error: dereferencing pointer to incomplete type
clientattrib.c:73: error: dereferencing pointer to incomplete type
clientattrib.c:75: error: dereferencing pointer to incomplete type
clientattrib.c:81: error: dereferencing pointer to incomplete type
clientattrib.c:91: error: dereferencing pointer to incomplete type
clientattrib.c:91: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__indirect_glPopClientAttrib':
clientattrib.c:100: error: dereferencing pointer to incomplete type
clientattrib.c:101: error: dereferencing pointer to incomplete type
clientattrib.c:104: error: dereferencing pointer to incomplete type
clientattrib.c:109: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__glFreeAttributeState':
clientattrib.c:132: error: dereferencing pointer to incomplete type
clientattrib.c:133: error: dereferencing pointer to incomplete type
make[2]: *** [compsize.o] Error 1
make[2]: *** [clientattrib.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.4.3"
&& make -j3 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0
CXX=/usr/bin/g++-4.0 " returned error 2
Command output: glxclient.h:429: error: syntax error before '}' token
In file included from clientattrib.c:32:
glxclient.h:294: error: syntax error before 'GLXContextTag'
glxclient.h:294: warning: no semicolon at end of struct or union
glxclient.h:429: error: syntax error before '}' token
clientattrib.c: In function 'do_enable_disable':
clientattrib.c:42: error: dereferencing pointer to incomplete type
clientattrib.c:50: error: dereferencing pointer to incomplete type
clientattrib.c:50: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__indirect_glPushClientAttrib':
clientattrib.c:72: error: dereferencing pointer to incomplete type
clientattrib.c:73: error: dereferencing pointer to incomplete type
clientattrib.c:75: error: dereferencing pointer to incomplete type
clientattrib.c:81: error: dereferencing pointer to incomplete type
clientattrib.c:91: error: dereferencing pointer to incomplete type
clientattrib.c:91: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__indirect_glPopClientAttrib':
clientattrib.c:100: error: dereferencing pointer to incomplete type
clientattrib.c:101: error: dereferencing pointer to incomplete type
clientattrib.c:104: error: dereferencing pointer to incomplete type
clientattrib.c:109: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c: In function '__glFreeAttributeState':
clientattrib.c:132: error: dereferencing pointer to incomplete type
clientattrib.c:133: error: dereferencing pointer to incomplete type
make[2]: *** [compsize.o] Error 1
make[2]: *** [clientattrib.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Warning: the following items did not execute (for mesa):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20578>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list