Ask Your Question
0

Rasterbar Libtorrent Issues

asked 2014-03-16 04:56:13 -0500

TenaliRaman gravatar image

It seems that rb_libtorrent package that comes with fedora has some issues which freezes both deluge and qbittorrent as detailed here:

https://bugs.archlinux.org/task/37750?dev=2039

Is it possible to add one of the older rb_libtorrent to fedora repo so that I can downgrade or add one of the later version (it seems 0.16.5 is out) so that I can upgrade and get rid of this issue?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-18 13:29:40 -0500

marcindulak gravatar image

updated 2014-03-18 13:32:20 -0500

This bug is incomplete (asking for upstream report). Note that there is already a bug open https://bugzilla.redhat.com/show_bug.cgi?id=998215 asking for updates of rb_libtorrent, please write a comment there.

In the meantime you could try to rebuild a new version of rb_libtorrent:

su -c "yum -y install git wget rpm-build mock"
cd /tmp
git clone http://pkgs.fedoraproject.org/cgit/rb_libtorrent.git/
cd rb_libtorrent
sed -i s'/0.16.11/0.16.15/' rb_libtorrent.spec
sed -i '/patch0/d' rb_libtorrent.spec # patch number 0 no longer applies on Fedora 20
sed -i '/patch1/d' rb_libtorrent.spec  # patch number 1 no longer applies on Fedora 20
wget https://downloads.sourceforge.net/project/libtorrent/libtorrent/libtorrent-rasterbar-0.16.15.tar.gz
srpm=`rpmbuild -bs --define "_sourcedir $PWD" rb_libtorrent.spec | cut -d: -f2`
mock --rebuild $srpm

The result of the build will be under /var/lib/mock/*/result/ In case of problems with mock see: https://fedoraproject.org/wiki/Projects/Mock#Setup

edit flag offensive delete link more

Comments

Thanks I have added a comment to that bugzilla link. I will check out the alternative solution that you have given asap.

TenaliRaman gravatar imageTenaliRaman ( 2014-03-18 16:46:06 -0500 )edit

I was not clear - the bugzilla bug is not meant to describe problems with rb_libtorrent - only to request an update. Bugs requesting updates are opened by automatic version monitoring tools. Do not mix issues: every bug should deal with a separate issue if possible. Moreover archlinux bug is incomplete - it is not verified by upstream rb_libtorrent, so a packager of rb_libtorrent on Fedora will not accept this as a reason to update rb_libtorrent, unless you demonstrate the issues with socks5 are remedied by building 0.16.15 as given above.

marcindulak gravatar imagemarcindulak ( 2014-03-19 02:55:52 -0500 )edit

Oh I am sorry, I will get the 0.16.15 update and test it out, but I won't be able to do it this week as I am travelling. Will test it out next week and update the bugzilla link with my test results.

TenaliRaman gravatar imageTenaliRaman ( 2014-03-19 04:53:15 -0500 )edit

OK, let us know the results.

marcindulak gravatar imagemarcindulak ( 2014-03-19 06:23:53 -0500 )edit

@marcindulak I built the rpm and installed them in my system. I ran qbittorrent and it has been running for more than 12 hours now without crashing. So, I believe the update is working :-). What should I do now?

TenaliRaman gravatar imageTenaliRaman ( 2014-03-24 01:13:07 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-16 04:56:13 -0500

Seen: 1,739 times

Last updated: Mar 18 '14