Package Details: trickle 1.07-13

Git Clone URL: https://aur.archlinux.org/trickle.git (read-only, click to copy)
Package Base: trickle
Description: Lightweight userspace bandwidth shaper
Upstream URL: https://github.com/mariusae/trickle
Licenses: BSD
Submitter: jonathon
Maintainer: diepfote
Last Packager: diepfote
Votes: 20
Popularity: 0.045654
First Submitted: 2018-04-12 12:34 (UTC)
Last Updated: 2024-08-18 19:29 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

m040601 commented on 2021-07-25 02:00 (UTC)

Failed for me:

gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/tirpc/ -Wall -Icompat  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -c tricklectl.c
tricklectl.c: In function ‘main’:
tricklectl.c:94:17: error: format not a string literal and no format arguments [-Werror=format-security]
   94 |                 err(1, sockname);
      |                 ^~~
cc1: some warnings being treated as errors
make: *** [Makefile:250: tricklectl.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: trickle


The git version, https://aur.archlinux.org/packages/trickle-git, worked for me.

khalil2535 commented on 2021-06-23 16:15 (UTC)

Failed for me

/bin/sh ./libtool --mode=link gcc -Wall -Icompat -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ltirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o -levent strlcat.o strlcpy.o -lnsl -ldl gcc -Wall -Icompat -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o strlcat.o strlcpy.o -ltirpc -levent -lnsl -ldl gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/tirpc/ -Wall -Icompat -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -c tricklectl.c tricklectl.c: In function ‘main’: tricklectl.c:94:17: error: format not a string literal and no format arguments [-Werror=format-security] 94 | err(1, sockname); | ^~~ cc1: some warnings being treated as errors make: *** [Makefile:250: tricklectl.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'trickle-1.07-11': :: Packages failed to build: trickle-1.07-11

jonathon commented on 2019-12-27 12:50 (UTC)

@saulpierotti, I can confirm this behaviour with trickle-git. There are two possibilities I can see:

  1. This is a bug and should be reported upstream;
  2. This is intended behaviour and the flags are based on the trickle instance as the server (so upload is to its clients).

If you feel it's a bug please report to the upstream issue tracker.

jonathon commented on 2019-11-28 11:00 (UTC)

@saulpierotti, can you verify the behaviour with trickle-git (or by compiling against the git HEAD yourself) and if it persists please file an issue on the upstream issue tracker?

saulpierotti commented on 2019-11-28 10:12 (UTC)

When I set the -u parameter, it appears as the download speed is limited instead of the upload, and vice versa with -d. I tested with firefox using ookla-speedtest.

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

@jonathon Adding "--build=$(gcc -dumpmachine)" worked here. Thanks

jonathon commented on 2018-05-23 19:53 (UTC)

@Raansu, can you check whether this:

./configure --prefix=/usr \
            --mandir=/usr/share/man \
            --build=$(gcc -dumpmachine)

will insert the correct triplet?

Raansu commented on 2018-05-23 15:30 (UTC) (edited on 2018-05-23 15:52 (UTC) by Raansu)

I had issues compiling this on my Raspberry Pi 3B+ running Arch Linux ARM with Aarch64 kernel. But trickle-git compiled fine without any extra modifications to PKGBUILD.

The errors below go away when I add '--build=aarch64-unknown-linux' to the config line in this non-git PKGBUILD.

checking build system type... ./config.guess: unable to guess system type

This script, last modified 2004-06-11, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2004-06-11

uname -m = aarch64
uname -r = 4.14.39-v8-2a6adf636ba8+
uname -s = Linux
uname -v = #1 SMP PREEMPT Mon May 14 10:35:20 BST 2018

/usr/bin/uname -p = unknown
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = 
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.14.39-v8-2a6adf636ba8+
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP PREEMPT Mon May 14 10:35:20 BST 2018
configure: error: cannot guess build type; you must specify one

jonathon commented on 2018-04-29 15:14 (UTC)

Nice, thank you. :)