Ticket #24468 (closed defect: worksforme)
Mesa-7.8.1 Make Error - Build Failure
| Reported by: | nDiScReEt@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | mesa |
Description (last modified by macsforever2000@…) (diff)
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>
Attachments
Change History
Changed 3 years ago by nDiScReEt@…
- Attachment mesa-7.8.1.txt added
comment:2 Changed 3 years ago by nDiScReEt@…
I want to add that I am running this from a Dual 1.8 GHz G5.
comment:3 Changed 3 years ago by macsforever2000@…
- Keywords mesa 7.8.1 removed
- Owner changed from macports-tickets@… to jeremyhu@…
- Description modified (diff)
- Cc nDiScReEt@… removed
comment:4 follow-up: ↓ 7 Changed 3 years ago by jeremyhu@…
What is the output of:
which python python --version
comment:5 follow-up: ↓ 8 Changed 3 years ago by jeremyhu@…
Oh... and...
python_select -l python_select -s
comment:6 Changed 3 years ago by jeremyhu@…
It works on my Leopard G5 with both python25-apple and python26 ... Plus that line looks fine...
comment:7 in reply to: ↑ 4 Changed 3 years ago by nDiScReEt@…
Replying to jeremyhu@…:
What is the output of:
which python python --version
which python /opt/local/bin/python
python --version Python 3.1.1
comment:8 in reply to: ↑ 5 Changed 3 years ago by nDiScReEt@…
Replying to 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
comment:9 follow-up: ↓ 10 Changed 3 years ago by jeremyhu@…
- Status changed from new to closed
- Resolution set to worksforme
Ok, use python2
comment:10 in reply to: ↑ 9 Changed 3 years ago by nDiScReEt@…
Note: See
TracTickets for help on using
tickets.


This is the detailed output of my failed upgrade attempt of the latest mesa-7.8.1 port.