Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683472 - net-p2p/airdcpp-webclient-2.6.0 : /.../executor.hpp:179:22: error: class std::reference_wrapper<boost::asio::io_context> has no member named context
Summary: net-p2p/airdcpp-webclient-2.6.0 : /.../executor.hpp:179:22: error: class std:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Louis Sautier (sbraz)
URL: https://github.com/zaphoyd/websocketp...
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.71
  Show dependency tree
 
Reported: 2019-04-16 16:51 UTC by Toralf Förster
Modified: 2019-08-11 22:10 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.19 KB, text/plain)
2019-04-16 16:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.50 KB, text/plain)
2019-04-16 16:51 UTC, Toralf Förster
Details
environment (environment,131.97 KB, text/plain)
2019-04-16 16:51 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.52 KB, application/x-bzip)
2019-04-16 16:52 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.04 KB, application/x-bzip)
2019-04-16 16:52 UTC, Toralf Förster
Details
net-p2p:airdcpp-webclient-2.6.0:20190416-153601.log (net-p2p:airdcpp-webclient-2.6.0:20190416-153601.log,415.16 KB, text/plain)
2019-04-16 16:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,42.08 KB, application/x-bzip)
2019-04-16 16:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-04-16 16:51:50 UTC
/usr/include/boost/asio/impl/executor.hpp: In instantiation of ‘boost::asio::execution_context& boost::asio::executor::impl< <template-parameter-1-1>, <template-parameter-1-2> >::context() [with Executor = std::reference_wrapper<boost::asio::io_context>; Allocator = std::allocator<void>]’:
/usr/include/boost/asio/impl/executor.hpp:177:22:   required from here
/usr/include/boost/asio/impl/executor.hpp:179:22: error: ‘class std::reference_wrapper<boost::asio::io_context>’ has no member named ‘context’
     return executor_.context();
            ~~~~~~~~~~^~~~~~~
/usr/include/boost/asio/impl/executor.hpp: In instantiation of ‘void boost::asio::executor::impl< <template-parameter-1-1>, <template-parameter-1-2> >::on_work_started() [with Executor = std::reference_wrapper<boost::asio::io_context>; Allocator = std::allocator<void>]’:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20190414-152222

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.34.0 *



emerge -qpvO net-p2p/airdcpp-webclient
[ebuild  N    ] net-p2p/airdcpp-webclient-2.6.0  USE="tbb webui -nat-pmp"
Comment 1 Toralf Förster gentoo-dev 2019-04-16 16:51:53 UTC
Created attachment 573074 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-16 16:51:56 UTC
Created attachment 573076 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-16 16:51:59 UTC
Created attachment 573078 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-16 16:52:01 UTC
Created attachment 573080 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-16 16:52:04 UTC
Created attachment 573082 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-16 16:52:07 UTC
Created attachment 573084 [details]
net-p2p:airdcpp-webclient-2.6.0:20190416-153601.log
Comment 7 Toralf Förster gentoo-dev 2019-04-16 16:52:10 UTC
Created attachment 573086 [details]
temp.tbz2
Comment 8 Louis Sautier (sbraz) gentoo-dev 2019-04-16 22:58:49 UTC
This is caused by websocketpp.
See https://github.com/zaphoyd/websocketpp/issues/794 and https://github.com/zaphoyd/websocketpp/issues/808

Waiting for an upstream fix now.
Comment 9 Andreas Sturmlechner gentoo-dev 2019-06-30 11:33:00 UTC
Instead of waiting, how about adding a version restriction over boost for now?
Comment 10 Larry the Git Cow gentoo-dev 2019-06-30 11:49:26 UTC
The bug has been referenced in the following commit(s):

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

commit aa0e5772ff9321c83a7498f2db7c55923f2baddd
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-06-30 11:49:04 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-06-30 11:49:04 +0000

    net-p2p/airdcpp-webclient: Add upper bound on boost-1.70
    
    Bug: https://bugs.gentoo.org/683472
    Package-Manager: Portage-2.3.67, Repoman-2.3.16
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-p2p/airdcpp-webclient/airdcpp-webclient-2.6.0.ebuild | 2 +-
 net-p2p/airdcpp-webclient/airdcpp-webclient-2.6.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 11 Louis Sautier (sbraz) gentoo-dev 2019-06-30 11:58:22 UTC
Hi Johannes,
I've CC'ed you on the bug because the root cause is websocketpp and I don't see an open bug for it.
I've been running a patched websocketpp for 2 months with https://github.com/zaphoyd/websocketpp/pull/814 and it works fine with boost 1.70.
Since upstream seems says that this patch should be safe to apply, would it be possible to add it to the tree?
Comment 12 Larry the Git Cow gentoo-dev 2019-08-11 18:10:17 UTC
The bug has been closed via the following commit(s):

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

commit 2b01e7caec293f9e124749610ebe13b51ebeed96
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-08-11 18:09:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-08-11 18:09:56 +0000

    dev-cpp/websocketpp: Fix building against boost 1.70
    
    Closes: https://bugs.gentoo.org/683472
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/websocketpp-0.8.1-boost-1.70.patch       | 139 +++++++++++++++++++++
 ...test_transport-test_transport_asio_timers.patch |  46 +++++++
 dev-cpp/websocketpp/websocketpp-0.8.1.ebuild       |  13 +-
 3 files changed, 193 insertions(+), 5 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2019-08-11 22:10:43 UTC
The bug has been referenced in the following commit(s):

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

commit aa7f4532b63e5be016ff7dfde5a222126f6f7027
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2019-08-11 22:02:47 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2019-08-11 22:10:32 +0000

    net-p2p/airdcpp-webclient: remove upper bound from boost dependency
    
    boost 1.70 was fixed in
    2b01e7caec293f9e124749610ebe13b51ebeed96.
    
    Bug: https://bugs.gentoo.org/683472
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 net-p2p/airdcpp-webclient/airdcpp-webclient-2.6.0.ebuild | 2 +-
 net-p2p/airdcpp-webclient/airdcpp-webclient-2.6.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)