[MacPorts] #26379: mesa @7.8.2 build error shell command failed
#26379: mesa @7.8.2 build error shell command failed --------------------------------------+------------------------------------- Reporter: ericl54291@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: mesa leopard ppc powerpc | Port: mesa --------------------------------------+------------------------------------- I am trying to install mesa on my iBook g4, PowerPC processor, running 10.5.8 leopard, with Xcode 3.1.4 installed. The terminal output is {{{ ---> Building mesa Error: Target org.macports.build returned: shell command failed Log for mesa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/main.log Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/26379> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error shell command failed ----------------------------------+----------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: leopard ppc powerpc | Port: mesa ----------------------------------+----------------------------------------- Changes (by blb@…): * keywords: mesa leopard ppc powerpc => leopard ppc powerpc * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <http://trac.macports.org/ticket/26379#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error shell command failed ----------------------------------+----------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: leopard ppc powerpc | Port: mesa ----------------------------------+----------------------------------------- Comment(by jeremyhu@…): It builds fine for me with Leopard/G5 -- Ticket URL: <http://trac.macports.org/ticket/26379#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error shell command failed -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: worksforme | Keywords: leopard ppc powerpc Port: mesa | -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/26379#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error shell command failed -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: leopard ppc powerpc Port: mesa | -----------------------------------+---------------------------------------- Changes (by kimuraw@…): * status: closed => reopened * resolution: worksforme => Comment: The same error was occurred on my Mac. This error was caused by incompatibility of "print" between python 2.x and 3.x. {{{ print "foo bar" # 2.x => OK, 3.x => NG print("foo bar") # 2.x => OK, 3.x => OK }}} If `python' is 3.x, then "port install mesa" fails. {{{ % python --version Python 2.6.6 % python_select -s python26 % sudo port install mesa # => OK % python --version Python 3.1.2 % python_select -s python31 % sudo port install mesa # => FAIL with the error of util/u_format_table.py }}} I made a patch to use apple's python (/usr/bin/python) in src/gallium/auxiliary/Makefile. -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error with python 3 selected -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Changes (by jmr@…): * keywords: leopard ppc powerpc => -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error with python 3 selected -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Changes (by kimuraw@…): * cc: kimuraw@… (added) Comment: CC me! -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error with python 3 selected -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by swordangel@…): Why not patch the print statements instead? -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error with python 3 selected -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): Can you give me an updated patch for this? -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: python3: mesa @7.8.2 build error -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: python3: mesa @7.8.2 build error -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): #27550 also reporting python31 issues. -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: python3: mesa @7.8.2 build error -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by jmr@…): Replying to [comment:7 swordangel@…]:
Why not patch the print statements instead? Well I just found out why not. (It's a huge pain.)
Attached patch makes mesa build with either python 2.x or 3.x selected (tested with 2.6 and 3.1), and should be suitable for sending upstream. -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: python3: mesa @7.8.2 build error -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Did this issue ever get resolved upstream? -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error with python 3 -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error with python 3 -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): I'm pretty sure this is fixed in 7.10.2 ... -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.8.2 build error with python 3 -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): ugg... no, it didn't ... any much of the patch no longer applies. Now that we're actually able to use master, they'll probably be more receptive to a patch. jmr, would you mind updating your patch to mesa master (and hopefully it'll apply to the 7.10 branch): http://cgit.freedesktop.org/mesa/mesa/ -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.10.2 build error with python 3 -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: mesa | -----------------------------------+---------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.10.2 build error with python 3 -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: r79299 should fix this by choosing python2 -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26379: mesa @7.10.2 build error with python 3 -----------------------------------+---------------------------------------- Reporter: ericl54291@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: mesa | -----------------------------------+---------------------------------------- Comment(by jmr@…): Checking the python version and running 2to3 as needed is probably a better approach for upstream. I'll see if I can throw together a patch if I have time. -- Ticket URL: <https://trac.macports.org/ticket/26379#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts