[Bug 280304] net/dante: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Jul 2024 18:07:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280304

            Bug ID: 280304
           Summary: net/dante: build fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

...
--- config_parse.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../libscompat -isystem /usr/local/include -DDEBUG=0 -D_FORTIFY_SOURCE=2
-DFD_SETSIZE=65536 -DSOCKS_CLIENT=1 -DSOCKS_SERVER=0 -DSOCKSLIBRARY_DYNAMIC=0
-DSTANDALONE_UNIT_TEST=0 -O2 -pipe -O3 -pipe -funroll-loops -mretpoline
-fno-delete-null-pointer-checks -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing
-fdebug-prefix-map=/tmp/ports/usr/ports/net/dante/work/dante-1.4.3=. -O2 -ggdb
-pipe -Wbounded -MT config_parse.lo -MD -MP -MF .deps/config_parse.Tpo -c
config_parse.c  -fPIC -DPIC -o .libs/config_parse.o
--- udp.lo ---
mv -f .deps/udp.Tpo .deps/udp.Plo
--- tostring.lo ---
mv -f .deps/tostring.Tpo .deps/tostring.Plo
--- upnp.lo ---
warning: unknown warning option '-Wbounded'; did you mean '-Wundef'?
[-Wunknown-warning-option]
upnp.c:62:1: warning: a function definition without a prototype is deprecated
in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   62 | socks_initupnp(gw, emsg, emsglen)
      | ^
upnp.c:211:74: error: too few arguments to function call, expected 7, have 5
  211 |       devtype = UPNP_GetValidIGD(dev, &url, &data, myaddr,
sizeof(myaddr));
      |                 ~~~~~~~~~~~~~~~~                                       
 ^
/usr/local/include/miniupnpc/miniupnpc.h:122:1: note: 'UPNP_GetValidIGD'
declared here
  122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
      | ^                ~~~~~~~~~~~~~~~~~~~~~~~~~
  123 |                  struct UPNPUrls * urls,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~
  124 |                  struct IGDdatas * data,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~
  125 |                  char * lanaddr, int lanaddrlen,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126 |                  char * wanaddr, int wanaddrlen);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upnp.c:310:1: warning: a function definition without a prototype is deprecated
in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  310 | upnp_negotiate(s, packet, gw, emsg, emsglen)
      | ^
upnp.c:831:1: warning: a function definition without a prototype is deprecated
in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  831 | sighandler(sig)
      | ^
upnp.c:850:1: warning: a function definition without a prototype is deprecated
in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  850 | upnpcleanup(s)
      | ^
5 warnings and 1 error generated.
*** [upnp.lo] Error code 1
...

-- 
You are receiving this mail because:
You are the assignee for the bug.