port install traceroute

Scott Haneda talklists at newgeo.com
Wed Aug 12 12:49:25 PDT 2009


Got past the other issue, but it will not build, any ideas:

$sudo port -d install traceroute
Password:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/traceroute
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/net/traceroute
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 darwin is not provided by port traceroute.
DEBUG: Requested variant i386 is not provided by port traceroute.
DEBUG: Requested variant macosx is not provided by port traceroute.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libtool
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/devel/libtool
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 darwin is not provided by port libtool.
DEBUG: Requested variant i386 is not provided by port libtool.
DEBUG: Requested variant macosx is not provided by port libtool.
DEBUG: Searching for dependency: libtool
DEBUG: Found Dependency: receipt exists for libtool
DEBUG: Executing org.macports.main (traceroute)
--->  Fetching traceroute
DEBUG: Executing org.macports.fetch (traceroute)
--->  traceroute-1.4a12.tar.gz doesn't seem to exist in /opt/local/var/ 
macports/distfiles/traceroute
DEBUG: Pinging ftp.ee.lbl.gov...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: ftp.ee.lbl.gov ping time is 22.360
DEBUG: distfiles.macports.org ping time is 31.056
DEBUG: arn.se.distfiles.macports.org ping time is 10000
--->  Attempting to fetch traceroute-1.4a12.tar.gz from ftp://ftp.ee.lbl.gov/
   % Total    % Received % Xferd  Average Speed   Time    Time      
Time  Current
                                  Dload  Upload   Total   Spent     
Left  Speed
100 74917  100 74917    0     0  34109      0  0:00:02  0:00:02  
--:--:-- 40539
--->  Verifying checksum(s) for traceroute
DEBUG: Executing org.macports.checksum (traceroute)
--->  Checksumming traceroute-1.4a12.tar.gz
DEBUG: Correct (md5) checksum for traceroute-1.4a12.tar.gz
--->  Extracting traceroute
DEBUG: Executing org.macports.extract (traceroute)
--->  Extracting traceroute-1.4a12.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/ 
distfiles/traceroute/traceroute-1.4a12.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_net_traceroute/work" && gzip -dc /opt/ 
local/var/macports/distfiles/traceroute/traceroute-1.4a12.tar.gz | / 
usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (traceroute)
--->  Configuring traceroute
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
DEBUG: Executing org.macports.configure (traceroute)
DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include'  
CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.5' CPP='/usr/bin/cpp-4.0'  
CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib'  
FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c'  
OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_net_traceroute/work/traceroute-1.4a12"  
&& ./configure --prefix=/opt/local'
creating cache ./config.cache
checking host system type... i386-apple-darwin9.8.0
checking target system type... i386-apple-darwin9.8.0
checking build system type... i386-apple-darwin9.8.0
checking for gcc... /usr/bin/gcc-4.0
checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/ 
lib) works... yes
checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/ 
lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for malloc.h... no
checking for sys/select.h... yes
checking for sys/sockio.h... yes
checking for net/route.h... yes
checking for net/if_dl.h... yes
checking for inet/mib2.h... no
checking for strerror... yes
checking for usleep... yes
checking for setlinebuf... yes
checking for gethostbyname... yes
checking for socket... yes
checking for putmsg in -lstr... no
checking routing table type... socket
checking for int32_t using /usr/bin/gcc-4.0... yes
checking for u_int32_t using /usr/bin/gcc-4.0... yes
checking if sockaddr struct has sa_len member... yes
checking if struct icmp has icmp_nextmtu... yes
checking for a BSD compatible install... /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
--->  Building traceroute
DEBUG: Executing org.macports.build (traceroute)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_net_traceroute/work/traceroute-1.4a12" &&  
make all'
/usr/bin/gcc-4.0 -O -O2 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1 - 
DHAVE_NET_ROUTE_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_STRERROR=1 - 
DHAVE_USLEEP=1 -DHAVE_SETLINEBUF=1 -DHAVE_SOCKADDR_SA_LEN=1 - 
DHAVE_ICMP_NEXTMTU=1  -I.  -c ./traceroute.c
./traceroute.c: In function 'wait_for_reply':
./traceroute.c:909: warning: pointer targets in passing argument 6 of  
'recvfrom' differ in signedness
/usr/bin/gcc-4.0 -O -O2 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1 - 
DHAVE_NET_ROUTE_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_STRERROR=1 - 
DHAVE_USLEEP=1 -DHAVE_SETLINEBUF=1 -DHAVE_SOCKADDR_SA_LEN=1 - 
DHAVE_ICMP_NEXTMTU=1  -I.  -c ./ifaddrlist.c
/usr/bin/gcc-4.0 -O -O2 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1 - 
DHAVE_NET_ROUTE_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_STRERROR=1 - 
DHAVE_USLEEP=1 -DHAVE_SETLINEBUF=1 -DHAVE_SOCKADDR_SA_LEN=1 - 
DHAVE_ICMP_NEXTMTU=1  -I.  -c ./findsaddr-socket.c
./findsaddr-socket.c: In function 'findsaddr':
./findsaddr-socket.c:193: error: label at end of compound statement
make: *** [findsaddr-socket.o] 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_net_traceroute/work/traceroute-1.4a12" &&  
make all " returned error 2
Command output: /usr/bin/gcc-4.0 -O -O2 -DHAVE_SYS_SELECT_H=1 - 
DHAVE_SYS_SOCKIO_H=1 -DHAVE_NET_ROUTE_H=1 -DHAVE_NET_IF_DL_H=1 - 
DHAVE_STRERROR=1 -DHAVE_USLEEP=1 -DHAVE_SETLINEBUF=1 - 
DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1  -I.  -c ./traceroute.c
./traceroute.c: In function 'wait_for_reply':
./traceroute.c:909: warning: pointer targets in passing argument 6 of  
'recvfrom' differ in signedness
/usr/bin/gcc-4.0 -O -O2 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1 - 
DHAVE_NET_ROUTE_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_STRERROR=1 - 
DHAVE_USLEEP=1 -DHAVE_SETLINEBUF=1 -DHAVE_SOCKADDR_SA_LEN=1 - 
DHAVE_ICMP_NEXTMTU=1  -I.  -c ./ifaddrlist.c
/usr/bin/gcc-4.0 -O -O2 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1 - 
DHAVE_NET_ROUTE_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_STRERROR=1 - 
DHAVE_USLEEP=1 -DHAVE_SETLINEBUF=1 -DHAVE_SOCKADDR_SA_LEN=1 - 
DHAVE_ICMP_NEXTMTU=1  -I.  -c ./findsaddr-socket.c
./findsaddr-socket.c: In function 'findsaddr':
./findsaddr-socket.c:193: error: label at end of compound statement
make: *** [findsaddr-socket.o] Error 1

Warning: the following items did not execute (for traceroute):  
org.macports.activate org.macports.build org.macports.destroot  
org.macports.install
Error: Status 1 encountered during processing.
me at macbook ~ $

On Aug 12, 2009, at 12:30 PM, Scott me wrote:

> sudo port -d install traceroute

-- 
Scott * If you contact me off list replace talklists@ with scott@ *



More information about the macports-dev mailing list