Bug 242760 - net-p2p/deluge-cli fails to start since net-p2p/libtorrent-rasterbar update to 1.2.2
Summary: net-p2p/deluge-cli fails to start since net-p2p/libtorrent-rasterbar update t...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Ruslan Makhmatkhanov
URL:
Keywords: regression
Depends on: 242797
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-21 09:23 UTC by Wade
Modified: 2020-01-19 23:24 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wade 2019-12-21 09:23:17 UTC
"service deluged start" fails with the following traceback after net-p2p/libtorrent-rasterbar was updated to 1.2.2 ports r520456


[ERROR   ] 19:07:18 main:248 No module named libtorrent
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/deluge/main.py", line 241, in start_daemon
    Daemon(options, args)
  File "/usr/local/lib/python2.7/site-packages/deluge/core/daemon.py", line 144, in __init__
    from deluge.core.core import Core
  File "/usr/local/lib/python2.7/site-packages/deluge/core/core.py", line 38, in <module>
    from deluge._libtorrent import lt
  File "/usr/local/lib/python2.7/site-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
Comment 1 daniel.engberg.lists 2019-12-21 23:55:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241202

It should be marked as BROKEN until update is in tree
Comment 2 Yuri Victorovich freebsd_committer 2019-12-21 23:57:38 UTC
The maintainer promised to update Deluge ports over the weekend.
Comment 3 Wade 2019-12-22 03:52:56 UTC
The proposed fix in bug #241202 is to bump deluge to the 2.x branch, which is completely incompatible with 1.x clients used for remote management. Deluge 2.x client support for is currently severely lacking, at least compared to 1.x.

Can deluge 1.x be patched to work with libtorrent-rasterbar 1.2.x?
Is libtorrent-rasterbar 1.2.x inherently incompatible with deluge 1.x?
Is there a way to force install libtorrent-rasterbar 1.1.10 (last known working)?
Comment 4 Yuri Victorovich freebsd_committer 2019-12-22 04:13:49 UTC
Assign to the port maintainer.
Comment 5 Ruslan Makhmatkhanov freebsd_committer 2019-12-22 09:22:32 UTC
If I understand correctly, py-libtorrent-rasterbar is broken - it doesn't installs anything. Look like some plist problem. This is why deluge is not capable to find libtorrent module.

[rm@cf ~]> pkg list py37-libtorrent-rasterbar-1.2.2
/usr/local/lib/python3.7/site-packages/python_libtorrent-1.2.2-py3.7.egg-info/PKG-INFO
/usr/local/lib/python3.7/site-packages/python_libtorrent-1.2.2-py3.7.egg-info/SOURCES.txt
/usr/local/lib/python3.7/site-packages/python_libtorrent-1.2.2-py3.7.egg-info/dependency_links.txt
/usr/local/lib/python3.7/site-packages/python_libtorrent-1.2.2-py3.7.egg-info/top_level.txt
/usr/local/share/licenses/py37-libtorrent-rasterbar-1.2.2/BSD3CLAUSE
/usr/local/share/licenses/py37-libtorrent-rasterbar-1.2.2/LICENSE
/usr/local/share/licenses/py37-libtorrent-rasterbar-1.2.2/catalog.mk

It only installs a bunch of text files.