Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703544 - net-p2p/bitcoin-qt fails to build with deque error.
Summary: net-p2p/bitcoin-qt fails to build with deque error.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luke-Jr
URL: https://github.com/bitcoin/bitcoin/pu...
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.72
  Show dependency tree
 
Reported: 2019-12-22 16:01 UTC by je_fro@yahoo.com
Modified: 2019-12-31 13:24 UTC (History)
2 users (show)

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


Attachments
Patch to fix build error (deque.patch,321 bytes, patch)
2019-12-22 16:02 UTC, je_fro@yahoo.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description je_fro@yahoo.com 2019-12-22 16:01:18 UTC
bitcoin-qt fails to build with error:
httpserver.cpp:74:10: error: no template named 'deque' in namespace 'std'
    std::deque<std::unique_ptr<WorkItem>> queue;

Reproducible: Always

Steps to Reproduce:
1.emerge bitcoin-qt
2.
3.
Actual Results:  
build fails

Expected Results:  
build completes

Use the following patch to fix:

diff -aurN a/src/httpserver.cpp b/src/httpserver.cpp
--- a/src/httpserver.cpp        2019-04-30 06:52:08.000000000 -0500
+++ b/src/httpserver.cpp        2019-12-22 09:53:02.579785385 -0600
@@ -13,6 +13,7 @@
 #include <shutdown.h>
 #include <sync.h>
 #include <ui_interface.h>
+#include <deque>
 
 #include <memory>
 #include <stdio.h>
Comment 1 je_fro@yahoo.com 2019-12-22 16:02:55 UTC
Created attachment 600404 [details, diff]
Patch to fix build error
Comment 2 Larry the Git Cow gentoo-dev 2019-12-31 13:24:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df43761599a959604676e2245b6e44d7d6a8e44b

commit df43761599a959604676e2245b6e44d7d6a8e44b
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-12-31 13:24:10 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-12-31 13:24:10 +0000

    net-p2p/bitcoin-qt: Add patch for missing include
    
    Closes: https://bugs.gentoo.org/703544
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild        |  1 +
 net-p2p/bitcoin-qt/bitcoin-qt-0.17.1.ebuild        |  1 +
 net-p2p/bitcoin-qt/bitcoin-qt-0.18.0.ebuild        |  1 +
 ...coin-qt-0.16.3-boost-1.72-missing-include.patch | 24 ++++++++++++++++++++++
 4 files changed, 27 insertions(+)