[MacPorts] #23169: mesa-7.6.1_0 glxext.c - No such file or directory
#23169: mesa-7.6.1_0 glxext.c - No such file or directory -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa -----------------------------------+---------------------------------------- Hi there, mesa fails to build on PPC 10.5.8. {{{ Making programs for darwin ./gen_gl_h.sh include/GL/gl.h.template include/GL/gl.h /usr/bin/gcc-4.0 -I. -Iinclude -Iinclude/internal -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DGLX_USE_APPLEGL -DGLX_ALIAS_UNSUPPORTED "" -I/opt/local/include -O2 -c glxext.c powerpc-apple-darwin9-gcc-4.0.1: : No such file or directory make: *** [glxext.o] Error 1 }}} Full debug log attached. Thanks & cheerio, Harry. -- Ticket URL: <http://trac.macports.org/ticket/23169> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23169: mesa-7.6.1_0 glxext.c - No such file or directory -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <http://trac.macports.org/ticket/23169#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23169: mesa-7.6.1_0 glxext.c - No such file or directory -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * status: new => assigned Comment: Works for me... you'll need to look into it more on your system... {{{ ~/src/macports-trunk/dports/x11/mesa/work/AppleSGLX-59 $ ls glxext.c glxext.c }}} -- Ticket URL: <http://trac.macports.org/ticket/23169#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23169: mesa-7.6.1_0 glxext.c - No such file or directory -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa -----------------------------------+---------------------------------------- Comment(by harry.weppner@…): glext.c can be found here as well {{{ $ ll /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa/work/AppleSGLX-59/glxext.c -rw-r--r-- 1 root admin 30509 Dec 25 09:56 /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa/work/AppleSGLX-59/glxext.c }}} After a more careful look: what is "" referring to in the gcc command? {{{ [...] -DGLX_ALIAS_UNSUPPORTED "" -I/opt/local/include -O2 -c glxext.c }}} Cheerio, Harry. -- Ticket URL: <http://trac.macports.org/ticket/23169#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23169: mesa-7.6.1_0 glxext.c - No such file or directory -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa -----------------------------------+---------------------------------------- Comment(by jmr@…): Are you sure you have Xcode installed? Can you compile anything with /usr/bin/gcc-4.0? -- Ticket URL: <http://trac.macports.org/ticket/23169#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23169: mesa-7.6.1_0 glxext.c - No such file or directory -----------------------------------+---------------------------------------- Reporter: harry.weppner@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa -----------------------------------+---------------------------------------- Comment(by harry.weppner@…): absolutely positive ;-) The cause are the "" (empty parentheses). It stems from $(RC_CFLAGS) in the Makefile which isn't set anywhere {{{ GL_CFLAGS=-Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DGLX_USE_APPLEGL -DGLX_ALIAS_UNSUPPORTED $(RC_CFLAGS) $(CFLAGS) }}} I removed the reference to $(RC_CFLAGS) in the Makefile and everything build fine from that point on. The portfile seems to only have RC_CFLAGS set for the universal variant, which isn't the default one!? Cheerio, Harry. -- Ticket URL: <http://trac.macports.org/ticket/23169#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23169: mesa-7.6.1_0 glxext.c - No such file or directory ------------------------------------+--------------------------------------- Reporter: harry.weppner@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: mesa | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => invalid Comment: Same problem as #23170. -- Ticket URL: <http://trac.macports.org/ticket/23169#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts