[MacPorts] #19143: mesa 7.4 build failure
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ I've completely removed and reinstalled MacPorts on the PPC MacBookPro of my supervisor. I've run: sudo port selfupdate; sudo port sync; sudo port install swi-prolog git-core However I get a build error when building mesa 7.4. The errors seem similar to tickets #18678, #19105 and #18867, however I think it is not the same since I do have xorg-dri2proto installed. I've tried: sudo port clean mesa; sudo port selfupdate; sudo port sync; sudo port install mesa; But I keep having the same problem. Attached the log file. Is this a bug, or something that is not correctly installed on my supervisors Mac? Or does it take a while for the fix (e.g. in #19105 to become available? -- Ticket URL: <http://trac.macports.org/ticket/19143> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Changes (by macsforever2000@…): * cc: J.Liem@… (removed) * cc: andrea.damore@… (added) * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Description changed by macsforever2000@…: Old description:
I've completely removed and reinstalled MacPorts on the PPC MacBookPro of my supervisor. I've run: sudo port selfupdate; sudo port sync; sudo port install swi-prolog git-core
However I get a build error when building mesa 7.4. The errors seem similar to tickets #18678, #19105 and #18867, however I think it is not the same since I do have xorg-dri2proto installed.
I've tried: sudo port clean mesa; sudo port selfupdate; sudo port sync; sudo port install mesa;
But I keep having the same problem.
Attached the log file. Is this a bug, or something that is not correctly installed on my supervisors Mac? Or does it take a while for the fix (e.g. in #19105 to become available?
New description: I've completely removed and reinstalled MacPorts on the PPC MacBookPro of my supervisor. I've run: sudo port selfupdate; sudo port sync; sudo port install swi-prolog git-core However I get a build error when building mesa 7.4. The errors seem similar to tickets #18678, #19105 and #18867, however I think it is not the same since I do have xorg-dri2proto installed. I've tried: {{{ sudo port clean mesa; sudo port selfupdate; sudo port sync; sudo port install mesa; }}} But I keep having the same problem. Attached the log file. Is this a bug, or something that is not correctly installed on my supervisors Mac? Or does it take a while for the fix (e.g. in #19105 to become available? -- -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Changes (by anddam@…): * cc: andrea.damore@… (removed) * cc: anddam@… (added) -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Comment(by J.Liem@…): I forgot to mention that on my Intel MacBook Pro with Tiger I had no problem whatsoever upgrading mesa. -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Comment(by tim.stoop@…): I'd like to confirm that I have the same thing on Tiger, after a complete uninstall and reinstall of all my Macports. I have xorg-dri2proto @1.99.3 installed, which seems to be what the fix for #19105 changed. -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Comment(by tan2tan2@…): I got the same error when building mesa: {{{ gcc -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\" ../../../src/mesa/main/dispatch.c -o ../../../src/mesa/main/dispatch.o In file included from dri2.c:40: dri2.h:36:35: error: X11/extensions/Xfixes.h: No such file or directory }}} From the error message, it seems that mesa requires Xfixes.h, which is packaged under xorg-libXfixes. So, installing xorg-libXfixes before mesa will fix the problem. {{{ port install xorg-libXfixes port install mesa }}} -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Comment(by tim.stoop@…): Indeed, that worked for me too! Here's the patch for the mesa Portfile: {{{ --- Portfile.orig 2009-04-14 11:05:04.000000000 +0200 +++ Portfile 2009-04-14 11:06:04.000000000 +0200 @@ -43,6 +43,7 @@ depends_build \ port:xorg-glproto \ port:xorg-dri2proto \ + port:xorg-libXfixes \ bin:makedepend:makedepend \ port:glut \ bin:tclsh8.5:tcl }}} -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Comment(by frstan@…): I also can't build mesa 7.4. nothing written above helped. here is the debug output: ---> Building mesa DEBUG: Executing proc-pre-org.macports.build-build-0 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" && make default INSTALL_DIR=/opt/local' Making sources for darwin touch depend makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxcurrent.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_texture_compression.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c drisw_glx.c dri_common.c dri_glx.c XF86dri.c glxhash.c dri2_glx.c dri2.c \ ../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glapi_getproc.c ../../../src/mesa/glapi/glthread.c makedepend: warning: glcontextmodes.c, line 42: cannot find include file "GL/glxint.h" not in GL/glxint.h not in GL/glxint.h not in ./GL/glxint.h not in ../../../include/GL/glxint.h not in ../../../include/GL/internal/GL/glxint.h not in ../../../src/mesa/GL/glxint.h not in ../../../src/mesa/glapi/GL/glxint.h not in /usr/include/GL/glxint.h makedepend: warning: clientattrib.c (reading glxclient.h, line 53): cannot find include file "GL/glxint.h" not in GL/glxint.h not in GL/glxint.h not in ./GL/glxint.h not in ../../../include/GL/glxint.h not in ../../../include/GL/internal/GL/glxint.h not in ../../../src/mesa/GL/glxint.h not in ../../../src/mesa/glapi/GL/glxint.h not in /usr/include/GL/glxint.h makedepend: warning: clientattrib.c (reading glxclient.h, line 54): cannot find include file "GL/glxproto.h" not in GL/glxproto.h not in GL/glxproto.h not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: indirect.c, line 36: cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: indirect_vertex_array.c, line 32: cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: indirect_vertex_array.c (reading indirect_vertex_array_priv.h, line 39): cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: indirect_vertex_program.c, line 31: cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: singlepix.c, line 37: cannot find include file "GL/glxproto.h" not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: dri2.c (reading /usr/include/stdarg.h, line 4): cannot find include file "stdarg.h" makedepend: warning: dri2.c (reading ./drm.h), line 172: # warning "__SIZE_TYPE__ not defined. Assuming sizeof(size_t) == sizeof(unsigned long)!" makedepend: warning: ../../../src/mesa/main/dispatch.c (reading /usr/include/float.h, line 8): cannot find include file "float.h" gcc -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 In file included from /opt/local/include/X11/Xlib.h:64, 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 glcontextmodes.c:42:23: error: GL/glxint.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) make[2]: *** [glcontextmodes.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" && make default INSTALL_DIR=/opt/local " returned error 2 Command output: not in ./GL/glxproto.h not in ../../../include/GL/glxproto.h not in ../../../include/GL/internal/GL/glxproto.h not in ../../../src/mesa/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: dri2.c (reading /usr/include/stdarg.h, line 4): cannot find include file "stdarg.h" makedepend: warning: dri2.c (reading ./drm.h), line 172: # warning "__SIZE_TYPE__ not defined. Assuming sizeof(size_t) == sizeof(unsigned long)!" makedepend: warning: ../../../src/mesa/main/dispatch.c (reading /usr/include/float.h, line 8): cannot find include file "float.h" gcc -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 In file included from /opt/local/include/X11/Xlib.h:64, from ../../../include/GL/glx.h:38, from glcontextmodes.c:41: /opt/local/include/X11/Xosdefs.h:145:1: warning: "_DARWIN_C_SOURCE" redefined 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) make[2]: *** [glcontextmodes.o] Error 1 make[1]: *** [subdirs] Error 1 make: *** [default] Error 1 Warning: the following items did not execute (for mesa): org.macports.destroot org.macports.build -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ---------------------------------------------+------------------------------ Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa build error Xfixes.h dri.h | Port: mesa ---------------------------------------------+------------------------------ Comment(by frstan@…): I should add that this is mac mini Intel core duo using OSX 10.5.6 and macports 1.7.1 -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ----------------------------+----------------------------------------------- Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: mesa build error Xfixes.h dri.h Port: mesa | ----------------------------+----------------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r50122 -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19143: mesa 7.4 build failure ----------------------------+----------------------------------------------- Reporter: J.Liem@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: mesa build error Xfixes.h dri.h Port: mesa | ----------------------------+----------------------------------------------- Comment(by jeremyhu@…): frstan: Something is wrong with your system. Those files should be installed with xorg-glproto. Please make sure you do a 'sudo port -v selfupdate ; sudo port -v upgrade outdated' first. -- Ticket URL: <http://trac.macports.org/ticket/19143#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts