Exactly same problem observed with bitcoin-qt: https://bugs.gentoo.org/show_bug.cgi?id=563462 Reproducible: Always Steps to Reproduce: 1. emerge litecoin-qt, assuming >=net-libs/miniupnpc-1.9 installed 2. notice a build faiure 3. downgrade net-libs/miniupnpc, notice a successful build. Actual Results: protector-all -fPIE -fvisibility=hidden -c -o libbitcoin_server_a-rpcblockchain.o `test -f 'rpcblockchain.cpp' || echo './'`rpcblockchain.cpp [01m[Knet.cpp:[m[K In function ‘[01m[Kvoid ThreadMapPort()[m[K’: [01m[Knet.cpp:1026:74:[m[K [01;31m[Kerror: [m[Kinvalid conversion from ‘[01m[Kint*[m[K’ to ‘[01m[Kunsigned char[m[K’ [-fpermissive] devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); [01;32m[K ^[m[K [01m[Knet.cpp:1026:74:[m[K [01;31m[Kerror: [m[Ktoo few arguments to function ‘[01m[KUPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)[m[K’ In file included from [01m[Knet.cpp:25:0[m[K: [01m[K/usr/include/miniupnpc/miniupnpc.h:62:1:[m[K [01;36m[Knote: [m[Kdeclared here upnpDiscover(int delay, const char * multicastif, [01;32m[K ^[m[K Makefile:3572: recipe for target 'libbitcoin_server_a-net.o' failed make[2]: *** [libbitcoin_server_a-net.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-p2p/litecoin-qt-0.10.2.2-r1/work/litecoin-0.10.2.2/src' Makefile:6280: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-p2p/litecoin-qt-0.10.2.2-r1/work/litecoin-0.10.2.2/src' Makefile:568: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 * ERROR: net-p2p/litecoin-qt-0.10.2.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/litecoin-qt-0.10.2.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/litecoin-qt-0.10.2.2-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-p2p/litecoin-qt-0.10.2.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/litecoin-qt-0.10.2.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/litecoin-qt-0.10.2.2-r1/work/litecoin-0.10.2.2' * S: '/var/tmp/portage/net-p2p/litecoin-qt-0.10.2.2-r1/work/litecoin-0.10.2.2'
Created attachment 418116 [details] build.log
any progress on this? the fix is about the same like in bitcoin-qt
(In reply to Oleg from comment #2) > any progress on this? the fix is about the same like in bitcoin-qt i'm sorry Oleg, but this is really low on my priority list. Can you prepare a patch
Created attachment 419338 [details, diff] patch
Created attachment 419340 [details] updated ebuild
Created attachment 419342 [details, diff] ebuild diff
Thanks Oleg, I committed this for both litecoind and litecoin-qt. You shouldn't apply patches contingent on USE flags, so I removed that. There is however, a problem with executable gnu stack that I should take care of. If you have time to look at that I'd appreciate it. Please test and let me know if there's any problems. Reopen this bug if there is.
(In reply to Anthony Basile from comment #7) > > There is however, a problem with executable gnu stack that I should take > care of. If you have time to look at that I'd appreciate it. > Actually don't spend too much time on the gnu stack issue, I've got a handle on it.