/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] Reproducible: Always
Created attachment 647784 [details] build.log
Created attachment 647786 [details] emerge --info
Compilation failed with USE="http-server". Tested with gcc-9.3.0 and clang-10.0.0.
Issue in libjson-rpc-cpp: https://github.com/cinemast/libjson-rpc-cpp/issues/298 This seems to be fixed in a yet-unreleased commit https://github.com/cinemast/libjson-rpc-cpp/pull/299 . For now limiting dependency on libmicrohttpd to <=0.9.70 should help.
Can confirm, worked around it for now by masking >=net-libs/libmicrohttpd-0.9.70
*** Bug 733660 has been marked as a duplicate of this bug. ***
*** Bug 779154 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71d36dc69b158caf414072506449ff107d68646 commit f71d36dc69b158caf414072506449ff107d68646 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-26 23:23:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-26 23:25:31 +0000 dev-cpp/libjson-rpc-cpp: drop 1.3.0 Broken with newer libmicrohttpd. 1.4.0, which is in tree, works. Closes: https://bugs.gentoo.org/730918 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/libjson-rpc-cpp/Manifest | 1 - .../libjson-rpc-cpp/libjson-rpc-cpp-1.3.0.ebuild | 68 ---------------------- 2 files changed, 69 deletions(-)