[MacPorts] #29737: mesa upgrade failure (from mesa 7.8.2_2 to 7.10.2_2)

MacPorts noreply at macports.org
Tue Jun 7 03:16:17 PDT 2011


#29737: mesa upgrade failure (from mesa 7.8.2_2 to 7.10.2_2)
--------------------------------+-------------------------------------------
 Reporter:  aeronova@…          |       Owner:  jeremyhu@…           
     Type:  update              |      Status:  new                  
 Priority:  Normal              |   Milestone:                       
Component:  ports               |     Version:  1.9.2                
 Keywords:                      |        Port:  mesa                 
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * owner:  macports-tickets@… => jeremyhu@…
  * keywords:  mesa =>
  * port:  => mesa


Old description:

> 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.
>
> K. Lee.

New description:

 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.

 K. Lee.

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/29737#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list