Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683764 - net-libs/libtorrent-rasterbar-1.2.0 : ../.../proxy_base.hpp:249:17: error: boost::asio::ip::tcp::socket {aka class boost::asio::basic_stream_socket<boost::asio::ip::tcp> } has no member named get_io_service
Summary: net-libs/libtorrent-rasterbar-1.2.0 : ../.../proxy_base.hpp:249:17: error: bo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL: https://github.com/arvidn/libtorrent/...
Whiteboard:
Keywords:
: 695494 (view as bug list)
Depends on:
Blocks: boost-1.71
  Show dependency tree
 
Reported: 2019-04-18 14:23 UTC by Toralf Förster
Modified: 2019-09-23 18:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.64 KB, text/plain)
2019-04-18 14:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.33 KB, text/plain)
2019-04-18 14:23 UTC, Toralf Förster
Details
environment (environment,136.57 KB, text/plain)
2019-04-18 14:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.59 KB, application/x-bzip)
2019-04-18 14:23 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.74 KB, application/x-bzip)
2019-04-18 14:23 UTC, Toralf Förster
Details
net-libs:libtorrent-rasterbar-1.2.0:20190418-075959.log (net-libs:libtorrent-rasterbar-1.2.0:20190418-075959.log,20.98 KB, text/plain)
2019-04-18 14:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.17 KB, application/x-bzip)
2019-04-18 14:23 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-18 14:23:16 UTC
                 from web_connection_base.cpp:38:
../include/libtorrent/proxy_base.hpp: In member function ‘libtorrent::io_service& libtorrent::proxy_base::get_io_service()’:
../include/libtorrent/proxy_base.hpp:249:17: error: ‘boost::asio::ip::tcp::socket’ {aka ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’} has no member named ‘get_io_service’
   return m_sock.get_io_service();
                 ^~~~~~~~~~~~~~
In file included from ../include/libtorrent/utp_stream.hpp:37,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-no-multilib-hardened_libressl_20190416-141749

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] 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) *




emerge -qpvO net-libs/libtorrent-rasterbar
[ebuild  N    ] net-libs/libtorrent-rasterbar-1.2.0  USE="dht libressl ssl -debug -doc -examples -python -static-libs -test" PYTHON_TARGETS="python2_7 python3_6 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2019-04-18 14:23:19 UTC
Created attachment 573292 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-18 14:23:22 UTC
Created attachment 573294 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-18 14:23:25 UTC
Created attachment 573296 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-18 14:23:28 UTC
Created attachment 573298 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-18 14:23:30 UTC
Created attachment 573300 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-18 14:23:33 UTC
Created attachment 573302 [details]
net-libs:libtorrent-rasterbar-1.2.0:20190418-075959.log
Comment 7 Toralf Förster gentoo-dev 2019-04-18 14:23:36 UTC
Created attachment 573304 [details]
temp.tbz2
Comment 8 Alec Ari 2019-04-20 02:06:24 UTC
Just stumbled across this error on my system as well. One of the few packages affected by the currently masked Boost 1.70, I'm surprised it didn't break more things to be honest.
Comment 9 Alec Ari 2019-04-20 02:11:08 UTC
This patch fixes the build: https://github.com/arvidn/libtorrent/commit/76c2794923c4c101ff715be11d794f7fefc6c524
Comment 10 Holger Hoffstätte 2019-04-28 20:41:26 UTC
This also affects libtorrent.1.1.x (used by e.g. Deluge) and has been fixed in
1.1.13: https://github.com/arvidn/libtorrent/releases/tag/libtorrent-1_1_13

I added this to my overlay and successfully built/run against boost-1.17.
Deluge still works fine as well.
Comment 11 Larry the Git Cow gentoo-dev 2019-05-02 19:16:23 UTC
The bug has been closed via the following commit(s):

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

commit 8fd1300cdd710f78fa75b9245dd020eeea18643b
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-05-02 19:15:59 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-05-02 19:15:59 +0000

    net-libs/libtorrent-rasterbar: fix boost-1.70 compat
    
    Closes: https://bugs.gentoo.org/683764
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../files/fix-boost-1.70.patch                     | 295 +++++++++++++++++++++
 .../libtorrent-rasterbar-1.2.0.ebuild              |   2 +
 2 files changed, 297 insertions(+)
Comment 12 Andreas Sturmlechner gentoo-dev 2019-09-23 18:01:02 UTC
*** Bug 695494 has been marked as a duplicate of this bug. ***