[MacPorts] #20578: mesa fails to build
#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
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * cc: and.damore@… (added) * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Comment(by blb@…): {{{ glcontextmodes.c:42:23: error: GL/glxint.h: No such file or directory }}} That file should be provided by xorg-glproto which appears to be installed based on {{{ DEBUG: Searching for dependency: xorg-glproto DEBUG: Found Dependency: receipt exists for xorg-glproto }}} What does the following say? {{{ $ port installed xorg-glproto }}} -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Changes (by jeremyhu@…): * status: new => assigned Comment: Also, what does the following report? {{{ $ find /opt/local/include/GL }}} -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Comment(by bug@…): Replying to [comment:2 blb@…]:
What does the following say? {{{ $ port installed xorg-glproto }}}
{{{ $ port installed xorg-glproto The following ports are currently installed: xorg-glproto @1.4.10_0 (active) }}} Replying to [comment:3 jeremyhu@…]:
Also, what does the following report?
{{{ $ find /opt/local/include/GL }}}
{{{ $ find /opt/local/include/GL find: /opt/local/include/GL: No such file or directory }}} -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Comment(by blb@…): Weird, xorg-glproto should have put files in that directory; one more command to see: {{{ $ port contents xorg-glproto }}} -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Comment(by bug@…): Replying to [comment:5 blb@…]:
Weird, xorg-glproto should have put files in that directory; one more command to see: {{{ $ port contents xorg-glproto }}}
{{{ $ port contents xorg-glproto Port xorg-glproto contains: /opt/local/include/GL/glxint.h /opt/local/include/GL/glxmd.h /opt/local/include/GL/glxproto.h /opt/local/include/GL/glxtokens.h /opt/local/include/GL/internal/glcore.h /opt/local/lib/pkgconfig/glproto.pc }}} -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Comment(by jeremyhu@…): Ok... well... the file is obviously not on your system, but port thinks it is... please do: {{{ $ sudo port -v deactivate xorg-glproto $ sudo port -v activate xorg-glproto $ find /opt/local/include/GL $ sudo port -v install mesa }}} -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build --------------------------------------+------------------------------------- Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mesa --------------------------------------+------------------------------------- Comment(by bug@…): Replying to [comment:7 jeremyhu@…]:
Ok... well... the file is obviously not on your system, but port thinks it is... please do:
{{{ $ sudo port -v deactivate xorg-glproto $ sudo port -v activate xorg-glproto $ find /opt/local/include/GL $ sudo port -v install mesa }}}
This fixed it for me, thanks for your help. Still curious, why this occured. Output for above commands: http://pastebin.com/f63e6a2c3 -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20578: mesa fails to build ---------------------------------------+------------------------------------ Reporter: bug@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: Port: mesa | ---------------------------------------+------------------------------------ Changes (by blb@…): * status: assigned => closed * resolution: => worksforme Comment: Hard to say why it happened, port claimed xorg-glproto was installed and active which should provide those files, but they were missing. Unless you know everything that's occurred on the system between xorg-glproto being installed and the failure, we could only speculate at best. -- Ticket URL: <http://trac.macports.org/ticket/20578#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts