#19193 closed defect (wontfix)
socat fails to build on Panther
Reported by: | macports@… | Owned by: | md@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | dkg@… | |
Port: | socat |
Description
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.
Change History (7)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Keywords: | socat removed |
---|---|
Owner: | changed from macports-tickets@… to md@… |
Port: | socat added |
comment:2 Changed 16 years ago by macports@…
comment:4 Changed 16 years ago 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 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.
comment:6 Changed 15 years ago by tobypeterson
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Panther is not supported.
comment:7 Changed 15 years ago by tobypeterson
Summary: | socat fails to build → socat fails to build on Panther |
---|
Note: See
TracTickets for help on using
tickets.
The following patches seem to fix the problem:
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.