[MacPorts] #24468: Mesa-7.8.1 Make Error - Build Failure

MacPorts noreply at macports.org
Tue Apr 13 07:42:43 PDT 2010


#24468: Mesa-7.8.1 Make Error - Build Failure
---------------------------------+------------------------------------------
 Reporter:  nDiScReEt@…          |       Owner:  jeremyhu@…           
     Type:  defect               |      Status:  new                  
 Priority:  Normal               |   Milestone:                       
Component:  ports                |     Version:  1.8.2                
 Keywords:                       |        Port:  mesa                 
---------------------------------+------------------------------------------
Changes (by macsforever2000@…):

 * cc: nDiScReEt@… (removed)
  * keywords:  mesa 7.8.1 =>
  * owner:  macports-tickets@… => jeremyhu@…


Old description:

> 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>

New description:

 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>
 }}}

--

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


More information about the macports-tickets mailing list