Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733660 - dev-cpp/libjson-rpc-cpp-1.3.0 : /.../httpserver.cpp: error: invalid conversion from int (*)(void*, MHD_Connection*, const char*, c
Summary: dev-cpp/libjson-rpc-cpp-1.3.0 : /.../httpserver.cpp: error: invalid conversio...
Status: RESOLVED DUPLICATE of bug 730918
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-23 18:43 UTC by Toralf Förster
Modified: 2021-09-08 13:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.21 KB, text/plain)
2020-07-23 18:43 UTC, Toralf Förster
Details
dev-cpp:libjson-rpc-cpp-1.3.0:20200723-030943.log (dev-cpp:libjson-rpc-cpp-1.3.0:20200723-030943.log,24.21 KB, text/plain)
2020-07-23 18:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,222.18 KB, text/plain)
2020-07-23 18:43 UTC, Toralf Förster
Details
environment (environment,87.09 KB, text/plain)
2020-07-23 18:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.81 KB, application/x-bzip)
2020-07-23 18:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.02 KB, application/x-bzip)
2020-07-23 18:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.79 KB, application/x-bzip)
2020-07-23 18:43 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-07-23 18:43:17 UTC
/var/tmp/portage/dev-cpp/libjson-rpc-cpp-1.3.0/work/libjson-rpc-cpp-1.3.0/src/jsonrpccpp/server/connectors/httpserver.cpp: In member function ‘virtual bool jsonrpc::HttpServer::StartListening()’:
/var/tmp/portage/dev-cpp/libjson-rpc-cpp-1.3.0/work/libjson-rpc-cpp-1.3.0/src/jsonrpccpp/server/connectors/httpserver.cpp:79:60: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
   79 |             mhd_flags, this->port, NULL, NULL, HttpServer::callback, this,
      |                                                ~~~~~~~~~~~~^~~~~~~~
      |                                                            |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200717-191915

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.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.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.45.0
  [2]   rust-1.45.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Jul 23 02:35:25 AM UTC 2020
/var/db/repos/libressl	Thu Jul 16 08:11:39 AM UTC 2020

emerge -qpvO dev-cpp/libjson-rpc-cpp
[ebuild  N    ] dev-cpp/libjson-rpc-cpp-1.3.0  USE="http-client http-server stubgen -doc -redis-client -redis-server -test"
Comment 1 Toralf Förster gentoo-dev 2020-07-23 18:43:20 UTC
Created attachment 650286 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-23 18:43:23 UTC
Created attachment 650288 [details]
dev-cpp:libjson-rpc-cpp-1.3.0:20200723-030943.log
Comment 3 Toralf Förster gentoo-dev 2020-07-23 18:43:25 UTC
Created attachment 650290 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-23 18:43:28 UTC
Created attachment 650292 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-23 18:43:31 UTC
Created attachment 650294 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-23 18:43:34 UTC
Created attachment 650296 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-23 18:43:37 UTC
Created attachment 650298 [details]
temp.tbz2
Comment 8 ZappeL 2020-10-18 16:22:39 UTC
This issue is caused by net-libs/libmicrohttpd-0.9.71, downgrading it to 0.9.70 makes the compile complete successfully. (elfutils seems to be affected by this change in libmicrohttpd as well)

This command fixes it for me:
`emerge -1a net-libs/libmicrohttpd-0.9.70 && emerge -1a dev-cpp/libjson-rpc-cpp`


cheers.
Comment 9 Ben Kohler gentoo-dev 2021-09-08 13:57:01 UTC

*** This bug has been marked as a duplicate of bug 730918 ***