Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932232 - net-libs/libnpupnp-6.1.2 - ../.../upnpapi.cpp: error: no matching function for call to find(Handle_Info , std::array<Handle_Info , 200>::iterator, std
Summary: net-libs/libnpupnp-6.1.2 - ../.../upnpapi.cpp: error: no matching function fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-05-19 19:00 UTC by Toralf Förster
Modified: 2024-05-22 00:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.43 KB, text/plain)
2024-05-19 19:00 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,119.75 KB, application/x-xz)
2024-05-19 19:00 UTC, Toralf Förster
Details
environment (environment,117.82 KB, text/plain)
2024-05-19 19:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.00 KB, application/x-xz)
2024-05-19 19:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.99 KB, application/x-xz)
2024-05-19 19:00 UTC, Toralf Förster
Details
net-libs:libnpupnp-6.1.2:20240519-180116.log (net-libs:libnpupnp-6.1.2:20240519-180116.log,10.21 KB, text/plain)
2024-05-19 19:00 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,116.93 KB, application/x-xz)
2024-05-19 19:00 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.75 KB, application/x-xz)
2024-05-19 19:00 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-05-19 19:00:31 UTC
too long lines were shrinked:

[1/28] x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.p -I. -I../libnpupnp-6.1.2 -I../libnpupnp-6.1.2/inc -I../libnpupnp-6.1.2/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -D
[2/28] x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.p -I. -I../libnpupnp-6.1.2 -I../libnpupnp-6.1.2/inc -I../libnpupnp-6.1.2/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -D
[3/28] x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.p -I. -I../libnpupnp-6.1.2 -I../libnpupnp-6.1.2/inc -I../libnpupnp-6.1.2/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -D
FAILED: libnpupnp.so.13.p/src_api_upnpapi.cpp.o 
x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.p -I. -I../libnpupnp-6.1.2 -I../libnpupnp-6.1.2/inc -I../libnpupnp-6.1.2/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -DSMALLUT
../libnpupnp-6.1.2/src/api/upnpapi.cpp: In function int GetFreeHandle():
../libnpupnp-6.1.2/src/api/upnpapi.cpp:907:24: error: no matching function for call to find(Handle_Info**, std::array<Handle_Info*, 200>::iterator, std::nullptr_t)
  907 |     auto it = std::find(std::next(HandleTable.begin()), HandleTable.end(), nullptr);
      |               ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib-20240506-061532

  UNMASKED packages:
     <dev-build/meson-9999
     >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.5
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.5
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
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.3 linux/amd64

  HEAD of ::gentoo
commit 5dedc49f5d4369d09737852a44dea07a3f03a426
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 19 17:19:08 2024 +0000

    2024-05-19 17:19:06 UTC

emerge -qpvO net-libs/libnpupnp
Comment 1 Toralf Förster gentoo-dev 2024-05-19 19:00:32 UTC
Created attachment 893401 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-19 19:00:33 UTC
Created attachment 893402 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-05-19 19:00:34 UTC
Created attachment 893403 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-19 19:00:35 UTC
Created attachment 893404 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-19 19:00:36 UTC
Created attachment 893405 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-19 19:00:37 UTC
Created attachment 893406 [details]
net-libs:libnpupnp-6.1.2:20240519-180116.log
Comment 7 Toralf Förster gentoo-dev 2024-05-19 19:00:38 UTC
Created attachment 893407 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-19 19:00:39 UTC
Created attachment 893408 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-05-22 00:53:06 UTC
The bug has been closed via the following commit(s):

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

commit 9ecbe4891bf5e0ed7f1fadd823c2cafba412f09c
Author:     Erik Mackdanz <stasibear@gentoo.org>
AuthorDate: 2024-05-22 00:50:49 +0000
Commit:     Erik Mackdanz <stasibear@gentoo.org>
CommitDate: 2024-05-22 00:50:57 +0000

    net-libs/libnpupnp: add 6.1.3
    
    I worked with upstream to get the fix in without a patch
    
    Closes: https://bugs.gentoo.org/932232
    Closes: https://bugs.gentoo.org/927146
    
    Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>

 net-libs/libnpupnp/Manifest               |  1 +
 net-libs/libnpupnp/libnpupnp-6.1.3.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)