Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610378 - net-libs/libtorrent-rasterbar ignores PYTHON_TARGETS
Summary: net-libs/libtorrent-rasterbar ignores PYTHON_TARGETS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 15:52 UTC by Eugene Shalygin
Modified: 2017-06-23 12:00 UTC (History)
0 users

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 Eugene Shalygin 2017-02-21 15:52:10 UTC
When PYTHON_TARGETS for net-libs/rb_libtorrent-1.0.10 are set to python3.5 only, the package compiles its python bindings against python 2.7 (/usr/lib64/python3.5/site-packages/libtorrent.cpython-35m-x86_64-linux-gnu.so links to libboost_python-2.7.so.1.63.0) and install those bindings into /usr/lib64/python3.5/site-packages/. The bindings do not work in this case (python -c 'import libtorrent as lt; print(lt.__version__)' shows symbol resolution error).

When boost is compiled with only python3.5 in its PYTHON_TARGETS, net-libs/rb_libtorrent creates python bindings for 3.5.

$ eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.4 (fallback)
  [3]   python2.7 (fallback)
Comment 1 Andreas Sturmlechner gentoo-dev 2017-03-18 23:39:21 UTC
I haven't been able to reproduce that issue.
Comment 2 Eugene Shalygin 2017-06-23 12:00:21 UTC
Seems to be OK now.