Opened 13 years ago

Last modified 13 years ago

#29737 closed update

mesa upgrade failure (from mesa 7.8.2_2 to 7.10.2_2) — at Version 1

Reported by: aeronova Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign@…
Port: mesa

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

I'm using Mac 10.6.7, and I had the following error when I update the mesa library.

mklib: Making Darwin shared library:  libGL.1.2.dylib
mklib: Installing libGL.1.2.dylib libGL.1.dylib libGL.dylib in ../../../lib
python -t -O -O main/es_generator.py -S main/APIspec.xml -V GLES1.1 > main/api_exec_es1.c
python -t -O -O main/es_generator.py -S main/APIspec.xml -V GLES2.0 > main/api_exec_es2.c
Traceback (most recent call last):
  File "main/es_generator.py", line 26, in <module>
    import APIspecutil as apiutil
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.10.2/src/mesa/main/APIspecutil.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
Traceback (most recent call last):
  File "main/es_generator.py", line 26, in <module>
    import APIspecutil as apiutil
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.10.2/src/mesa/main/APIspecutil.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
make[2]: *** No rule to make target `depend', needed by `default'.  Stop.
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.10.2" && /usr/bin/make -j2 default INSTALL_DIR=/opt/local RC_CFLAGS="-arch x86_64" CC="/usr/bin/gcc-4.2 " CXX="/usr/bin/g++-4.2 " " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for mesa): org.macports.destroot org.macports.build
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: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

The error says there is no libxml2, but I think I have it installed from the following check:

$ port installed | grep libxml2
  libxml2 @2.7.8_0 (active)
  py26-libxml2 @2.6.21_0 (active)
  py27-libxml2 @2.6.21_0 (active)

Please help me with this problem. Thank you in adv.

  1. Lee.

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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

Which version of python is selected (with "port select python")?

Note: See TracTickets for help on using tickets.