Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934016 - net-p2p/transmission-4.0.6::gentoo -- too few arguments to function ‘int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)’
Summary: net-p2p/transmission-4.0.6::gentoo -- too few arguments to function ‘int UPNP...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on: 934020
Blocks:
  Show dependency tree
 
Reported: 2024-06-10 19:19 UTC by Gary E. Miller
Modified: 2024-06-11 01:05 UTC (History)
2 users (show)

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


Attachments
build log (build.log,125.41 KB, text/plain)
2024-06-10 19:20 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2024-06-10 19:19:38 UTC
/var/tmp/portage/net-p2p/transmission-4.0.6/work/transmission-4.0.6/libtransmission/port-forwarding-upnp.cc: In function ‘tr_port_forwarding_state tr_upnpPulse(tr_upnp*, tr_port, bool, bool, std::string)’:
/var/tmp/portage/net-p2p/transmission-4.0.6/work/transmission-4.0.6/libtransmission/port-forwarding-upnp.cc:278:29: error: too few arguments to function ‘int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)’
  278 |         if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) ==
      |             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/net-p2p/transmission-4.0.6/work/transmission-4.0.6/libtransmission/port-forwarding-upnp.cc:19:
/usr/include/miniupnpc/miniupnpc.h:122:1: note: declared here
  122 | UPNP_GetValidIGD(struct UPNPDev * devlist,
      | ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.


Reproducible: Always

Steps to Reproduce:
1. emerge -uDNa world
2.
3.
Actual Results:  
fails to emerge

Expected Results:  
Good emerge

dilbert ~ # emerge -pqv '=net-p2p/transmission-4.0.6::gentoo'
[ebuild   R   ] net-p2p/transmission-4.0.6  USE="appindicator gtk nls qt6 -cli -debug -mbedtls -qt5 -systemd -test" 

dilbert ~ # emerge --info '=net-p2p/transmission-4.0.6::gentoo'
Portage 3.0.65 (python 3.12.4-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.39-r7, 6.9.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.9.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-glibc2.39
KiB Mem:    32714772 total,  14814772 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Mon, 10 Jun 2024 18:49:56 +0000
Head commit of repository gentoo: 4b0d5562d0ddc8c3666119431f726a195d8332c0

Timestamp of repository brother-overlay: Fri, 17 May 2024 12:20:55 +0000
Head commit of repository brother-overlay: 19d0fa5a6f475f6a3498828e438e54fefeff7951

Timestamp of repository guru: Mon, 10 Jun 2024 11:33:42 +0000
Head commit of repository guru: 6761226647f484216f9e31579e8caebab733a144

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r6::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.4::gentoo, 3.13.0_beta1_p3::gentoo
dev-lang/rust:             1.72.0-r1::gentoo
dev-lang/rust-bin:         1.78.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.7::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.7::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y --backtrack 100"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="rsync://129.97.134.71/gentoo-distfiles http://mirror.clarkson.edu/gentoo/ ftp://129.97.134.71/gentoo-distfiles/ http://mirrors.mit.edu/gentoo-distfiles/ http://128.153.145.19/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
PYTHONPATH="/usr/local/lib/python3.12/site-packages/"
SHELL="/bin/bash"
USE="X a52 aac acl acpi adns aio alsa alsa-plugin amd64 appindicator blake2 bluetooth bluray bpf branding bs2b btpclient bzip2 cairo calf capstone cdda cdp cdr cet chromecast converter corefonts cover cpudetection cron crypt cups curl custom-modes cxx dav1d dbus dia dri dri3 drm dts dv dvb dvd dvdr echo-cancel edp elogind enchant encode equalizer exif extra faac faad fdk fdp fdt ffmpeg ffmpegthumbnailer fingerprint fingerprints flac flashrom fontconfig fontforge freetype fuse gbm gdal gdbm geoclue geolocation geos gif gimp gles2 glib gpg graph gsettings gstreamer gtk gtk3 gui harfbuzz hddtemp hdf5 http http2 http3 iconv icu imagequant introspection io-uring ipod ipp_autosetup ipv6 jack jemalloc jpeg json keybinder ladspa lame lastfm lcms libcanberra libdrm libmpeg2 libmpv libnotify libretro libsamplerate libssh2 libtirpc libuvc libvisual lm_sensors lto lv2 lvm lz4 lzma lzo mad matroska md5sum mda-lv2 metadata mng mp3 mp4 mpeg mtp multilib ncat ncurses ndiff nfs nfsv41 nftables nls notify nping nvenc nvme obex offensive ogg openal opengl openmp opus pam pango pcap pcre pcre32 pdf pgo pipewire pkcs11 plugins png policykit positioning postproc ppds projectm pulseaudio pvr python qml qt5 qt6 qt6-imageformats qtaudio quick rav1e readline realtime rtc rtmp rubberband screencast sdl sdl-image seccomp sensors sftp slirp sna snappy sndfile snmp sound sox spandsp spell spice spirv split-usr sqlite ssh ssl startup-notification svg svg2 svt-av1 system-llvm system-png szip taglib test-rust theora threads tiff tk tkip tools truetype twolame udev udisks uefi unicode update_drivedb upnp upower usb usbredir uxa v4l v4lutils vaapi vde vdpau vdr vim vim-syntax virgl visio vmaf vorbis vpx vtk vulkan webchannel webengine webkit webp wg-quick widgets wifi wxwidgets x264 x265 xa xattr xcb xft xinerama xml xrandr xv xvid zamaudio zenmap zeroconf zimg zink zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="roccat_savu libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_12 python3_11 python3_13" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="net" VIDEO_CARDS="intel i965 nvidia iris nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

net-p2p/transmission-4.0.6::gentoo was built with the following:
USE="appindicator gtk nls qt6 -cli -debug -mbedtls -qt5 -systemd -test" ABI_X86="(64)"
Comment 1 Gary E. Miller 2024-06-10 19:20:31 UTC
Created attachment 895533 [details]
build log

build log
Comment 2 Mike Gilbert gentoo-dev 2024-06-10 19:56:44 UTC
What version of net-libs/miniupnpc is installed?
Comment 3 Larry the Git Cow gentoo-dev 2024-06-10 20:15:01 UTC
The bug has been referenced in the following commit(s):

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

commit ac43a544c7a3d47b4bbd4f076c62261d68b1d8fc
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-06-10 20:11:58 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-06-10 20:14:31 +0000

    net-p2p/transmission: depend on <net-libs/miniupnpc-2.2.8
    
    Bug: https://bugs.gentoo.org/934016
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../{transmission-4.0.5.ebuild => transmission-4.0.5-r1.ebuild}         | 2 +-
 .../{transmission-4.0.6.ebuild => transmission-4.0.6-r1.ebuild}         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Gary E. Miller 2024-06-10 21:54:49 UTC
(In reply to Mike Gilbert from comment #2)
> What version of net-libs/miniupnpc is installed?

dilbert ~ # eix miniup -I
[I] net-libs/miniupnpc
     Available versions:  2.2.7(0/17) (~)2.2.8(0/17) {verify-sig}
     Installed versions:  2.2.8(0/17)(11:57:44 AM 06/10/2024)(-verify-sig)
     Homepage:            http://miniupnp.free.fr/ https://miniupnp.tuxfamily.org/ https://github.com/miniupnp/miniupnp/
     Description:         UPnP client library and a simple UPnP client
Comment 5 Gary E. Miller 2024-06-10 22:13:38 UTC
I just tried again.  Portage downgraded net-libs/miniupnpc-2.2.7 and
everything built fine.

Thanks for the quick work!
Comment 6 Larry the Git Cow gentoo-dev 2024-06-11 01:05:07 UTC
The bug has been closed via the following commit(s):

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

commit 77a19a999ea1f73ac0e4b0ec1973d4392994ab68
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-06-11 01:04:04 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-06-11 01:04:04 +0000

    net-p2p/transmission: fix build with net-libs/miniupnpc-2.2.8
    
    Closes: https://bugs.gentoo.org/934016
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../files/transmission-4.0.6-miniupnpc-2.2.8.patch | 24 ++++++++++++++++++++++
 ....0.6-r1.ebuild => transmission-4.0.6-r2.ebuild} |  6 +++++-
 2 files changed, 29 insertions(+), 1 deletion(-)