bitcoin-qt-0.16 fails with this error In file included from ./qt/walletmodel.h:15:0, from qt/askpassphrasedialog.cpp:13: ./qt/walletmodeltransaction.h:45:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr<CReserveKey> keyChange; ^~~~~~~~~~ make[2]: *** [Makefile:6853: qt/qt_libbitcoinqt_a-askpassphrasedialog.o] Error 1
Thank you for the report. Please recompile and *attach* the logfiles, https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket and reopen this ticket (Status:unconfirmed).
Created attachment 526282 [details] compile log
Thank you for the build log, the emerge --info is still missing.
Created attachment 526310 [details] emerge --info
Created attachment 526324 [details, diff] compile fix this patch fixes the compile failure for me
Upstream PR: https://github.com/bitcoin/bitcoin/pull/12859 Limited patch added to the overlay, based on the attachment. Are you sure it doesn't need any further includes? (P.S. Any idea what's unusual about your build environment?)
qt 5.10.1
yes with this one include added it compiles
please add the patch you commited here https://github.com/bitcoin/bitcoin/pull/12859 or my patch to the ebuild
(In reply to Herbert Wantesh from comment #9) > please add the patch you commited here > https://github.com/bitcoin/bitcoin/pull/12859 or my patch to the ebuild i mean in the official portage tree
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1040395f2b3a9951e450b81b1da096a1118d122f commit 1040395f2b3a9951e450b81b1da096a1118d122f Author: Luke Dashjr <luke-jr+git@utopios.org> AuthorDate: 2018-04-02 18:35:30 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-04-07 20:48:46 +0000 net-p2p/bitcoin-qt-0.16.0*: Add missing <memory> include Closes: https://bugs.gentoo.org/652142 Closes: https://github.com/gentoo/gentoo/pull/7833 net-p2p/bitcoin-qt/bitcoin-qt-0.16.0-r1.ebuild | 2 ++ .../files/bitcoin-qt-0.16.0-fix_memory_include.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+)