Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2024 12:54:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280298] net-p2p/transmission-components: build error after updating net/miniupnpc to 2.2.8
Message-ID:  <bug-280298-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280298

            Bug ID: 280298
           Summary: net-p2p/transmission-components: build error after
                    updating net/miniupnpc to 2.2.8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: discipline@tiscali.it
                CC: dinoex@FreeBSD.org, mondo.debater_0q@icloud.com
                CC: dinoex@FreeBSD.org, mondo.debater_0q@icloud.com

I'm getting the following error rebuilding net-p2p/transmission-components
after updating net/miniupnpc to 2.2.8
(a270dbfaa9ce47608d63a201c786e5d4695447ca).

[ 49% 40/81] /usr/bin/c++ -DFMT_EXCEPTIONS=3D0 -DFMT_HEADER_ONLY=3D1
-DHAVE_COPY_FILE_RANGE -DHAVE_FLOCK -DHAVE_LIBINTL_H -DHAVE_MKDTEMP
-DHAVE_POSIX_FADVISE -DHAVE_POSIX_FALLOCATE -DHAVE_PREAD -DHAVE_PWRITE
-DHAVE_SO_REUSEPORT=3D1 -DHAVE_STATVFS -DHAVE_SYS_STATVFS_H -DHAVE_XLOCALE_H
-DPACKAGE_DATA_DIR=3D\"/usr/local/share\" -DSYSTEM_MINIUPNP -DUSE_SYSTEM_B64
-DWIDE_INTEGER_DISABLE_FLOAT_INTEROP -DWIDE_INTEGER_DISABLE_IOSTREAM
-DWITH_KQUEUE -DWITH_UTP -D__TRANSMISSION__
-I/usr/ports/net-p2p/transmission-components/work-cli/.build/libtransmission
-I/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/th=
ird-party/jsonsl
-I/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/th=
ird-party/wildmat
-isystem /usr/local/include/utf8cpp -isystem
/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/cmak=
e/../third-party/wide-integer
-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/incl=
ude
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include -O2 -pipe
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -DNDEBUG
-std=3Dgnu++17 -W -Wall -Wextra -Wcast-align -Wexit-time-destructors -Wextr=
a-semi
-Wextra-semi-stmt -Wextra-tokens -Wfloat-equal -Wgnu -Winit-self
-Wint-in-bool-context -Wmissing-format-attribute -Wnull-dereference
-Wpointer-arith -Wredundant-decls -Wredundant-move -Wreorder-ctor
-Wreturn-std-move -Wself-assign -Wself-move -Wsemicolon-before-method-body
-Wsentinel -Wshadow -Wsign-compare -Wsometimes-uninitialized
-Wstring-conversion -Wsuggest-destructor-override -Wsuggest-override
-Wuninitialized -Wunreachable-code -Wunused -Wunused-const-variable
-Wunused-parameter -Wunused-result -Wwrite-strings -Wformat-security -pthre=
ad
-MD -MT libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc=
.o
-MF libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o.d=
 -o
libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o -c
/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/libt=
ransmission/port-forwarding-upnp.cc
FAILED: libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc=
.o=20
/usr/bin/c++ -DFMT_EXCEPTIONS=3D0 -DFMT_HEADER_ONLY=3D1 -DHAVE_COPY_FILE_RA=
NGE
-DHAVE_FLOCK -DHAVE_LIBINTL_H -DHAVE_MKDTEMP -DHAVE_POSIX_FADVISE
-DHAVE_POSIX_FALLOCATE -DHAVE_PREAD -DHAVE_PWRITE -DHAVE_SO_REUSEPORT=3D1
-DHAVE_STATVFS -DHAVE_SYS_STATVFS_H -DHAVE_XLOCALE_H
-DPACKAGE_DATA_DIR=3D\"/usr/local/share\" -DSYSTEM_MINIUPNP -DUSE_SYSTEM_B64
-DWIDE_INTEGER_DISABLE_FLOAT_INTEROP -DWIDE_INTEGER_DISABLE_IOSTREAM
-DWITH_KQUEUE -DWITH_UTP -D__TRANSMISSION__
-I/usr/ports/net-p2p/transmission-components/work-cli/.build/libtransmission
-I/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/th=
ird-party/jsonsl
-I/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/th=
ird-party/wildmat
-isystem /usr/local/include/utf8cpp -isystem
/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/cmak=
e/../third-party/wide-integer
-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/incl=
ude
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include -O2 -pipe
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -DNDEBUG
-std=3Dgnu++17 -W -Wall -Wextra -Wcast-align -Wexit-time-destructors -Wextr=
a-semi
-Wextra-semi-stmt -Wextra-tokens -Wfloat-equal -Wgnu -Winit-self
-Wint-in-bool-context -Wmissing-format-attribute -Wnull-dereference
-Wpointer-arith -Wredundant-decls -Wredundant-move -Wreorder-ctor
-Wreturn-std-move -Wself-assign -Wself-move -Wsemicolon-before-method-body
-Wsentinel -Wshadow -Wsign-compare -Wsometimes-uninitialized
-Wstring-conversion -Wsuggest-destructor-override -Wsuggest-override
-Wuninitialized -Wunreachable-code -Wunused -Wunused-const-variable
-Wunused-parameter -Wunused-result -Wwrite-strings -Wformat-security -pthre=
ad
-MD -MT libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc=
.o
-MF libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o.d=
 -o
libtransmission/CMakeFiles/transmission.dir/port-forwarding-upnp.cc.o -c
/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/libt=
ransmission/port-forwarding-upnp.cc
/usr/ports/net-p2p/transmission-components/work-cli/transmission-4.0.6/libt=
ransmission/port-forwarding-upnp.cc:278:13:
error: no matching function for call to 'UPNP_GetValidIGD'
  278 |         if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data,
std::data(lanaddr), std::size(lanaddr) - 1) =3D=3D
      |             ^~~~~~~~~~~~~~~~
/usr/local/include/miniupnpc/miniupnpc.h:122:1: note: candidate function not
viable: requires 7 arguments, but 5 were provided
  122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
      | ^                ~~~~~~~~~~~~~~~~~~~~~~~~~
  123 |                  struct UPNPUrls * urls,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~
  124 |                  struct IGDdatas * data,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~
  125 |                  char * lanaddr, int lanaddrlen,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126 |                  char * wanaddr, int wanaddrlen);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

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



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