Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563390 - net-p2p/bitcoind-0.11.0 USE=upnp with >=net-libs/miniupnpc-1.9 - error: too few arguments to function 'UPNPDev* upnpDiscover
Summary: net-p2p/bitcoind-0.11.0 USE=upnp with >=net-libs/miniupnpc-1.9 - error: too f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Luke-Jr
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-18 09:00 UTC by PetaMem R&D
Modified: 2017-01-24 11:30 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2015-10-18 09:00:55 UTC
net.cpp: In function 'void ThreadMapPort()':
net.cpp:1117:74: error: invalid conversion from 'int*' to 'unsigned char' [-fpermissive]
     devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
                                                                          ^
net.cpp:1117:74: error: too few arguments to function 'UPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)'
In file included from net.cpp:27:0:
/usr/include/miniupnpc/miniupnpc.h:54:1: note: declared here
 upnpDiscover(int delay, const char * multicastif,




Reproducible: Always




# emerge --info
Portage 2.2.22 (python 3.4.3-final-0, default/linux/x86/13.0, gcc-4.9.3, glibc-2.21-r1, 3.18.6 i686)
=================================================================
System uname: Linux-3.18.6-i686-QEMU_Virtual_CPU_version_1.1.2-with-gentoo-2.2
KiB Mem:     2595060 total,   2106956 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 04 Oct 2015 09:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://gentoo32/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="cxx gmp http iconv ipv6 ncurses perl readline sharedext ssl threads udev unicode x86" ABI_X86="32" CURL_SSL="gnutls" ELIBC="glibc" KERNEL="linux" LINGUAS="en" PYTHON_TARGETS="python2_7 python3_4" USERLAND="GNU"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Felix Janda 2015-10-18 15:18:42 UTC
Should be fixed with

https://github.com/bitcoin/bitcoin/commit/9f3e48e5219a09b5ddfd6883d1f0498910eff4b6

in version 0.11.1 (not in tree yet).
Comment 2 PetaMem R&D 2015-10-22 16:12:48 UTC
Ok.

Can we please make the version BUMP request to 0.11.1 part of this ticket then?
Comment 3 Luke-Jr 2015-10-22 21:23:22 UTC
Fixed in bitcoin overlay.

See also https://github.com/gentoo/gentoo/pull/275 and https://github.com/gentoo/gentoo/pull/213
Comment 4 Oleh 2015-11-24 17:38:32 UTC
just in case, litecoin-qt would need same fix with newer miniupnpc
Comment 5 Andreas Sturmlechner gentoo-dev 2017-01-24 11:30:37 UTC
I assume this is fixed in current stable 0.13.1, 0.12.1 was dropped from tree.