[MacPorts] #24468: Mesa-7.8.1 Make Error - Build Failure
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: mesa 7.8.1 | Port: mesa ---------------------------------+------------------------------------------ I get the following error when I upgrade mesa on my system (Mac OS X Leopard 10.5.8 using MacPorts 1.8.2). <snip> mklib: Installing libOSMesa.7.8.dylib libOSMesa.7.dylib libOSMesa.dylib in ../../../../lib python util/u_format_access.py util/u_format.csv > util/u_format_access.c File "util/u_format_access.py", line 99 print 'static ubyte srgb_to_linear[256] = {' ^ SyntaxError: invalid syntax make[3]: *** No rule to make target `depend', needed by `default'. Stop. make[2]: *** [default] 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.8.1" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local RC_CFLAGS="-arch ppc" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.1" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local RC_CFLAGS="-arch ppc" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for mesa): org.macports.destroot org.macports.build DEBUG: Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> </snip> -- Ticket URL: <http://trac.macports.org/ticket/24468> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: mesa 7.8.1 | Port: mesa ---------------------------------+------------------------------------------ Comment(by nDiScReEt@…): I want to add that I am running this from a Dual 1.8 GHz G5. -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * cc: nDiScReEt@… (removed) * keywords: mesa 7.8.1 => * owner: macports-tickets@… => jeremyhu@… Old description:
I get the following error when I upgrade mesa on my system (Mac OS X Leopard 10.5.8 using MacPorts 1.8.2).
<snip> mklib: Installing libOSMesa.7.8.dylib libOSMesa.7.dylib libOSMesa.dylib in ../../../../lib python util/u_format_access.py util/u_format.csv > util/u_format_access.c File "util/u_format_access.py", line 99 print 'static ubyte srgb_to_linear[256] = {' ^ SyntaxError: invalid syntax make[3]: *** No rule to make target `depend', needed by `default'. Stop. make[2]: *** [default] 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.8.1" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local RC_CFLAGS="-arch ppc" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.1" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local RC_CFLAGS="-arch ppc" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for mesa): org.macports.destroot org.macports.build DEBUG: Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> </snip>
New description: I get the following error when I upgrade mesa on my system (Mac OS X Leopard 10.5.8 using MacPorts 1.8.2). {{{ <snip> mklib: Installing libOSMesa.7.8.dylib libOSMesa.7.dylib libOSMesa.dylib in ../../../../lib python util/u_format_access.py util/u_format.csv > util/u_format_access.c File "util/u_format_access.py", line 99 print 'static ubyte srgb_to_linear[256] = {' ^ SyntaxError: invalid syntax make[3]: *** No rule to make target `depend', needed by `default'. Stop. make[2]: *** [default] 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.8.1" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local RC_CFLAGS="-arch ppc" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.1" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local RC_CFLAGS="-arch ppc" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for mesa): org.macports.destroot org.macports.build DEBUG: Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> </snip> }}} -- -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa ---------------------------------+------------------------------------------ Comment(by jeremyhu@…): What is the output of: {{{ which python python --version }}} -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa ---------------------------------+------------------------------------------ Comment(by jeremyhu@…): Oh... and... {{{ python_select -l python_select -s }}} -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa ---------------------------------+------------------------------------------ Comment(by jeremyhu@…): It works on my Leopard G5 with both python25-apple and python26 ... Plus that line looks fine... -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa ---------------------------------+------------------------------------------ Comment(by nDiScReEt@…): Replying to [comment:4 jeremyhu@…]:
What is the output of:
{{{ which python python --version }}} which python /opt/local/bin/python
python --version Python 3.1.1 -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ---------------------------------+------------------------------------------ Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mesa ---------------------------------+------------------------------------------ Comment(by nDiScReEt@…): Replying to [comment:5 jeremyhu@…]:
Oh... and...
{{{ python_select -l python_select -s }}}
python_select -l Available versions: current none python25 python25-apple python26 python30 python31 python_select -s python31 -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ----------------------------------+----------------------------------------- Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: Port: mesa | ----------------------------------+----------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: Ok, use python2 -- Ticket URL: <http://trac.macports.org/ticket/24468#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24468: Mesa-7.8.1 Make Error - Build Failure ----------------------------------+----------------------------------------- Reporter: nDiScReEt@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: Port: mesa | ----------------------------------+----------------------------------------- Comment(by nDiScReEt@…): Replying to [comment:9 jeremyhu@…]:
Ok, use python2 That worked. I choose python25.
-- Ticket URL: <http://trac.macports.org/ticket/24468#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts