Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937813 - net-proxy/dante-1.4.1-r6: error: too few arguments to function 'UPNP_GetValidIGD'
Summary: net-proxy/dante-1.4.1-r6: error: too few arguments to function 'UPNP_GetValid...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-12 14:22 UTC by Michael Moon
Modified: 2024-11-18 04:11 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: Yes


Attachments
emerge --info (emerge-info.txt,12.42 KB, text/plain)
2024-08-12 14:22 UTC, Michael Moon
Details
build.log (dante-1.4.1-r6-build.log.txt,110.68 KB, text/plain)
2024-08-12 14:22 UTC, Michael Moon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moon 2024-08-12 14:22:32 UTC
Created attachment 899939 [details]
emerge --info

make[1]: Entering directory '/var/tmp/portage/net-proxy/dante-1.4.1-r6/work/dante-1.4.1/lib'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../libscompat  -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DDEBUG=0 -DSOCKS_CLIENT=1 -DSOCKS_SERVER=0 -DSOCKSLIBRARY_D
YNAMIC=0 -DSTANDALONE_UNIT_TEST=0 -O2 -pipe -march=native -ftree-vectorize -g -O2 -ggdb -pipe  -c -o upnp.lo upnp.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../libscompat -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DDEBUG=0 -DSOCKS_CLIENT=1 -DSOCKS_SERVER=0 -DSOCKSLIBRARY_DYNAMIC=0 -DSTANDALONE_UNIT_T
EST=0 -O2 -pipe -march=native -ftree-vectorize -g -O2 -ggdb -pipe -c upnp.c  -fPIC -DPIC -o .libs/upnp.o
In file included from /usr/include/sys/types.h:25,
                 from ../include/osdep.h:71,
                 from ../include/common.h:56,
                 from upnp.c:47:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
upnp.c: In function 'socks_initupnp':
upnp.c:209:17: error: too few arguments to function 'UPNP_GetValidIGD'
  209 |       devtype = UPNP_GetValidIGD(dev, &url, &data, myaddr, sizeof(myaddr));
      |                 ^~~~~~~~~~~~~~~~
In file included from ../include/upnp.h:47,
                 from upnp.c:49:
/usr/include/miniupnpc/miniupnpc.h:122:1: note: declared here
  122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
      | ^~~~~~~~~~~~~~~~
make[1]: *** [Makefile:623: upnp.lo] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-proxy/dante-1.4.1-r6/work/dante-1.4.1/lib'
make[1]: *** Waiting for unfinished jobs....

net-libs/miniupnpc-2.2.8-r1:
        /usr/include/miniupnpc/miniupnpc.h


Is this some sort of dependency version issue perhaps?

Strangely, it seems to have worked before:

# emerge -avt1 net-libs/miniupnpc dante

These are the packages that would be merged:

Calculating dependencies                     ... done!
Dependency resolution took 3.78 s (backtrack: 0/100).

[ebuild   R    ] net-libs/miniupnpc-2.2.8-r1:0/18::gentoo  USE="-verify-sig" 0 KiB
[ebuild   R    ] net-proxy/dante-1.4.1-r6::gentoo  USE="-debug -kerberos pam (-selinux) -static-libs -tcpd upnp" 0 KiB

portage is just pulling dante for a rebuild for some reason, although it didn't mention why:


The following packages are causing rebuilds:

  (media-libs/opencv-4.9.0-r1:0/4.9.0::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (sci-libs/caffe2-2.3.1:0/0::gentoo, ebuild scheduled for merge)
    (media-plugins/frei0r-plugins-1.8.0:0/0::gentoo, ebuild scheduled for merge)

seems to be unrelated
Comment 1 Michael Moon 2024-08-12 14:22:52 UTC
Created attachment 899940 [details]
build.log
Comment 2 Michael Moon 2024-08-12 14:28:38 UTC
Fwiw, it appears that dante is being pulled in by ruby[socks5] on my system
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2024-11-18 04:11:06 UTC
Please retest against dante-1.4.3 due to major changes upstream & in the patch-set.