#18862 closed defect (worksforme)
mesa 7.2_7 upgrade problem (Tiger, ppc)
Reported by: | garribald@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | tiger ppc | Cc: | steven@…, calle.kabo@…, andrea.damore@… |
Port: | mesa |
Description
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
Attachments (1)
Change History (10)
Changed 16 years ago by garribald@…
Attachment: | mesa_log.txt added |
---|
comment:1 Changed 16 years ago by steven@…
Cc: | steven@… added |
---|
comment:2 Changed 16 years ago by dbevans (David B. Evans)
Cc: | calle.kabo@… andrea.damore@… added |
---|---|
Keywords: | tiger ppc added |
Owner: | changed from macports-tickets@… to jeremyhu@… |
See duplicate #18867. Add reporter of that ticket to CC.
comment:3 follow-up: 6 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
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
comment:4 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Yeah, and there's definitely a '-I/opt/local/include' in the CFLAGS
comment:5 Changed 16 years ago by dbevans (David B. Evans)
Just to let you know that the upgrade went smoothly more me on 10.4.11 ppc Xcode 2.5 this morning.
comment:6 Changed 16 years ago by garribald@…
Replying to 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.
comment:7 follow-up: 8 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
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
comment:8 Changed 16 years ago by garribald@…
Replying to 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.
Cc Me!