Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634506 - net-libs/libtorrent-rasterbar add -std=c++11
Summary: net-libs/libtorrent-rasterbar add -std=c++11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
: 634894 (view as bug list)
Depends on:
Blocks: 702000
  Show dependency tree
 
Reported: 2017-10-17 05:10 UTC by Kris Scott
Modified: 2019-12-06 17:59 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Scott 2017-10-17 05:10:28 UTC
when net-p2p/qbittorrent is compiled against libtorrent-rasterbar-1.1.x, it requires libtorrent to be compiled with the -std=c++11 flag. Please either add this as a use flag or as the default.

See qbittorrent upstream bug here: https://github.com/qbittorrent/qBittorrent/issues/5265
Comment 1 Andreas Sturmlechner gentoo-dev 2017-10-20 20:28:41 UTC
*** Bug 634894 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Sturmlechner gentoo-dev 2017-10-20 22:42:41 UTC
Thanks for your report, fixed in git commit b1f7321677c90120e3d079f980aa8dc9f9a804bd.
Comment 3 Georg Rudoy 2019-10-12 17:48:12 UTC
Unfortunately this solution conflicts with code that uses libtorrent and is built with C++14 or newer. Long story short, if the client code is using C++ ≥14, then libtorrent should also be built with C++14 (or newer), otherwise it should be C++11.

I could see two solutions off the top of my head:
1. Add a use flag (meaning packages using libtorrent and built with different C++ standards will conflict).
2. Patch libtorrent source to avoid this dependency.

How do you reckon?