[MacPorts] #19193: socat fails to build
#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
#19193: socat fails to build ----------------------------------------+----------------------------------- Reporter: macports@… | Owner: md@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: socat ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * keywords: socat => * owner: macports-tickets@… => md@… * port: => socat -- Ticket URL: <http://trac.macports.org/ticket/19193#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19193: socat fails to build ----------------------------------------+----------------------------------- Reporter: macports@… | Owner: md@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: socat ----------------------------------------+----------------------------------- Comment(by macports@…): The following patches seem to fix the problem: {{{ --- xioconfig.h.orig Mon Apr 6 21:15:42 2009 +++ xioconfig.h Mon Apr 6 21:17:01 2009 @@ -121,7 +121,7 @@ #endif #ifndef HAVE_TYPE_SA_FAMILY_T - typedef uint16_t sa_family_t; + typedef unsigned char sa_family_t; #endif #endif /* !defined(__xioconfig_h_included) */ }}} {{{ --- filan.c.orig Mon Apr 6 21:38:38 2009 +++ filan.c Mon Apr 6 21:39:06 2009 @@ -136,7 +136,9 @@ #ifdef POLLRDBAND |POLLRDBAND #endif +#ifdef POLLWRNORM |POLLWRNORM +#endif #ifdef POLLWRBAND |POLLWRBAND #endif }}} Not sure if they're the exactly right things to do, but they allow the package to build, and it seems to work fine when installed. hth. -- Ticket URL: <http://trac.macports.org/ticket/19193#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19193: socat fails to build ----------------------------------------+----------------------------------- Reporter: macports@… | Owner: md@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: socat ----------------------------------------+----------------------------------- Comment(by dkg@…): The problem with `xioconfig.h` can probably be better fixed by repairing the `./configure` test for the presence of `sa_family_t`, though i'm not sure how to do that. You might want to report the problem with `filan.c` upstream, since [http://www.dest-unreach.org/socat/ they claim for 1.7.0.0]: {{{ socat compiles on Mac OS X again. }}} It seems likely that they haven't tested it with macports under OS 10.3. -- Ticket URL: <http://trac.macports.org/ticket/19193#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19193: socat fails to build -----------------------------------------+---------------------------------- Reporter: macports@… | Owner: md@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: wontfix | Keywords: Port: socat | -----------------------------------------+---------------------------------- Changes (by toby@…): * status: new => closed * resolution: => wontfix Comment: Panther is not supported. -- Ticket URL: <http://trac.macports.org/ticket/19193#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19193: socat fails to build on Panther -----------------------------------------+---------------------------------- Reporter: macports@… | Owner: md@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: wontfix | Keywords: Port: socat | -----------------------------------------+---------------------------------- -- Ticket URL: <http://trac.macports.org/ticket/19193#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts