Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713628 - net-p2p/retroshare-0.6.5 : upnp/UPnPBase.cpp: error: invalid static_cast from type int (*)(Upnp_EventType, void*, void*) {aka int
Summary: net-p2p/retroshare-0.6.5 : upnp/UPnPBase.cpp: error: invalid static_cast from...
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2020-03-20 14:54 UTC by Toralf Förster
Modified: 2020-03-20 17:29 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.98 KB, text/plain)
2020-03-20 14:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,44.51 KB, text/plain)
2020-03-20 14:54 UTC, Toralf Förster
Details
environment (environment,74.62 KB, text/plain)
2020-03-20 14:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.88 KB, application/x-bzip)
2020-03-20 14:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.90 KB, application/x-bzip)
2020-03-20 14:54 UTC, Toralf Förster
Details
net-p2p:retroshare-0.6.5:20200320-061214.log (net-p2p:retroshare-0.6.5:20200320-061214.log,935.40 KB, text/plain)
2020-03-20 14:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,63.64 KB, application/x-bzip)
2020-03-20 14:54 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-03-20 14:54:14 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-20200318-121516

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm


repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 14:38:33 +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-03-20 14:54:17 UTC
Created attachment 623144 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 14:54:19 UTC
Created attachment 623146 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-20 14:54:22 UTC
Created attachment 623148 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-20 14:54:25 UTC
Created attachment 623150 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-20 14:54:27 UTC
Created attachment 623152 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 14:54:30 UTC
Created attachment 623154 [details]
net-p2p:retroshare-0.6.5:20200320-061214.log
Comment 7 Toralf Förster gentoo-dev 2020-03-20 14:54:33 UTC
Created attachment 623156 [details]
temp.tbz2
Comment 8 Gioacchino Mazzurco 2020-03-20 16:05:16 UTC
From the environment attachment it seems your retroshare ebuild is not up to date with latest fixes, in particular it miss libupnp version restrictions present here

https://github.com/gentoo/gentoo/blob/master/net-p2p/retroshare/retroshare-0.6.5.ebuild#L27

Did you run `emerge --sync` today, and if so it may be that the mirror you are using haven't updated yet.
Comment 9 Toralf Förster gentoo-dev 2020-03-20 17:29:16 UTC
(In reply to Gioacchino Mazzurco from comment #8)
> From the environment attachment it seems your retroshare ebuild is not up to
> date with latest fixes, in particular it miss libupnp version restrictions
> present here
> 
> https://github.com/gentoo/gentoo/blob/master/net-p2p/retroshare/retroshare-0.
> 6.5.ebuild#L27
> 
> Did you run `emerge --sync` today, and if so it may be that the mirror you
> are using haven't updated yet.

good catch - fixed the script here

Thx Gioacchino !