Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798048 - net-p2p/retroshare-0.6.5-r2 - api/ApiServerMHD.cpp: error: invalid conversion from int (*)(void*, MHD_ValueKind, const char*, cons
Summary: net-p2p/retroshare-0.6.5-r2 - api/ApiServerMHD.cpp: error: invalid conversion...
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: 2021-06-23 17:59 UTC by Toralf Förster
Modified: 2021-08-07 05:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.10 KB, text/plain)
2021-06-23 17:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,367.31 KB, text/plain)
2021-06-23 17:59 UTC, Toralf Förster
Details
environment (environment,73.33 KB, text/plain)
2021-06-23 17:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.27 KB, application/x-bzip)
2021-06-23 17:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.04 KB, application/x-bzip)
2021-06-23 17:59 UTC, Toralf Förster
Details
net-p2p:retroshare-0.6.5-r2:20210623-174600.log.bz2 (net-p2p:retroshare-0.6.5-r2:20210623-174600.log.bz2,46.74 KB, application/x-bzip)
2021-06-23 17:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,65.60 KB, application/x-bzip)
2021-06-23 17:59 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 2021-06-23 17:59:25 UTC
api/ApiServerMHD.cpp: In function ‘void resource_api::secure_queue_response(MHD_Connection*, unsigned int, MHD_Response*)’:
api/ApiServerMHD.cpp:400:60: error: invalid conversion from ‘int (*)(void*, MHD_ValueKind, const char*, const char*)’ to ‘MHD_KeyValueIterator’ {aka ‘MHD_Result (*)(void*, MHD_ValueKind, const char*, const char*)’} [-fpermissive]
  400 |     MHD_get_connection_values(connection, MHD_HEADER_KIND, _extract_host_header_it_cb, (void*)&host);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            |
      |                                                            int (*)(void*, MHD_ValueKind, const char*, const char*)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-j3-20210617-220928

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.5
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *
  HEAD of ::gentoo
commit f1ca4fe4aa62cffdfc3a52d8e7af9949fce33816
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 23 17:06:31 2021 +0000

    2021-06-23 17:06:31 UTC

emerge -qpvO net-p2p/retroshare
[ebuild  N    ] net-p2p/retroshare-0.6.5-r2  USE="cli gui jsonapi sqlcipher webui xapian -control-socket -gnome-keyring -service"
Comment 1 Toralf Förster gentoo-dev 2021-06-23 17:59:26 UTC
Created attachment 718260 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-23 17:59:28 UTC
Created attachment 718263 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-23 17:59:29 UTC
Created attachment 718266 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-23 17:59:31 UTC
Created attachment 718269 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-23 17:59:32 UTC
Created attachment 718272 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-23 17:59:33 UTC
Created attachment 718275 [details]
net-p2p:retroshare-0.6.5-r2:20210623-174600.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-06-23 17:59:34 UTC
Created attachment 718278 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-08-07 05:51:34 UTC
The bug has been closed via the following commit(s):

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

commit ecb9cc63edcb746d24ef05dfc472005d29fd486e
Author:     Gioacchino Mazzurco <gio@eigenlab.org>
AuthorDate: 2021-08-06 15:29:19 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-08-07 05:50:42 +0000

    net-p2p/retroshare: 0.6.5 minimal maintenance
    
    Fixes a bunch of bugs disabling components that are been obsoleted
      upstream in older versions
    
    Closes: https://bugs.gentoo.org/779838
    Closes: https://bugs.gentoo.org/798048
    Closes: https://bugs.gentoo.org/798099
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Gioacchino Mazzurco <gio@altermundi.net>
    Closes: https://github.com/gentoo/gentoo/pull/21725
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-p2p/retroshare/retroshare-0.6.5-r3.ebuild | 142 ++++++++++++++++++++++++++
 1 file changed, 142 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit ff5e87afa1e6030f4bfd2ca30e198bd728a13fda
Author:     Gioacchino Mazzurco <gio@eigenlab.org>
AuthorDate: 2021-07-20 09:06:38 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-08-07 05:50:42 +0000

    net-p2p/retroshare: 0.6.6 version bump
    
    Fixes a bunch of bugs fixed upstream in newer version and disabling
      components that are been obsoleted upstream in older versions
    Modernize 0.6.6 ebuild after ionenwks suggestions
    
    Bug: https://bugs.gentoo.org/779838
    Bug: https://bugs.gentoo.org/798048
    Bug: https://bugs.gentoo.org/798099
    Closes: https://bugs.gentoo.org/785964
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Gioacchino Mazzurco <gio@altermundi.net>
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-p2p/retroshare/Manifest                        |   1 +
 .../retroshare-0.6.6-fix-cxx17-compilation.patch   |  79 +++++++++++++
 net-p2p/retroshare/metadata.xml                    |  11 +-
 net-p2p/retroshare/retroshare-0.6.6.ebuild         | 122 +++++++++++++++++++++
 4 files changed, 209 insertions(+), 4 deletions(-)