book:~ test$ sudo port -vd upgrade mesa DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa DEBUG: epoch: in tree: 0 installed: 0 DEBUG: mesa 7.2_6 exists in the ports tree DEBUG: mesa 7.2_5 is installed DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-glproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-glproto 1.4.9_0 exists in the ports tree DEBUG: xorg-glproto 1.4.9_0 is installed DEBUG: No need to upgrade! xorg-glproto 1.4.9_0 >= xorg-glproto 1.4.9_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/makedepend DEBUG: makedepend is *not* installed by MacPorts DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/makedepend DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port makedepend. DEBUG: Requested variant darwin is not provided by port makedepend. DEBUG: Requested variant macosx is not provided by port makedepend. DEBUG: Searching for dependency: makedepend DEBUG: Didn't find receipt, going to depspec regex for: makedepend DEBUG: Found Dependency: path: /usr/X11R6/bin filename: makedepend regex: ^makedepend$ DEBUG: makedepend installed outside the MacPorts system DEBUG: epoch: in tree: 0 installed: 0 DEBUG: makedepend 1.0.1_0 exists in the ports tree DEBUG: makedepend 1.0.1_0 is installed DEBUG: Not following dependencies DEBUG: No need to upgrade! makedepend 1.0.1_0 >= makedepend 1.0.1_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/glut DEBUG: epoch: in tree: 0 installed: 0 DEBUG: glut 3.7_3 exists in the ports tree DEBUG: glut 3.7_3 is installed DEBUG: No need to upgrade! glut 3.7_3 >= glut 3.7_3 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl DEBUG: epoch: in tree: 0 installed: 0 DEBUG: tcl 8.5.6_0 exists in the ports tree DEBUG: tcl 8.5.6_0 is installed DEBUG: No need to upgrade! tcl 8.5.6_0 >= tcl 8.5.6_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libXext DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-libXext 1.0.5_0 exists in the ports tree DEBUG: xorg-libXext 1.0.5_0 is installed DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig DEBUG: epoch: in tree: 0 installed: 0 DEBUG: pkgconfig 0.23_1 exists in the ports tree DEBUG: pkgconfig 0.23_1 is installed DEBUG: No need to upgrade! pkgconfig 0.23_1 >= pkgconfig 0.23_1 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-xproto 7.0.14_1 exists in the ports tree DEBUG: xorg-xproto 7.0.14_1 is installed DEBUG: No need to upgrade! xorg-xproto 7.0.14_1 >= xorg-xproto 7.0.14_1 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xextproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-xextproto 7.0.5_0 exists in the ports tree DEBUG: xorg-xextproto 7.0.5_0 is installed DEBUG: No need to upgrade! xorg-xextproto 7.0.5_0 >= xorg-xextproto 7.0.5_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libX11 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-libX11 1.2_0 exists in the ports tree DEBUG: xorg-libX11 1.2_0 is installed DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-bigreqsproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-bigreqsproto 1.0.2_0 exists in the ports tree DEBUG: xorg-bigreqsproto 1.0.2_0 is installed DEBUG: No need to upgrade! xorg-bigreqsproto 1.0.2_0 >= xorg-bigreqsproto 1.0.2_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xcmiscproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-xcmiscproto 1.1.2_0 exists in the ports tree DEBUG: xorg-xcmiscproto 1.1.2_0 is installed DEBUG: No need to upgrade! xorg-xcmiscproto 1.1.2_0 >= xorg-xcmiscproto 1.1.2_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xtrans DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-xtrans 1.2.3_0 exists in the ports tree DEBUG: xorg-xtrans 1.2.3_0 is installed DEBUG: No need to upgrade! xorg-xtrans 1.2.3_0 >= xorg-xtrans 1.2.3_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-xf86bigfontproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-xf86bigfontproto 1.1.2_0 exists in the ports tree DEBUG: xorg-xf86bigfontproto 1.1.2_0 is installed DEBUG: No need to upgrade! xorg-xf86bigfontproto 1.1.2_0 >= xorg-xf86bigfontproto 1.1.2_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-inputproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-inputproto 1.5.0_0 exists in the ports tree DEBUG: xorg-inputproto 1.5.0_0 is installed DEBUG: No need to upgrade! xorg-inputproto 1.5.0_0 >= xorg-inputproto 1.5.0_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-kbproto DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-kbproto 1.0.3_0 exists in the ports tree DEBUG: xorg-kbproto 1.0.3_0 is installed DEBUG: No need to upgrade! xorg-kbproto 1.0.3_0 >= xorg-kbproto 1.0.3_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libXdmcp DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-libXdmcp 1.0.2_0 exists in the ports tree DEBUG: xorg-libXdmcp 1.0.2_0 is installed DEBUG: No need to upgrade! xorg-libXdmcp 1.0.2_0 >= xorg-libXdmcp 1.0.2_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libXau DEBUG: epoch: in tree: 0 installed: 0 DEBUG: xorg-libXau 1.0.4_0 exists in the ports tree DEBUG: xorg-libXau 1.0.4_0 is installed DEBUG: No need to upgrade! xorg-libXau 1.0.4_0 >= xorg-libXau 1.0.4_0 DEBUG: No need to upgrade! xorg-libX11 1.2_0 >= xorg-libX11 1.2_0 DEBUG: No need to upgrade! xorg-libXext 1.0.5_0 >= xorg-libXext 1.0.5_0 DEBUG: variants to install {} hw_render DEBUG: available variants are : universal hw_render system_x11 DEBUG: variant hw_render is present in mesa 7.2_6 DEBUG: new portvariants: hw_render + DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant powerpc is not provided by port mesa. DEBUG: Requested variant darwin is not provided by port mesa. DEBUG: Requested variant macosx is not provided by port mesa. DEBUG: Executing variant hw_render provides hw_render DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libXext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-libXext DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port xorg-libXext. DEBUG: Requested variant darwin is not provided by port xorg-libXext. DEBUG: Requested variant hw_render is not provided by port xorg-libXext. DEBUG: Requested variant macosx is not provided by port xorg-libXext. DEBUG: Searching for dependency: xorg-libXext DEBUG: Found Dependency: receipt exists for xorg-libXext DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-glproto DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-glproto DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port xorg-glproto. DEBUG: Requested variant darwin is not provided by port xorg-glproto. DEBUG: Requested variant hw_render is not provided by port xorg-glproto. DEBUG: Requested variant macosx is not provided by port xorg-glproto. DEBUG: Searching for dependency: xorg-glproto DEBUG: Found Dependency: receipt exists for xorg-glproto DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/makedepend DEBUG: Searching for dependency: makedepend DEBUG: Didn't find receipt, going to depspec regex for: makedepend DEBUG: Found Dependency: path: /usr/X11R6/bin filename: makedepend regex: ^makedepend$ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/glut DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/glut DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: not using configure, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port glut. DEBUG: Requested variant darwin is not provided by port glut. DEBUG: Requested variant hw_render is not provided by port glut. DEBUG: Requested variant macosx is not provided by port glut. DEBUG: Searching for dependency: glut DEBUG: Found Dependency: receipt exists for glut DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port tcl. DEBUG: Requested variant darwin is not provided by port tcl. DEBUG: Requested variant hw_render is not provided by port tcl. DEBUG: Requested variant macosx is not provided by port tcl. DEBUG: Searching for dependency: tcl DEBUG: Found Dependency: receipt exists for tcl DEBUG: Executing org.macports.main (mesa) DEBUG: Skipping completed org.macports.fetch (mesa) DEBUG: Skipping completed org.macports.checksum (mesa) DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 DEBUG: Skipping completed org.macports.extract (mesa) DEBUG: Skipping completed org.macports.patch (mesa) DEBUG: Skipping completed org.macports.configure (mesa) ---> Building mesa DEBUG: Executing proc-pre-org.macports.build-build-0 DEBUG: Executing org.macports.build (mesa) DEBUG: port allows a parallel build DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: Assembled 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' 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 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