Package Details: libtorrent-ps 1.1.r54.ga787dd9-1

Git Clone URL: https://aur.archlinux.org/libtorrent-ps.git (read-only, click to copy)
Package Base: libtorrent-ps
Description: BitTorrent library written in C++ for use with rtorrent-ps
Upstream URL: https://github.com/rakshasa/libtorrent
Keywords: libtorrent pyroscope rtorrent-ps
Licenses: GPL
Conflicts: libtorrent
Provides: libtorrent
Submitter: xsmile
Maintainer: xsmile
Last Packager: xsmile
Votes: 12
Popularity: 0.27
First Submitted: 2017-03-09 17:38
Last Updated: 2020-03-20 11:08

Latest Comments

1 2 Next › Last »

xsmile commented on 2020-07-08 22:20

This is indeed an issue with rtorrent-ps. I included a new patch which should fix the error.

zachir commented on 2020-06-04 04:01

I have an issue building atm, the error message is

/bin/sh ../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNDEBUG -pthread -I/usr/include -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread libtool: link: g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNDEBUG -pthread -I/usr/include -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread -pthread /bin/ld: display/libsub_display.a(window_file_list.o): in functiondisplay::wstring_width(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)': window_file_list.cc:(.text+0x2d7): undefined reference to bool std::isprint<char>(char, std::locale const&)'

happycamper commented on 2019-07-23 20:30

This gets past the "macro 'AM_PATH_CPPUNIT' not found in library" problem:

sed '/AM_PATH_CPPUNIT/d' -i configure.ac

But then this error happens:

In file included from diffie_hellman.cc:43:

diffie_hellman.cc:106:63: error: invalid use of incomplete type ‘DH’ {aka ‘struct dh_st’}

106 | BN_bn2bin(m_dh->pub_key, dest + length - BN_num_bytes(m_dh->pub_key));

In file included from /usr/include/openssl/bn.h:19,

from diffie_hellman.cc:43:

/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH’ {aka ‘struct dh_st’}

104 | typedef struct dh_st DH;

make[3]: *** [Makefile:422: diffie_hellman.lo] Error 1

make[3]: *** Waiting for unfinished jobs....

mv -f .deps/instrumentation.Tpo .deps/instrumentation.Plo

make[3]: Leaving directory '/tmp/makepkg/libtorrent-ps/src/libtorrent-0.13.6/src/utils'

make[2]: *** [Makefile:571: all-recursive] Error 1

make[2]: Leaving directory '/tmp/makepkg/libtorrent-ps/src/libtorrent-0.13.6/src'

make[1]: *** [Makefile:495: all-recursive] Error 1

make[1]: Leaving directory '/tmp/makepkg/libtorrent-ps/src/libtorrent-0.13.6'

make: *** [Makefile:404: all] Error 2

==> ERROR: A failure occurred in build().

Aborting...

xsmile commented on 2019-07-23 14:55

@happycamper: I don't have cppunit installed and I can't reproduce this error. Try removing previously downloaded/cached files for this package and build it without an AUR helper.

happycamper commented on 2019-07-23 00:50

I'm getting this error during build:

aclocal...

configure.ac:22: warning: macro 'AM_PATH_CPPUNIT' not found in library

autoconf...

configure.ac:22: error: possibly undefined macro: AM_PATH_CPPUNIT

rosetintedcheeks commented on 2019-07-18 18:51

The link to the libtorrent src is now wrong.

This is the correct link with a 'v' added before the version: https://github.com/rakshasa/libtorrent/archive/v0.13.6.tar.gz

xsmile commented on 2017-06-22 08:12

@fauxmight:
The base-devel package group is a requirement for using the AUR and is omitted from the PKGBUILD.

fauxmight commented on 2017-06-22 01:25

pkg-config is a dependency (configure fails without it)

xsmile commented on 2017-05-07 13:43

@Leifern:
cppunit is not necessary for a succesful compilation of the library.
EDIT:
You are right, I will add it to makedepends.
EDIT2:
Removed it again, as it causes compilations problems since the last update.

@carey:
Thanks for the notification.

Leifern commented on 2017-05-07 08:35

Missing dependency:
- cppunit https://www.archlinux.org/packages/?q=cppunit