[MacPorts] #19193: socat fails to build

MacPorts noreply at macports.org
Sun Apr 5 22:17:35 PDT 2009


#19193: socat fails to build
----------------------------------------+-----------------------------------
 Reporter:  macports@…                  |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:  Port Bugs                            
Component:  ports                       |     Version:  1.7.1                                
 Keywords:  socat                       |        Port:                                       
----------------------------------------+-----------------------------------
 The socat port fails during the build stage with the following error:
 {{{
 blunder:~ 0$ sudo port install socat
 Password:
 --->  Fetching socat
 --->  Attempting to fetch socat-1.7.0.0.tar.gz from http://www.dest-
 unreach.org/socat/download/
 --->  Verifying checksum(s) for socat
 --->  Extracting socat
 --->  Configuring socat
 --->  Building socat
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_socat/work/socat-1.7.0.0"
 && make all " returned error 2
 Command output: /usr/bin/gcc-3.3 -O2 -D_GNU_SOURCE  -Wall -Wno-parentheses
 -DHAVE_CONFIG_H -I. -I/opt/local/include -I. -I/opt/local/include  -c -o
 socat.o socat.c
 In file included from socat.c:9:
 xioconfig.h:124: error: parse error before "sa_family_t"
 xioconfig.h:124: warning: type defaults to `int' in declaration of
 `sa_family_t'
 xioconfig.h:124: warning: data definition has no type or storage class
 In file included from sysincludes.h:58,
                  from socat.c:11:
 /usr/include/sys/socket.h:77: error: `sa_family_t' redeclared as different
 kind of symbol
 xioconfig.h:124: error: previous declaration of `sa_family_t'
 make: *** [socat.o] Error 1

 Error: Status 1 encountered during processing.
 blunder:~ 0$
 }}}
 This is on OS X 10.3.9, with port "Version: 1.710".  Not exactly sure how
 to interpret what's going wrong here, and I'm pretty new to MacPorts, so
 I'm not sure exactly where I should look to track down the issue. Let me
 know if there's any more info I can provide.

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


More information about the macports-tickets mailing list