Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#24468 closed defect (worksforme)

Mesa-7.8.1 Make Error - Build Failure

Reported by: chicagotripp (Altoine Barker) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: mesa

Description (last modified by mf2k (Frank Schima))

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 (1)

mesa-7.8.1.txt (144.9 KB) - added by chicagotripp (Altoine Barker) 15 years ago.
This is the detailed output of my failed upgrade attempt of the latest mesa-7.8.1 port.

Download all attachments as: .zip

Change History (11)

Changed 15 years ago by chicagotripp (Altoine Barker)

Attachment: mesa-7.8.1.txt added

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

comment:1 Changed 15 years ago by chicagotripp (Altoine Barker)

Cc: nDiScReEt@… added

Cc Me!

comment:2 Changed 15 years ago by chicagotripp (Altoine Barker)

I want to add that I am running this from a Dual 1.8 GHz G5.

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Cc: nDiScReEt@… removed
Description: modified (diff)
Keywords: mesa 7.8.1 removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

What is the output of:

which python
python --version

comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Oh... and...

python_select -l
python_select -s

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

It works on my Leopard G5 with both python25-apple and python26 ... Plus that line looks fine...

comment:7 in reply to:  4 Changed 15 years ago by chicagotripp (Altoine Barker)

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 15 years ago by chicagotripp (Altoine Barker)

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 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

Ok, use python2

comment:10 in reply to:  9 Changed 15 years ago by chicagotripp (Altoine Barker)

Replying to jeremyhu@…:

Ok, use python2

That worked. I choose python25.

Note: See TracTickets for help on using tickets.