[MacPorts] #26379: mesa @7.8.2 build error shell command failed
MacPorts
noreply at macports.org
Tue Sep 28 04:27:25 PDT 2010
#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
More information about the macports-tickets
mailing list