Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709514 - net-p2p/retroshare-0.6.5 : upnp/UPnPBase.cpp:751:56: error: invalid static_cast from type int
Summary: net-p2p/retroshare-0.6.5 : upnp/UPnPBase.cpp:751:56: error: invalid static_ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gioacchino Mazzurco
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-02-13 18:30 UTC by Toralf Förster
Modified: 2020-03-19 13:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.18 KB, text/plain)
2020-02-13 18:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,146.94 KB, text/plain)
2020-02-13 18:30 UTC, Toralf Förster
Details
environment (environment,74.63 KB, text/plain)
2020-02-13 18:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.13 KB, application/x-bzip)
2020-02-13 18:30 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.85 KB, application/x-bzip)
2020-02-13 18:30 UTC, Toralf Förster
Details
net-p2p:retroshare-0.6.5:20200213-175747.log (net-p2p:retroshare-0.6.5:20200213-175747.log,908.84 KB, text/plain)
2020-02-13 18:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,62.55 KB, application/x-bzip)
2020-02-13 18:30 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 2020-02-13 18:30:15 UTC
upnp/UPnPBase.cpp: In member function ‘bool CUPnPService::Execute(const string&, const std::vector<CUPnPArgumentValue>&) const’:
upnp/UPnPBase.cpp:751:56: error: invalid static_cast from type ‘int (*)(Upnp_EventType, void*, void*)’ {aka ‘int (*)(Upnp_EventType_e, void*, void*)’} to type ‘Upnp_FunPtr’ {aka ‘int (*)(Upnp_EventType_e, const void*, void*)’}
  751 |   static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
      |                                                        ^
upnp/UPnPBase.cpp: In constructor ‘CUPnPControlPoint::CUPnPControlPoint(short unsigned int)’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200209-185605

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 13 Feb 2020 16:37:39 +0000

emerge -qpvO net-p2p/retroshare
[ebuild  N    ] net-p2p/retroshare-0.6.5  USE="cli gui jsonapi sqlcipher xapian -control-socket -gnome-keyring -service -webui"
Comment 1 Toralf Förster gentoo-dev 2020-02-13 18:30:18 UTC
Created attachment 613694 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-13 18:30:21 UTC
Created attachment 613696 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-13 18:30:23 UTC
Created attachment 613698 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-13 18:30:27 UTC
Created attachment 613700 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-13 18:30:30 UTC
Created attachment 613702 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-13 18:30:33 UTC
Created attachment 613704 [details]
net-p2p:retroshare-0.6.5:20200213-175747.log
Comment 7 Toralf Förster gentoo-dev 2020-02-13 18:30:36 UTC
Created attachment 613706 [details]
temp.tbz2
Comment 8 Gioacchino Mazzurco 2020-02-14 10:16:58 UTC
Are you using libupnp >= 1.8.0 ?
Comment 9 Toralf Förster gentoo-dev 2020-02-14 17:57:02 UTC
(In reply to Gioacchino Mazzurco from comment #8)
> Are you using libupnp >= 1.8.0 ?

pls have a look into the attached emerged history
Comment 10 Gioacchino Mazzurco 2020-02-14 21:08:36 UTC
yeah as I suspected `2020-02-13T18:54:34 >>> net-libs/libupnp-1.12.0-r1`
Comment 11 Larry the Git Cow gentoo-dev 2020-03-19 13:48:38 UTC
The bug has been closed via the following commit(s):

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

commit b2dbe86df208d567f1f09c6f25bc5a18dc771e06
Author:     Gioacchino Mazzurco <gio@eigenlab.org>
AuthorDate: 2020-02-14 10:50:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-19 13:44:37 +0000

    net-p2p/retroshare: 0.6.5 need <libupnp-1.8.0
    
    RetroShare 0.6.5 woun't build with libupnp 1.8 series so specify version
      dependency in ebuild
    
    Closes: https://bugs.gentoo.org/709514
    Signed-off-by: Gioacchino Mazzurco <gio@eigenlab.org>
    Closes: https://github.com/gentoo/gentoo/pull/14660
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-p2p/retroshare/retroshare-0.6.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)