/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"
Created attachment 650286 [details] emerge-info.txt
Created attachment 650288 [details] dev-cpp:libjson-rpc-cpp-1.3.0:20200723-030943.log
Created attachment 650290 [details] emerge-history.txt
Created attachment 650292 [details] environment
Created attachment 650294 [details] etc.portage.tbz2
Created attachment 650296 [details] logs.tbz2
Created attachment 650298 [details] temp.tbz2
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.
*** This bug has been marked as a duplicate of bug 730918 ***