Package Details: trickle-git r23.09a1d95-3

Git Clone URL: https://aur.archlinux.org/trickle-git.git (read-only, click to copy)
Package Base: trickle-git
Description: Lightweight userspace bandwidth shaper
Upstream URL: https://github.com/mariusae/trickle
Licenses: BSD
Conflicts: trickle
Provides: trickle
Submitter: jonathon
Maintainer: mkurz
Last Packager: mkurz
Votes: 8
Popularity: 0.012599
First Submitted: 2018-04-12 13:09 (UTC)
Last Updated: 2023-01-27 15:13 (UTC)

Latest Comments

ABelliqueux commented on 2022-11-02 18:49 (UTC) (edited on 2022-11-02 18:59 (UTC) by ABelliqueux)

Building fails with :

make[1]: Entering directory '/tmp/trizen-ab/trickle-git/src/trickle'
/bin/sh ./libtool --mode=link clang -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -o libtmptrickle-overload.so.la                \
    -rpath /usr/lib/trickle strlcat.lo strlcpy.lo trickle-overload.lo bwstat.lo trickledu.lo atomicio.lo xdr.lo -lnsl  -ldl     \
    -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -module -avoid-version -nostdlib -ldl
libtool: link: rm -fr  .libs/libtmptrickle-overload.so.a .libs/libtmptrickle-overload.so.la .libs/libtmptrickle-overload.so.lai
libtool: link: ar cr .libs/libtmptrickle-overload.so.a  strlcat.o strlcpy.o trickle-overload.o bwstat.o trickledu.o atomicio.o xdr.o
libtool: link: ranlib .libs/libtmptrickle-overload.so.a
libtool: link: ( cd ".libs" && rm -f "libtmptrickle-overload.so.la" && ln -s "../libtmptrickle-overload.so.la" "libtmptrickle-overload.so.la" )
cp: cannot stat '.libs/libtmptrickle-overload.so': No such file or directory
make[1]: *** [Makefile:1066: trickle-overload.so] Error 1
make[1]: Leaving directory '/tmp/trizen-ab/trickle-git/src/trickle'
make: *** [Makefile:406: all] Error 2

FWIW, fork from echiu64 builds fine from source : https://github.com/echiu64/trickle

dougvj commented on 2022-10-18 18:43 (UTC)

This admittedly hacky patch fixes the problem for me:

diff --git a/trickle.c b/trickle.c
index 63cc11f..de908da 100644
--- a/trickle.c
+++ b/trickle.c
@@ -51,6 +51,8 @@ main(int argc, char **argv)
        char *trypaths[]  = {
                LIBNAME,
                LIBDIR "/" LIBNAME,
+               "/usr/local/lib/trickle/" LIBNAME,
+               "/usr/lib/trickle/" LIBNAME,
                NULL
        };

Looks like LIBDIR has an unexpanded variable, it looks for ${exec_prefix}/lib/trickle/trickle-overload.so

johnjohn commented on 2022-01-19 12:44 (UTC)

I am having the same issue as @gunar

gunar commented on 2021-10-13 20:02 (UTC)

After install, fails for me:

$ trickle -s -d 100 curl https://archlinux.org
trickle: Could not find overload object

Raansu commented on 2018-05-24 00:23 (UTC)

Thank you for making the change

Raansu commented on 2018-05-23 14:30 (UTC)

I had issues building the non-git version of this package on my Raspberry Pi 3B+ running Arch Linux ARM with a Aarch64 kernel. But this one builds fine. Would you consider adding the following to your PKGBUILD?

arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')