Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934058 - net-vpn/i2pd-2.52.0 - [perl-5.40] [ncurses-6.5] [icu-75.1] /.../UPnP.cpp: error: too few arguments to function int UPNP_GetValidIGD(UPNPDev , UPNPUrls , IGDdatas , char , int, char , int)
Summary: net-vpn/i2pd-2.52.0 - [perl-5.40] [ncurses-6.5] [icu-75.1] /.../UPnP.cpp: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey Korepanov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 16:26 UTC by Toralf Förster
Modified: 2024-06-24 14:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2024-06-11 16:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,24.98 KB, text/plain)
2024-06-11 16:26 UTC, Toralf Förster
Details
environment (environment,104.80 KB, text/plain)
2024-06-11 16:26 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.11 KB, application/x-xz)
2024-06-11 16:26 UTC, Toralf Förster
Details
net-vpn:i2pd-2.52.0:20240611-125823.log (net-vpn:i2pd-2.52.0:20240611-125823.log,111.96 KB, text/plain)
2024-06-11 16:26 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,80.15 KB, text/plain)
2024-06-11 16:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-11 16:26:04 UTC
too long lines were shrinked:

[80/86] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_L
[81/86] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_L
[82/86] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_L
FAILED: CMakeFiles/i2pd.dir/var/tmp/portage/net-vpn/i2pd-2.52.0/work/i2pd-2.52.0/daemon/UPnP.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBO
/var/tmp/portage/net-vpn/i2pd-2.52.0/work/i2pd-2.52.0/daemon/UPnP.cpp: In member function void i2p::transport::UPnP::Discover():
/var/tmp/portage/net-vpn/i2pd-2.52.0/work/i2pd-2.52.0/daemon/UPnP.cpp:118:40: error: too few arguments to function int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)
  118 |                 err = UPNP_GetValidIGD (m_Devlist, &m_upnpUrls, &m_upnpData, m_NetworkAddr, sizeof (m_NetworkAddr));
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20240610-211521

  UNMASKED:
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):

  HEAD of ::gentoo
commit 65a4ef50ae4ebcbdc43a05c87f54ea4a82b215cb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 11 11:51:06 2024 +0000

    2024-06-11 11:51:05 UTC

emerge -qpvO net-vpn/i2pd
[ebuild  N    ] net-vpn/i2pd-2.52.0  USE="upnp -i2p-hardening" CPU_FLAGS_X86="aes"
Comment 1 Toralf Förster gentoo-dev 2024-06-11 16:26:05 UTC
Created attachment 895613 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-11 16:26:06 UTC
Created attachment 895614 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-11 16:26:07 UTC
Created attachment 895615 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-11 16:26:08 UTC
Created attachment 895616 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-11 16:26:09 UTC
Created attachment 895617 [details]
net-vpn:i2pd-2.52.0:20240611-125823.log
Comment 6 Toralf Förster gentoo-dev 2024-06-11 16:26:10 UTC
Created attachment 895618 [details]
qlist-info.txt
Comment 7 Alexey Korepanov 2024-06-11 16:44:14 UTC
Thanks. This is a change in miniupnp. I created an issue upstream:
https://github.com/PurpleI2P/i2pd/issues/2071

As a temporary workaround, we can force dependency on <miniupnpc-2.2.8
Comment 8 Larry the Git Cow gentoo-dev 2024-06-24 14:17:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc250091db4bbc7b446ca0a816fba4035e6a6d3c

commit bc250091db4bbc7b446ca0a816fba4035e6a6d3c
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2024-06-24 14:14:57 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2024-06-24 14:17:02 +0000

    net-vpn/i2pd: add patch for miniupnp-2.2.8
    
    Closes: https://bugs.gentoo.org/934058
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch | 37 +++++++++++++++++++++++++++
 net-vpn/i2pd/i2pd-2.52.0.ebuild               |  2 ++
 2 files changed, 39 insertions(+)