[MacPorts] #18678: upgrade error mesa 7.2 rev 6 - ipc.c

MacPorts noreply at macports.org
Sat Feb 28 01:56:09 PST 2009


#18678: upgrade error mesa 7.2 rev 6 - ipc.c
--------------------------------------+-------------------------------------
 Reporter:  garribald@…               |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:  Port Bugs                            
Component:  ports                     |     Version:  1.7.0                                
 Keywords:                            |        Port:                                       
--------------------------------------+-------------------------------------
 While i had no problem installing the mesa 7.2_5, the upgrading to the
 current revision 6 gives me an error. The core of the problem seems to be:


 {{{
 Making programs for darwin
 gcc -c -I. -I../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99
 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include
 -I/opt/local/include  -fPIC   -D_DARWIN_C_SOURCE -D_POSIX_SOURCE
 -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
 -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING ipc.c
 ipc.c: In function 'CreatePort':
 ipc.c:91: error: 'struct hostent' has no member named 'h_addr'
 ipc.c: In function 'Connect':
 ipc.c:173: error: 'struct hostent' has no member named 'h_addr'
 make[2]: *** [ipc.o] 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.2"
 && nice -n 18 make default INSTALL_DIR=/opt/local " returned error 2
 Command output: Making sources for darwin
 make[2]: Nothing to be done for `default'.
 (cd drivers && make)
 /bin/sh ../../../../bin/mklib -o OSMesa -linker 'gcc' -ldflags '' \
         -major 7 -minor 2 -patch 0 \
         -install ../../../../lib  \
         -id /opt/local/lib/libOSMesa.7.dylib \
         -L../../../../lib -lGL osmesa.o ../../../../src/mesa/libmesa.a
 ../../../../src/mesa/libglapi.a
 mklib: Making Darwin shared library:  libOSMesa.7.2.dylib
 mklib: Installing libOSMesa.7.2.dylib libOSMesa.7.dylib libOSMesa.dylib in
 ../../../../lib
 make[4]: `../../../lib/libGLU.dylib' is up to date.
 make[2]: Nothing to be done for `default'.
 Making programs for darwin
 gcc -c -I. -I../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99
 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include
 -I/opt/local/include  -fPIC   -D_DARWIN_C_SOURCE -D_POSIX_SOURCE
 -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
 -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING ipc.c
 ipc.c: In function 'CreatePort':
 ipc.c:91: error: 'struct hostent' has no member named 'h_addr'
 ipc.c: In function 'Connect':
 ipc.c:173: error: 'struct hostent' has no member named 'h_addr'
 make[2]: *** [ipc.o] Error 1
 make[1]: *** [subdirs] Error 1
 make: *** [default] Error 1

 Warning: the following items did not execute (for mesa):
 org.macports.destroot org.macports.build
 DEBUG: invalid command name "::ui_init"
     while executing
 "::ui_init $priority $prefix $channels $message"
     ("uplevel" body line 2)
     invoked from within
 "uplevel 1 $body"
 Error: Unable to upgrade port: 1
 }}}

 I have attached the longer debug/verbose log to this ticket. What i
 haven't tried so far is removing the old mesa and installing rev 6 new.
 Maybe there is another trick i could try.

 MacPorts 1.7, OS X 10.4.11

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


More information about the macports-tickets mailing list