Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 19:46:52 GMT
From:      Carlo Strub <cs@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179022: socat -- fails on HEAD
Message-ID:  <201305271946.r4RJkqX6015451@oldred.FreeBSD.org>
Resent-Message-ID: <201305271950.r4RJo1sr020953@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271946.r4RJkqX6015451>