Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934055 - net-p2p/airdcpp-webclient-2.12.1 - /.../Mapper_MiniUPnPc.cpp: error: too few arguments to function int UPNP_GetValidIGD(UPNPDev , UPNPUrls , IGDdatas
Summary: net-p2p/airdcpp-webclient-2.12.1 - /.../Mapper_MiniUPnPc.cpp: error: too few ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Louis Sautier (sbraz)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 16:24 UTC by Toralf Förster
Modified: 2024-06-16 19:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.75 KB, text/plain)
2024-06-11 16:24 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,89.59 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
environment (environment,140.31 KB, text/plain)
2024-06-11 16:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.42 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
net-p2p:airdcpp-webclient-2.12.1:20240611-060010.log (net-p2p:airdcpp-webclient-2.12.1:20240611-060010.log,75.38 KB, text/plain)
2024-06-11 16:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,94.54 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.48 KB, application/x-xz)
2024-06-11 16:24 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:24:21 UTC
too long lines were shrinked:

[49/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBUILDING_AIRDCPP -DHAVE_POSIX_FADVISE -DLOCALE_DIR=\"\" -DNO_CLIENT_UPDATER -D_DATADIR=\"\" -D_FILE_OFFSET_BITS=64 -D_LA
[50/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBUILDING_AIRDCPP -DHAVE_POSIX_FADVISE -DLOCALE_DIR=\"\" -DNO_CLIENT_UPDATER -D_DATADIR=\"\" -D_FILE_OFFSET_BITS=64 -D_LA
[51/188] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBUILDING_AIRDCPP -DHAVE_POSIX_FADVISE -DLOCALE_DIR=\"\" -DNO_CLIENT_UPDATER -D_DATADIR=\"\" -D_FILE_OFFSET_BITS=64 -D_LA
FAILED: airdcpp-core/CMakeFiles/airdcpp.dir/airdcpp/Mapper_MiniUPnPc.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBUILDING_AIRDCPP -DHAVE_POSIX_FADVISE -DLOCALE_DIR=\"\" -DNO_CLIENT_UPDATER -D_DATADIR=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_S
/var/tmp/portage/net-p2p/airdcpp-webclient-2.12.1/work/airdcpp-webclient-2.12.1/airdcpp-core/airdcpp/Mapper_MiniUPnPc.cpp: In member function virtual bool dcpp::Mapper_MiniUPnPc::init():
/var/tmp/portage/net-p2p/airdcpp-webclient-2.12.1/work/airdcpp-webclient-2.12.1/airdcpp-core/airdcpp/Mapper_MiniUPnPc.cpp:111:36: error: too few arguments to function int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)
  111 |         auto ret = UPNP_GetValidIGD(devices, &urls, &data, 0, 0);
      |                    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20240601-201002

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/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 following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.4 linux/amd64

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

    2024-06-11 01:21:05 UTC

emerge -qpvO net-p2p/airdcpp-webclient
Comment 1 Toralf Förster gentoo-dev 2024-06-11 16:24:22 UTC
Created attachment 895587 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-11 16:24:23 UTC
Created attachment 895588 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-06-11 16:24:24 UTC
Created attachment 895589 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-11 16:24:25 UTC
Created attachment 895590 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-11 16:24:26 UTC
Created attachment 895591 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-11 16:24:27 UTC
Created attachment 895592 [details]
net-p2p:airdcpp-webclient-2.12.1:20240611-060010.log
Comment 7 Toralf Förster gentoo-dev 2024-06-11 16:24:28 UTC
Created attachment 895593 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-11 16:24:29 UTC
Created attachment 895594 [details]
temp.tar.xz
Comment 10 Aliaksei Urbanski 2024-06-12 00:35:27 UTC
Hello everyone,

The same happens when you try to build godot:4[upnp].
Comment 11 Aliaksei Urbanski 2024-06-12 00:37:41 UTC
Downgrading net-libs/miniupnpc to 2.2.7 allows to workaround the issue.
Comment 12 Aliaksei Urbanski 2024-06-12 00:48:44 UTC
It looks like the godot issue was already addressed in https://bugs.gentoo.org/934044, so sorry for bothering you here.
Comment 13 Larry the Git Cow gentoo-dev 2024-06-16 19:37:01 UTC
The bug has been closed via the following commit(s):

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

commit ed5629df8381f940de93a0e6c0b193d0e5260d04
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2024-06-16 19:29:03 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2024-06-16 19:36:23 +0000

    net-p2p/airdcpp-webclient: fix build with miniupnpc 2.2.8, #934055
    
    Also:
    * fix ebuild variable order.
    * enable Python 3.13.
    
    Closes: https://bugs.gentoo.org/934055
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 .../airdcpp-webclient-2.12.1.ebuild                |  8 ++++++--
 .../airdcpp-webclient-2.12.1-miniupnpc-2.2.8.patch | 22 ++++++++++++++++++++++
 2 files changed, 28 insertions(+), 2 deletions(-)