[MacPorts] #18862: mesa 7.2_7 upgrade problem (Tiger, ppc)
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) --------------------------------------+------------------------------------- Reporter: garribald@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mesa --------------------------------------+------------------------------------- The upgrade to revision 7 fails rather early, the full log is attached, an excerpt that might help already: {{{ gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -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 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: expected ';', ',' or ')' before '*' token glcontextmodes.c:132: warning: type defaults to 'int' in declaration of '__GLXvisualConfig' glcontextmodes.c:132: error: expected ';', ',' or ')' before '*' token 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.2" && nice -n 18 make default INSTALL_DIR=/opt/local " returned error 2 Command output: not in ../../../src/mesa/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/local/lib/gcc-include/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: indirect_vertex_program.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/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/local/lib/gcc-include/GL/glxproto.h not in /usr/include/GL/glxproto.h makedepend: warning: singlepix.c, line 38: 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/main/GL/glxproto.h not in ../../../src/mesa/glapi/GL/glxproto.h not in /usr/local/lib/gcc-include/GL/glxproto.h not in /usr/include/GL/glxproto.h gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -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 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: expected ';', ',' or ')' before '*' token glcontextmodes.c:132: warning: type defaults to 'int' in declaration of '__GLXvisualConfig' glcontextmodes.c:132: error: expected ';', ',' or ')' before '*' token 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 DEBUG: invalid command name "::ui_init" while executing "::ui_init $priority $prefix $channels $message" ("uplevel" body line 2) invoked from within "uplevel 1 $body" Error: Unable to upgrade port: 1 }}} The attached log shows the installation with makedepend not from MacPorts. I later installed makedepend from MacPorts - didn't influence the mesa building, same error. OS X 10.4.11, MacPorts 1.7 -- Ticket URL: <http://trac.macports.org/ticket/18862> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) --------------------------------------+------------------------------------- Reporter: garribald@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tiger ppc | Port: mesa --------------------------------------+------------------------------------- Changes (by devans@…): * cc: calle.kabo@…, andrea.damore@… (added) * keywords: => tiger ppc * owner: macports-tickets@… => jeremyhu@… Comment: See duplicate #18867. Add reporter of that ticket to CC. -- Ticket URL: <http://trac.macports.org/ticket/18862#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) --------------------------------------+------------------------------------- Reporter: garribald@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tiger ppc | Port: mesa --------------------------------------+------------------------------------- Comment(by jeremyhu@…): Is your xorg-glproto up to date? $ ls /opt/local/var/macports/software/xorg- glproto/1.4.9_0/opt/local/include/GL/ glxint.h glxmd.h glxproto.h glxtokens.h internal $ ls /opt/local/include/GL/glxi* /opt/local/include/GL/glxint.h -- Ticket URL: <http://trac.macports.org/ticket/18862#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) --------------------------------------+------------------------------------- Reporter: garribald@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tiger ppc | Port: mesa --------------------------------------+------------------------------------- Comment(by jeremyhu@…): Yeah, and there's definitely a '-I/opt/local/include' in the CFLAGS -- Ticket URL: <http://trac.macports.org/ticket/18862#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) --------------------------------------+------------------------------------- Reporter: garribald@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tiger ppc | Port: mesa --------------------------------------+------------------------------------- Comment(by devans@…): Just to let you know that the upgrade went smoothly more me on 10.4.11 ppc Xcode 2.5 this morning. -- Ticket URL: <http://trac.macports.org/ticket/18862#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) --------------------------------------+------------------------------------- Reporter: garribald@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: tiger ppc | Port: mesa --------------------------------------+------------------------------------- Comment(by garribald@…): Replying to [comment:3 jeremyhu@…]:
Is your xorg-glproto up to date?
I think so: {{{ book:~ test$ port installed xorg-glproto The following ports are currently installed: xorg-glproto @1.4.9_0 (active) }}} Concerning the listings: {{{ book:~ test$ ls /opt/local/var/macports/software/xorg- glproto/1.4.9_0/opt/local/include/GL/ glxint.h glxmd.h glxproto.h glxtokens.h internal book:~ test$ ls /opt/local/include/GL/glxi* ls: /opt/local/include/GL/glxi*: No such file or directory }}} Regarding your other message: Is it simply a similar problem as with the previous revision, a set CFLAGS where it should be unset at the beginning? Thanks for looking into it. -- Ticket URL: <http://trac.macports.org/ticket/18862#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) ---------------------------------------+------------------------------------ Reporter: garribald@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: tiger ppc Port: mesa | ---------------------------------------+------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: Well then there is something inconsistent there... how did /opt/local/include/GL/glxint.h get deleted? Do: {{{ sudo port -v deactivate xorg-glproto sudo port -v activate xorg-glproto }}} -- Ticket URL: <http://trac.macports.org/ticket/18862#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18862: mesa 7.2_7 upgrade problem (Tiger, ppc) ---------------------------------------+------------------------------------ Reporter: garribald@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: tiger ppc Port: mesa | ---------------------------------------+------------------------------------ Comment(by garribald@…): Replying to [comment:7 jeremyhu@…]:
Well then there is something inconsistent there... how did /opt/local/include/GL/glxint.h get deleted? Do:
{{{ sudo port -v deactivate xorg-glproto sudo port -v activate xorg-glproto }}}
Definitely fishy, indeed. But it did the trick (regarding that file) {{{ book:~ test$ sudo port -v deactivate xorg-glproto Password: ---> Deactivating xorg-glproto book:~ test$ sudo port -v activate xorg-glproto ---> Activating xorg-glproto book:~ test$ }}} seemed to be rather uneventful, but now i have glxint.h right in place. {{{ book:~ test$ ls /opt/local/include/GL/glxi* /opt/local/include/GL/glxint.h }}} What can i say? I am sure, i haven't manually fiddled around there. Also I haven't laid hands on glproto or mesa (aside from the initial installation and in case of mesa the upgrading). Well, whatever, thanks again - that trick might be helpful for quick troubleshooting in the future. I am building mesa now, for sure this problem is gone - would have thrown an error already. -- Ticket URL: <http://trac.macports.org/ticket/18862#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts