ports/179022: socat -- fails on HEAD
Carlo Strub
cs at FreeBSD.org
Mon May 27 19:50:02 UTC 2013
>Number: 179022
>Category: ports
>Synopsis: socat -- fails on HEAD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 27 19:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Carlo Strub
>Release:
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
This bug manifests on redports as well:
....
cc -O2 -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xio-ip.c
cc -O2 -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xio-ip4.c
cc -O2 -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xio-ip6.c
cc -O2 -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xio-ipapp.c
cc -O2 -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xio-tcp.c
cc -O2 -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xio-sctp.c
7 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xio-rawip.c
In file included from xioexit.c:8:
./xio.h:356:4: error: "unexpected size of off_t, please report this as bug"
# error "unexpected size of off_t, please report this as bug"
^
1 error generated.
*** [xioexit.o] Error code 1
xio-creat.c:29:39: warning: incompatible pointer types passing 'mode_t *' (aka 'unsigned short *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
retropt_modet(opts, OPT_PERM, &mode);
^~~~~
./xioopen.h:58:49: note: expanded from macro 'retropt_modet'
# define retropt_modet(x,y,z) retropt_uint(x,y,z)
^
./xioopts.h:906:70: note: passing argument to parameter 'result' here
extern int retropt_uint(struct opt *opts, int optcode, unsigned int *result);
^
xio-pipe.c:117:34: warning: incompatible pointer types passing 'mode_t *' (aka 'unsigned short *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
retropt_modet(opts, OPT_PERM, &mode);
^~~~~
./xioopen.h:58:49: note: expanded from macro 'retropt_modet'
# define retropt_modet(x,y,z) retropt_uint(x,y,z)
^
./xioopts.h:906:70: note: passing argument to parameter 'result' here
extern int retropt_uint(struct opt *opts, int optcode, unsigned int *result);
^
1 warning generated.
xio-named.c:195:39: warning: incompatible pointer types passing 'mode_t *' (aka 'unsigned short *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
retropt_modet(opts, OPT_PERM, &mode);
^~~~~
./xioopen.h:58:49: note: expanded from macro 'retropt_modet'
# define retropt_modet(x,y,z) retropt_uint(x,y,z)
^
./xioopts.h:906:70: note: passing argument to parameter 'result' here
extern int retropt_uint(struct opt *opts, int optcode, unsigned int *result);
^
1 warning generated.
1 warning generated.
4 warnings generated.
1 error
*** [do-build] Error code 1
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list