Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934054 - net-im/swift-4.0.3-r2 - [ncurses-6.5] Swiften/.../MiniUPnPInterface.cpp: error: too few arguments to function int UPNP_GetValidIGD(UPNPDev , UPNPUrls , IGDdatas , c
Summary: net-im/swift-4.0.3-r2 - [ncurses-6.5] Swiften/.../MiniUPnPInterface.cpp: erro...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 16:24 UTC by Toralf Förster
Modified: 2024-07-02 06:41 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.87 KB, text/plain)
2024-06-11 16:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.59 KB, text/plain)
2024-06-11 16:24 UTC, Toralf Förster
Details
environment (environment,114.25 KB, text/plain)
2024-06-11 16:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,39.37 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.64 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
net-im:swift-4.0.3-r2:20240611-022951.log.xz (net-im:swift-4.0.3-r2:20240611-022951.log.xz,11.05 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,46.47 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.59 KB, application/x-xz)
2024-06-11 16:24 UTC, Toralf Förster
Details
amd64-glibc build failure (swift-4.0.3-r2:20240701-155205.log.xz,11.44 KB, application/x-xz)
2024-07-01 20:50 UTC, Bill Prendergast
Details
USERPATCH miniupnpc API version 18 patch (swift-4.0.3-miniupnp-api-18.patch,757 bytes, patch)
2024-07-01 20:51 UTC, Bill Prendergast
Details | Diff

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:01 UTC
too long lines were shrinked:

x86_64-pc-linux-musl-g++ -o Swiften/Network/EnvironmentProxyProvider.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=nat
x86_64-pc-linux-musl-g++ -o Swiften/Network/NATPMPInterface.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fno-
x86_64-pc-linux-musl-g++ -o Swiften/Network/MiniUPnPInterface.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fn
x86_64-pc-linux-musl-g++ -o Swiften/Network/PlatformNATTraversalWorker.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=n
x86_64-pc-linux-musl-g++ -o Swiften/Presence/PresenceOracle.os -c -O2 -pipe -march=native -fno-diagnostics-color -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -O2 -pipe -march=native -fno-
Swiften/Network/MiniUPnPInterface.cpp: In constructor 'Swift::MiniUPnPInterface::MiniUPnPInterface()':
Swiften/Network/MiniUPnPInterface.cpp:48:26: error: too few arguments to function 'int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)'
   48 |     if (!UPNP_GetValidIGD(p->deviceList, &p->urls, &p->data, lanAddress, sizeof(lanAddress))) {
      |          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240608-075013

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-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 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

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-im/swift
[ebuild  N    ] net-im/swift-4.0.3-r2  USE="icu idn -expat -lua -test -zeroconf" LUA_SINGLE_TARGET="lua5-1 -luajit"
Comment 1 Toralf Förster gentoo-dev 2024-06-11 16:24:02 UTC
Created attachment 895578 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-11 16:24:03 UTC
Created attachment 895579 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-11 16:24:05 UTC
Created attachment 895580 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-11 16:24:05 UTC
Created attachment 895581 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-11 16:24:06 UTC
Created attachment 895582 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-11 16:24:07 UTC
Created attachment 895583 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-11 16:24:08 UTC
Created attachment 895584 [details]
net-im:swift-4.0.3-r2:20240611-022951.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-11 16:24:09 UTC
Created attachment 895585 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-06-11 16:24:10 UTC
Created attachment 895586 [details]
temp.tar.xz
Comment 10 Bill Prendergast 2024-07-01 20:49:22 UTC
I'm not sure that the musl-team is the correct assignee.

I'm using a glibc amd64 host and see the exact same errors. Moreover it looks to me to be due to an API change in net-libs/miniupnpc

I do have an in progress patch: the build completes, but I've not tested functionality as yet.
Comment 11 Bill Prendergast 2024-07-01 20:50:29 UTC
Created attachment 896732 [details]
amd64-glibc build failure
Comment 12 Bill Prendergast 2024-07-01 20:51:41 UTC
Created attachment 896733 [details, diff]
USERPATCH miniupnpc API version 18 patch