#1078437 tinc: FTBFS with current miniupnpc: error: too few arguments to function 'UPNP_GetValidIGD'

Package:
src:tinc
Source:
src:tinc
Submitter:
Andreas Beckmann
Date:
2024-08-10 11:30:03 UTC
Severity:
normal
Tags:
#1078437#5
Date:
2024-08-10 11:27:13 UTC
From:
To:
tinc/experimental FTBFS with the current miniupnpc version in sid:

gcc -DHAVE_CONFIG_H    -Wdate-time -D_FORTIFY_SOURCE=2 -DFORTIFY_SOURCE=2 -fwrapv -fPIE -DCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -DLOCALSTATEDIR=\"/var\" -DSBINDIR=\"/usr/sbin\" -iquote.  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build
/tinc-1.1~pre18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -c -o upnp.o upnp.c
upnp.c: In function 'upnp_discover':
upnp.c:67:2: warning: #warning "The version of libminiupnpc you're building against seems to be too recent. Expect trouble." [-Wcpp]
   67 | #warning "The version of libminiupnpc you're building against seems to be too recent. Expect trouble."
      |  ^~~~~~~
upnp.c: In function 'upnp_refresh':
upnp.c:128:22: error: too few arguments to function 'UPNP_GetValidIGD'
  128 |         int result = UPNP_GetValidIGD(devices, &urls, &data, myaddr, sizeof(myaddr));
      |                      ^~~~~~~~~~~~~~~~
In file included from upnp.c:26:
/usr/include/miniupnpc/miniupnpc.h:122:1: note: declared here
  122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
      | ^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1042: upnp.o] Error 1


Andreas