Package Details: rtorrent-pyro-git 20160810-1

Git Clone URL: https://aur.archlinux.org/rtorrent-pyro-git.git (read-only)
Package Base: rtorrent-pyro-git
Description: Ncurses BitTorrent client based on libTorrent - rTorrent-git with Pyroscope patches
Upstream URL: https://github.com/pyroscope/rtorrent-ps
Keywords: pyroscope torrent
Licenses: GPL
Conflicts: rtorrent, rtorrent-git
Provides: rtorrent
Submitter: skydrome
Maintainer: skydrome
Last Packager: skydrome
Votes: 16
Popularity: 0.001811
First Submitted: 2012-06-15 00:02
Last Updated: 2016-08-10 21:03

Latest Comments

skydrome commented on 2016-08-21 05:59

thats an option for curl, async dns lookups have been default in arch since 2011 using pthreads. You dont and wont need c-ares for rtorrent use. Just use a caching name server like rescached or pdnsd

Ghosthree3 commented on 2016-08-19 10:57

Is this compiled with c-ares? I know the official build script does it but I don't _believe_ this package uses that script right?

skydrome commented on 2016-08-10 21:03

function got renamed, fixed

clidx commented on 2016-08-06 15:28

I'm getting the same error as new numbertwo.

newnumbertwo commented on 2016-08-03 17:02

Having added --ignore-whitespace to the patch command and updated the md5sum for command_pyroscope.cc
(note that if you change the _commit=HEAD to _commit=62cb5a4, you'll simply rebuild
rtorrent-pyro-git-20150908-1-x86_64, which is probably not what you want to do, since in my case, that's the
version already installed) , my build of HEAD fails when it tries to compile ui_pyroscope.cc:

g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Wall -pthread -I/usr/include -MT ui_pyroscope.o
-MD -MP -MF .deps/ui_pyroscope.Tpo -c -o ui_pyroscope.o ui_pyroscope.cc
In file included from globals.h:41:0,
from ui_pyroscope.cc:18:
../rak/priority_queue_default.h: In destructor ‘rak::priority_item::~priority_item()’:
../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate]
throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
^
../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept
ui_pyroscope.cc: In function ‘void display::ui_pyroscope_colormap_init()’:
ui_pyroscope.cc:260:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < words.size(); i++) { // look at all the words
~~^~~~~~~~~~~~~~
ui_pyroscope.cc:284:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (col[0] != -1 && col[0] >= get_colors() || col[1] != -1 && col[1] >= get_colors()) {
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
ui_pyroscope.cc: In function ‘void display::decorate_download_title(display::Window*, display::Canvas*, core::View*, int, Range&)’:
ui_pyroscope.cc:345:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len > TRACKER_LABEL_WIDTH) {
^
ui_pyroscope.cc: In function ‘void display::ui_pyroscope_download_list_redraw_item(display::Window*, display::Canvas*, core::View*, int, Range&)’:
ui_pyroscope.cc:389:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (status_pos < canvas->width()) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ui_pyroscope.cc:401:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (status_pos < canvas->width()) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ui_pyroscope.cc:430:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int label_idx = 0; label_idx < sizeof(label_pos) / sizeof(int); label_idx += 2) {
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ui_pyroscope.cc: In function ‘bool display::ui_pyroscope_download_list_redraw(display::Window*, display::Canvas*, core::View*)’:
ui_pyroscope.cc:464:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (item_idx == view->size())
~~~~~~~~~^~~~~~~~~~~~~~~
ui_pyroscope.cc:645:51: error: ‘print_download_info’ was not declared in this scope
print_download_info(buffer, last, *view->focus());
^
ui_pyroscope.cc: In function ‘void network_history_format(std::__cxx11::string&, char, uint32_t*)’:
ui_pyroscope.cc:725:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= samples; ++i) {
~~^~~~~~~~~~
make[3]: *** [Makefile:583: ui_pyroscope.o] Error 1
make[3]: Leaving directory '/tmp/yaourt-tmp-username/aur-rtorrent-pyro-git/src/rtorrent/src'
make[2]: *** [Makefile:616: all-recursive] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-username/aur-rtorrent-pyro-git/src/rtorrent/src'
make[1]: *** [Makefile:447: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-username/aur-rtorrent-pyro-git/src/rtorrent'
make: *** [Makefile:379: all] Error 2
==> ERROR: A failure occurred in build().

Any suggestions?

bounb commented on 2016-07-25 12:18

patching currently fails on src/display/canvas.h: can be worked around by adding --ignore-whitespace to the patch command.

skydrome commented on 2016-04-08 19:11

fixed it, compiling from git works again \o/

novcn commented on 2016-04-02 18:33

Was experiencing the same issue as @Brottweiler.
Issue is that a function from rtorrent-pyro was merged into the latest version of rtorrent.
Instead of _commit pointing to HEAD (version 0.9.7) in PKGBUILD use
_commit=62cb5a4 #0.9.6 (points commit to version prior to merge)

Brottweiler commented on 2016-04-01 10:57

==> Validating source files with md5sums...
rtorrent ... Skipped
rtorrent.rc.sample ... Passed
ps-ui_pyroscope_all.patch ... Passed
pyroscope.patch ... Passed
ui_pyroscope.patch ... Passed
command_pyroscope.cc ... FAILED
ui_pyroscope.cc ... Passed
ui_pyroscope.h ... Passed
==> ERROR: One or more files did not pass the validity check!

Running updpkgsums then building again results in

collect2: error: ld returned 1 exit status
Makefile:548: recipe for target 'rtorrent' failed
make[3]: *** [rtorrent] Error 1
make[3]: Leaving directory '/home/brott/build/rtorrent-pyro-git/src/rtorrent/src'
Makefile:616: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/brott/build/rtorrent-pyro-git/src/rtorrent/src'
Makefile:447: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/brott/build/rtorrent-pyro-git/src/rtorrent'
Makefile:379: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Stygian commented on 2016-03-15 13:51

Compilation fails with

libsub_root.a(command_pyroscope.o): In function `cmd_ui_current_view()':
command_pyroscope.cc:(.text+0x190): multiple definition of `cmd_ui_current_view()'
libsub_root.a(command_ui.o):command_ui.cc:(.text+0x3b0): first defined here
collect2: error: ld returned 1 exit status
Makefile:548: recipe for target 'rtorrent' failed
make[3]: *** [rtorrent] Error 1

Ideas anyone ?

All comments