Giter Site home page Giter Site logo

mariusae / trickle Goto Github PK

View Code? Open in Web Editor NEW
542.0 21.0 62.0 533 KB

Trickle is a userland bandwidth shaper for Unix-like systems.

Home Page: https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/eriksen/eriksen.pdf

License: Other

C 86.22% Makefile 0.82% C++ 0.80% M4 7.27% Roff 4.89%

trickle's Introduction

trickle

by Marius Aamodt Eriksen [email protected]

http://monkey.org/~marius/trickle

Build Status

Description

trickle is a voluntary, cooperative bandwidth shaper. trickle works entirely in userland and is cross platform compatible.

Install

autoreconf -if
./configure
make
su
make install

Note that on certain systems you may get the following error on make:

configure.in:220: error: do not use LIBOBJS directly, use AC_LIBOBJ (see 
section `AC_LIBOBJ vs LIBOBJS'
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make: *** [configure] Error 1

this is easily circumvented by running make again.

To make a RedHat RPM, simply type

rpmbuild -ta trickle-1.07.tar.gz

Documentation

See the manpage trickle(1), trickled(8) and trickled.conf(5).

Thanks

License

trickle is distributed under a BSD like license. Feel free to use, modify and distribute in any form. See the LICENSE file for more information.

trickle's People

Contributors

hubbitus avatar kapsh avatar lano1106 avatar mariusae avatar pmnoxx avatar rfjakob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trickle's Issues

Please tag a release?

Simply would make packaging easier to have a release instead of a git hash.

Thank you!

Doesn't work with SVN over HTTP?

Hi,

we just tried to use trickle to bw limit a periodic SVN checkout.
For some reason, our tests with i.e. wget and http work just fine, limiting to i.e. 10KB/s. But doing the same with SVN has no effect.

I have no idea why this happens...

[FIXED] can't compile on Arch

I compiled this on a freshly installed and updated arch VPS around 15 days ago, today I'm trying to install (on a freshly installed as well) local arch machine to no avail. Tried AUR, AUR 'trickle-git', this repo and echiu64's fork

log reads:

checking if we can access libc without dlopen... no
checking if we can access libc with libc.so... no
checking if we can access libc with /usr/lib/libc.so... no
checking if we can access libc with /usr/lib/libc.so.6... no
checking if we can access libc with /lib/libc.so.6... no
configure: error: cannot figure out how to access libc
make: *** No targets specified and no makefile found.  Stop.

I tried applying the patch described in ArchLinux forums post from 2024-05-13: Cannot install trickle because libc is not found to AUR's trickle-git

but that results in

...
patching file configure.in
patching file configure.in
patching file xdr.c
configure.in:5: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete.
configure.in:5: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.in:5: the top level
configure.in:47: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:47: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:47: the top level
configure.in:53: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:53: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:53: the top level
configure.in:64: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:64: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.in:64: the top level
configure.in:81: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.in:81: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.in:81: the top level
configure.in:89: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
configure.in:89: You should run autoupdate.
./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from...
configure.in:89: the top level
configure.in:90: warning: The macro 'AC_TYPE_SIGNAL' is obsolete.
configure.in:90: You should run autoupdate.
./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from...
configure.in:90: the top level
configure.in:99: warning: The macro 'AC_ERROR' is obsolete.
configure.in:99: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:99: the top level
configure.in:99: warning: The macro 'AC_ERROR' is obsolete.
configure.in:99: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:99: the top level
configure.in:139: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:139: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.in:139: the top level
configure.in:163: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:163: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.in:163: the top level
configure.in:198: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:198: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.in:198: the top level
configure.in:243: warning: AC_OUTPUT should be used without arguments.
configure.in:243: You should run autoupdate.
configure.in:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:9: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:15: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.in:31: error: possibly undefined macro: AC_DEFINE
configure.in:60: error: possibly undefined macro: AC_MSG_ERROR
==> ERROR: A failure occurred in prepare().
    Aborting...

If anyone gets this to work could you share your PKGBUILD file please?

Fails to compile on Aarch64 -- ./config.guess: unable to guess system type

I tried compiling this on my Raspberry Pi 3B+ running Arch Linux ARM with a Aarch64 kernel but I got the below errors.

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 <[email protected]> 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

trickled with multiple trickle clients core dumps on second client

You can start up trickled with a fixed -d and -u
Then start first client with trickle and it limits to -d and -u limits listed in trickled.
Then start another client and second client immediately core dumps / crashes.
Tested in Redhat EL6 and EL7 using yum EPEL repo versions
trickle.x86_64 0:1.07-19.el6

not work in any command

it does not work in any command
error code:
trickle: Could not reach trickled, working independently: No such file or directory

Can't compile trickle on RHEL 8.1

I am trying to compile trickle on RHEL 8.1 . I ran ./configure, then ran make command
and got following error:

config.h:133:19: error: two or more data types in declaration specifiers #define in_addr_t unsigned long

I solved/ignored this error by comment out "#define in_addr_t unsigned long" lines in config.h

After that I ran make clean and make command and got another error. Couldn't find a solution for this one:

[root@localhost trickle-1.07]# make
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c trickle.c
trickle.c: In function ‘main’:
trickle.c:47:7: warning: variable ‘latency’ set but not used [-Wunused-but-set-variable]
      *latency = "0";
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c util.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c strlcat.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c strlcpy.c
/bin/sh ./libtool --mode=link gcc -Wall -Icompat  -g -O2  -o trickle  trickle.o util.o getopt.o strlcat.o strlcpy.o -ldl
mkdir .libs
gcc -Wall -Icompat -g -O2 -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o  -ldl
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c trickled.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c atomicio.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c print.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c bwstat.c
bwstat.c: In function ‘bwstat_getdelay’:
bwstat.c:151:7: warning: variable ‘initent’ set but not used [-Wunused-but-set-variable]
  uint initent;
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c client.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c conf.c
conf.c: In function ‘conf_decode_base64’:
conf.c:548:17: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
    if (!strcmp (buf, "=="))
                 ^~~
In file included from conf.c:55:
/usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
conf.c:564:17: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign]
     if (strcmp (buf, "="))
                 ^~~
In file included from conf.c:55:
/usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c cleanup.c
gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Icompat  -g -O2 -c xdr.c
xdr.c: In function ‘xdr_msg’:
xdr.c:106:25: warning: passing argument 5 of ‘xdr_union’ from incompatible pointer type [-Wincompatible-pointer-types]
        xdr_msg_discrim, _xdr_void));
                         ^~~~~~~~~
xdr.c:15:7: note: in definition of macro ‘X’
  if (!x)     \
       ^
In file included from /usr/include/rpc/rpc.h:43,
                 from xdr.c:10:
/usr/include/rpc/xdr.h:315:78: note: expected ‘xdrproc_t’ {aka ‘int (*)(struct __rpc_xdr *, ...)’} but argument is of type ‘bool_t (*)(void)’ {aka ‘int (*)(void)’}
 extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t);
                                                                              ^~~~~~~~~
xdr.c: In function ‘msg2xdr’:
xdr.c:116:23: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, *buflen, XDR_ENCODE);
                       ^~~
In file included from /usr/include/rpc/rpc.h:43,
                 from xdr.c:10:
/usr/include/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
xdr.c: In function ‘xdr2msg’:
xdr.c:136:23: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, buflen, XDR_DECODE);
                       ^~~
In file included from /usr/include/rpc/rpc.h:43,
                 from xdr.c:10:
/usr/include/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
/bin/sh ./libtool --mode=link gcc -Wall -Icompat  -g -O2  -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 -ldl
gcc -Wall -Icompat -g -O2 -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  -levent -ldl
xdr.o: In function `xdr_msg_getinfo':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:74: undefined reference to `xdr_u_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:75: undefined reference to `xdr_u_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:76: undefined reference to `xdr_u_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:77: undefined reference to `xdr_u_int'
xdr.o: In function `xdr_msg_update':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:55: undefined reference to `xdr_u_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:56: undefined reference to `xdr_short'
xdr.o: In function `xdr_msg_delay':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:46: undefined reference to `xdr_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:47: undefined reference to `xdr_short'
xdr.o: In function `xdr_msg_delayinfo':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:64: undefined reference to `xdr_long'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:65: undefined reference to `xdr_long'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:66: undefined reference to `xdr_int'
xdr.o: In function `xdr_msg_conf':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:33: undefined reference to `xdr_u_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:34: undefined reference to `xdr_u_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:35: undefined reference to `xdr_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:36: undefined reference to `xdr_opaque'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:37: undefined reference to `xdr_u_int'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:38: undefined reference to `xdr_u_int'
xdr.o: In function `msg2xdr':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:116: undefined reference to `xdrmem_create'
xdr.o: In function `xdr_msg':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:104: undefined reference to `xdr_short'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:105: undefined reference to `xdr_union'
xdr.o: In function `xdr2msg':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:136: undefined reference to `xdrmem_create'
xdr.o: In function `xdr_msg':
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:104: undefined reference to `xdr_short'
/root/rpmbuild/SOURCES/trickle-1.07/xdr.c:105: undefined reference to `xdr_union'
collect2: error: ld returned 1 exit status
make: *** [Makefile:299: trickled] Error 1



Isn't doing anything

I'm in the process of finding bandwidth shaping tools to use on a server-sync project, and I'm having trouble getting this to work.

I ran sudo trickled -d 250 -u 250 and my running SCP transfer still continued to chuck along at 100+ MB/s.

Any ideas?

make install fails on Alpine Linux-- install: can't stat './libtrickle.so': No such file or directory

Has anyone been able to build this on Alpine?

I'm trying to build it with this Dockerfile:

FROM alpine:latest

ENV TRICKLE_VERSION=596bb13f2bc323fc8e7783b8dcba627de4969e07
ENV TRICKLE_SHA256SUM=a4111063d67a3330025eea2f29ebd8c8605e43cc1be0bf384b48f0eab8daf508
RUN { set -eux; \
    \
    cd /tmp; \
    apk add --no-cache \
        autoconf \
        automake \
        build-base \
        ca-certificates \
        curl \
        file \
        libevent-dev \
        libtirpc-dev \
        libtool \
    ; \
    curl -L -o trickle.tgz https://github.com/mariusae/trickle/archive/${TRICKLE_VERSION}.tar.gz; \
    echo "$TRICKLE_SHA256SUM  trickle.tgz" | sha256sum -c -; \
    tar xvzf trickle.tgz; \
    cd "trickle-${TRICKLE_VERSION}"; \
    export CFLAGS=-I/usr/include/tirpc; \
    export LDFLAGS=-ltirpc; \
    autoreconf -if; \
    ./configure; \
    make; \
    ls -la | grep so; \
    make install; \
    rm -rf /tmp/*; \
}

But the make install step fails because libtrickle.so doesn't get created (trickle-overload.so does exist):

Sending build context to Docker daemon   2.56kB
Step 1/4 : FROM alpine:latest
 ---> 3fd9065eaf02
Step 2/4 : ENV TRICKLE_VERSION=596bb13f2bc323fc8e7783b8dcba627de4969e07
 ---> Using cache
 ---> 78a51e373108
Step 3/4 : ENV TRICKLE_SHA256SUM=a4111063d67a3330025eea2f29ebd8c8605e43cc1be0bf384b48f0eab8daf508
 ---> Using cache
 ---> 668a881a41f1
Step 4/4 : RUN { set -eux;         cd /tmp;     apk add --no-cache         autoconf         automake         build-base         ca-certificates         curl         file         libevent-dev         libtirpc-dev         libtool     ;     curl -L -o trickle.tgz https://github.com/mariusae/trickle/archive/${TRICKLE_VERSION}.tar.gz;     echo "$TRICKLE_SHA256SUM  trickle.tgz" | sha256sum -c -;     tar xvzf trickle.tgz;     cd "trickle-${TRICKLE_VERSION}";     export CFLAGS=-I/usr/include/tirpc;     export LDFLAGS=-ltirpc;     autoreconf -if;     ./configure;     make;     ls -la | grep so;     make install;     rm -rf /tmp/*; }
 ---> Running in 67401ef0b47d
+ cd /tmp
+ apk add --no-cache autoconf automake build-base ca-certificates curl file libevent-dev libtirpc-dev libtool
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
(1/66) Upgrading musl (1.1.18-r2 -> 1.1.18-r3)
(2/66) Installing m4 (1.4.18-r0)
(3/66) Installing libbz2 (1.0.6-r6)
(4/66) Installing perl (5.26.2-r0)
(5/66) Installing autoconf (2.69-r0)
(6/66) Installing automake (1.15.1-r0)
(7/66) Installing binutils-libs (2.28-r3)
(8/66) Installing binutils (2.28-r3)
(9/66) Installing gmp (6.1.2-r1)
(10/66) Installing isl (0.18-r0)
(11/66) Installing libgomp (6.4.0-r5)
(12/66) Installing libatomic (6.4.0-r5)
(13/66) Installing pkgconf (1.3.10-r0)
(14/66) Installing libgcc (6.4.0-r5)
(15/66) Installing mpfr3 (3.1.5-r1)
(16/66) Installing mpc1 (1.0.3-r1)
(17/66) Installing libstdc++ (6.4.0-r5)
(18/66) Installing gcc (6.4.0-r5)
(19/66) Installing musl-dev (1.1.18-r3)
(20/66) Installing libc-dev (0.7.1-r0)
(21/66) Installing g++ (6.4.0-r5)
(22/66) Installing make (4.2.1-r0)
(23/66) Installing fortify-headers (0.9-r0)
(24/66) Installing build-base (0.5-r0)
(25/66) Installing ca-certificates (20171114-r0)
(26/66) Installing libssh2 (1.8.0-r2)
(27/66) Installing libcurl (7.59.0-r0)
(28/66) Installing curl (7.59.0-r0)
(29/66) Installing libmagic (5.32-r0)
(30/66) Installing file (5.32-r0)
(31/66) Upgrading musl-utils (1.1.18-r2 -> 1.1.18-r3)
(32/66) Installing expat (2.2.5-r0)
(33/66) Installing libffi (3.2.1-r4)
(34/66) Installing gdbm (1.13-r1)
(35/66) Installing ncurses-terminfo-base (6.0_p20171125-r0)
(36/66) Installing ncurses-terminfo (6.0_p20171125-r0)
(37/66) Installing ncurses-libs (6.0_p20171125-r0)
(38/66) Installing readline (7.0.003-r0)
(39/66) Installing sqlite-libs (3.21.0-r0)
(40/66) Installing python2 (2.7.14-r2)
(41/66) Installing libevent (2.1.8-r2)
(42/66) Installing libevent-dev (2.1.8-r2)
(43/66) Installing libuuid (2.31-r0)
(44/66) Installing libblkid (2.31-r0)
(45/66) Installing libfdisk (2.31-r0)
(46/66) Installing libmount (2.31-r0)
(47/66) Installing libsmartcols (2.31-r0)
(48/66) Installing util-linux-dev (2.31-r0)
(49/66) Installing libcom_err (1.43.7-r0)
(50/66) Installing e2fsprogs-libs (1.43.7-r0)
(51/66) Installing e2fsprogs-dev (1.43.7-r0)
(52/66) Installing krb5-conf (1.0-r1)
(53/66) Installing keyutils-libs (1.5.10-r0)
(54/66) Installing libverto (0.3.0-r0)
(55/66) Installing krb5-libs (1.15.2-r1)
(56/66) Installing db (5.3.28-r0)
(57/66) Installing libsasl (2.1.26-r11)
(58/66) Installing libldap (2.4.45-r3)
(59/66) Installing krb5-server-ldap (1.15.2-r1)
(60/66) Installing krb5-dev (1.15.2-r1)
(61/66) Installing bsd-compat-headers (0.7.1-r0)
(62/66) Installing libtirpc (1.0.1-r2)
(63/66) Installing libtirpc-dev (1.0.1-r2)
(64/66) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(65/66) Installing libltdl (2.4.6-r4)
(66/66) Installing libtool (2.4.6-r4)
Executing busybox-1.27.2-r7.trigger
Executing ca-certificates-20171114-r0.trigger
OK: 269 MiB in 75 packages
+ curl -L -o trickle.tgz https://github.com/mariusae/trickle/archive/596bb13f2bc323fc8e7783b8dcba627de4969e07.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   158    0   158    0     0    672      0 --:--:-- --:--:-- --:--:--   672
100 48788  100 48788    0     0   124k      0 --:--:-- --:--:-- --:--:--  124k
+ echo a4111063d67a3330025eea2f29ebd8c8605e43cc1be0bf384b48f0eab8daf508  trickle.tgz
+ sha256sum -c -
trickle.tgz: OK
+ tar xvzf trickle.tgz
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/.gitignore
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/.travis.yml
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/LICENSE
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/Makefile.am
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/Makefile.am.inc
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/README.md
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/TODO
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/acconfig.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/atomicio.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/bwstat.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/bwstat.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/cleanup.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/cleanup.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/client.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/client.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/sys/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/sys/queue.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/sys/tree.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/conf.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/conf.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/config.h.in
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/configure.in
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/daemon.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/err.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/getopt.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/m4/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/m4/ax_pthread.m4
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/message.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/print.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/print.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/setenv.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/stamp-h.in
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/strlcat.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/strlcpy.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/strsep.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle-overload.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle.1
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/tricklectl.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickled.8
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickled.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickled.conf.5
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickledu.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickledu.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/util.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/util.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/xdr.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/xdr.h
+ cd trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07
+ export CFLAGS=-I/usr/include/tirpc
+ export LDFLAGS=-ltirpc
+ autoreconf -if
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: installing './compile'
configure.in:5: installing './config.guess'
configure.in:5: installing './config.sub'
configure.in:8: installing './install-sh'
configure.in:8: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dlopen in -ldl... yes
checking for err in -lc... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking if libc defines __progname... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking asm/poll.h usability... no
checking asm/poll.h presence... no
checking for asm/poll.h... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for in_addr_t... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for daemon... yes
checking for setenv... yes
checking for strsep... yes
checking for sendfile... yes
checking for libevent... yes
checking if underscores are needed for symbols... no
checking if we can access libc without dlopen... yes
checking for sendfile... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ make
make  all-am
make[1]: Entering directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickle.o trickle.c
trickle.c: In function 'main':
trickle.c:47:7: warning: variable 'latency' set but not used [-Wunused-but-set-variable]
      *latency = "0";
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o util.o util.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o getopt.o getopt.c
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o trickle trickle.o util.o getopt.o  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o trickle trickle.o util.o getopt.o  -ltirpc -ldl
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickled.o trickled.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o atomicio.o atomicio.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o print.o print.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o bwstat.o bwstat.c
bwstat.c: In function 'bwstat_getdelay':
bwstat.c:153:7: warning: variable 'initent' set but not used [-Wunused-but-set-variable]
  uint initent;
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o client.o client.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o conf.o conf.c
conf.c: In function 'conf_decode_base64':
conf.c:548:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
    if (!strcmp (buf, "=="))
                 ^~~
In file included from /usr/include/fortify/string.h:20:0,
                 from conf.c:55:
/usr/include/string.h:37:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 int strcmp (const char *, const char *);
     ^~~~~~
conf.c:564:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
     if (strcmp (buf, "="))
                 ^~~
In file included from /usr/include/fortify/string.h:20:0,
                 from conf.c:55:
/usr/include/string.h:37:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 int strcmp (const char *, const char *);
     ^~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o cleanup.o cleanup.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o xdr.o xdr.c
xdr.c: In function 'xdr_msg':
xdr.c:106:25: warning: passing argument 5 of 'xdr_union' from incompatible pointer type [-Wincompatible-pointer-types]
        xdr_msg_discrim, _xdr_void));
                         ^
xdr.c:15:7: note: in definition of macro 'X'
  if (!x)     \
       ^
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:315:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}'
 extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t);
               ^~~~~~~~~
xdr.c: In function 'msg2xdr':
xdr.c:116:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, *buflen, XDR_ENCODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
xdr.c: In function 'xdr2msg':
xdr.c:136:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, buflen, XDR_DECODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o -levent  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o  -ltirpc -levent -ldl
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o tricklectl.o tricklectl.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickledu.o trickledu.c
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ltirpc -ldl
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickle-overload.lo trickle-overload.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickle-overload.c  -fPIC -DPIC -o .libs/trickle-overload.o
trickle-overload.c: In function 'read':
trickle-overload.c:688:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &xnbytes, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'readv':
trickle-overload.c:726:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &len, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'recv':
trickle-overload.c:759:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'recvfrom':
trickle-overload.c:800:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'write':
trickle-overload.c:834:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &xlen, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'writev':
trickle-overload.c:872:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &len, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'send':
trickle-overload.c:906:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'sendto':
trickle-overload.c:942:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'sendfile':
trickle-overload.c:1101:15: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  delay(in_fd, &inbytes, TRICKLE_RECV);
               ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c:1102:16: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  delay(out_fd, &outbytes, TRICKLE_SEND);
                ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'getdelay':
trickle-overload.c:1161:50: warning: pointer targets in passing argument 2 of 'trickled_getdelay' differ in signedness [-Wpointer-sign]
  if (trickled && (xtv = trickled_getdelay(which, len)) != NULL)
                                                  ^~~
In file included from trickle-overload.c:58:0:
trickledu.h:20:17: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'ssize_t * {aka long int *}'
 struct timeval *trickled_getdelay(short, size_t *);
                 ^~~~~~~~~~~~~~~~~
trickle-overload.c:1167:36: warning: pointer targets in passing argument 2 of 'bwstat_getdelay' differ in signedness [-Wpointer-sign]
  return (bwstat_getdelay(sd->stat, len, xlim, which));
                                    ^~~
In file included from trickle-overload.c:54:0:
bwstat.h:38:17: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'ssize_t * {aka long int *}'
 struct timeval *bwstat_getdelay(struct bwstat *, size_t *, uint, short);
                 ^~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickle-overload.c -o trickle-overload.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o bwstat.lo bwstat.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c bwstat.c  -fPIC -DPIC -o .libs/bwstat.o
bwstat.c: In function 'bwstat_getdelay':
bwstat.c:153:7: warning: variable 'initent' set but not used [-Wunused-but-set-variable]
  uint initent;
       ^~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c bwstat.c -o bwstat.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickledu.lo trickledu.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickledu.c  -fPIC -DPIC -o .libs/trickledu.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickledu.c -o trickledu.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o atomicio.lo atomicio.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c atomicio.c  -fPIC -DPIC -o .libs/atomicio.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c atomicio.c -o atomicio.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o xdr.lo xdr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c xdr.c  -fPIC -DPIC -o .libs/xdr.o
xdr.c: In function 'xdr_msg':
xdr.c:106:25: warning: passing argument 5 of 'xdr_union' from incompatible pointer type [-Wincompatible-pointer-types]
        xdr_msg_discrim, _xdr_void));
                         ^
xdr.c:15:7: note: in definition of macro 'X'
  if (!x)     \
       ^
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:315:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}'
 extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t);
               ^~~~~~~~~
xdr.c: In function 'msg2xdr':
xdr.c:116:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, *buflen, XDR_ENCODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
xdr.c: In function 'xdr2msg':
xdr.c:136:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, buflen, XDR_DECODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c xdr.c -o xdr.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -I/usr/include/tirpc -o libtmptrickle-overload.so.la                \
	-rpath /usr/local/lib/trickle trickle-overload.lo bwstat.lo trickledu.lo atomicio.lo xdr.lo -ldl     \
	-ltirpc -module -avoid-version -nostdlib -ldl
libtool: link: gcc -shared  -fPIC -DPIC  .libs/trickle-overload.o .libs/bwstat.o .libs/trickledu.o .libs/atomicio.o .libs/xdr.o   -ltirpc -ldl    -Wl,-soname -Wl,libtmptrickle-overload.so.so -o .libs/libtmptrickle-overload.so.so
libtool: link: ar cru .libs/libtmptrickle-overload.so.a  trickle-overload.o bwstat.o trickledu.o atomicio.o xdr.o
ar: `u' modifier ignored since `D' is the default (see `U')
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" )
make[1]: Leaving directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
+ ls -la
+ grep so
-rwxr-xr-x    1 root     root         42416 Apr 28 23:00 trickle-overload.so
+ make install
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o -levent  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o  -ltirpc -levent -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ltirpc -ldl
make[1]: Entering directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
 ./install-sh -c -d '/usr/local/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c trickle trickled tricklectl '/usr/local/bin'
libtool: install: /usr/bin/install -c trickle /usr/local/bin/trickle
libtool: install: /usr/bin/install -c trickled /usr/local/bin/trickled
libtool: install: /usr/bin/install -c tricklectl /usr/local/bin/tricklectl
 ./install-sh -c -d '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 trickle.1 '/usr/local/share/man/man1'
 ./install-sh -c -d '/usr/local/share/man/man5'
 /usr/bin/install -c -m 644 trickled.conf.5 '/usr/local/share/man/man5'
 ./install-sh -c -d '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 trickled.8 '/usr/local/share/man/man8'
 ./install-sh -c -d '/usr/local/lib'
 /usr/bin/install -c -m 644 ./libtrickle.so '/usr/local/lib'
install: can't stat './libtrickle.so': No such file or directory
make[1]: *** [Makefile:672: install-overloadDATA] Error 1
make[1]: Leaving directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
make: *** [Makefile:948: install-am] Error 2
The command '/bin/sh -c { set -eux;         cd /tmp;     apk add --no-cache         autoconf         automake         build-base         ca-certificates         curl         file         libevent-dev         libtirpc-dev         libtool     ;     curl -L -o trickle.tgz https://github.com/mariusae/trickle/archive/${TRICKLE_VERSION}.tar.gz;     echo "$TRICKLE_SHA256SUM  trickle.tgz" | sha256sum -c -;     tar xvzf trickle.tgz;     cd "trickle-${TRICKLE_VERSION}";     export CFLAGS=-I/usr/include/tirpc;     export LDFLAGS=-ltirpc;     autoreconf -if;     ./configure;     make;     ls -la | grep so;     make install;     rm -rf /tmp/*; }' returned a non-zero code: 2
[mgmt@tank:~/mgmt/dockerfiles/99/trickle] [pyenv] master(+840/-779)* 25s 2 ± 
[mgmt@tank:~/mgmt/dockerfiles/99/trickle] [pyenv] master(+840/-779)* 2 ± docker build . --build-arg HTTP_PROXY=http://10.11.12.26:8000
Sending build context to Docker daemon   2.56kB
Step 1/5 : FROM alpine:latest
 ---> 3fd9065eaf02
Step 2/5 : RUN apk add --no-cache     autoconf     automake     build-base     ca-certificates     curl     file     libevent-dev     libtirpc-dev     libtool ;
 ---> Using cache
 ---> 582e7fb9e355
Step 3/5 : ENV TRICKLE_VERSION=596bb13f2bc323fc8e7783b8dcba627de4969e07
 ---> Using cache
 ---> 589fc5725d84
Step 4/5 : ENV TRICKLE_SHA256SUM=a4111063d67a3330025eea2f29ebd8c8605e43cc1be0bf384b48f0eab8daf508
 ---> Using cache
 ---> 36250d040bf7
Step 5/5 : RUN { set -eux;         cd /tmp;     curl -L -o trickle.tgz https://github.com/mariusae/trickle/archive/${TRICKLE_VERSION}.tar.gz;     echo "$TRICKLE_SHA256SUM  trickle.tgz" | sha256sum -c -;     tar xvzf trickle.tgz;     cd "trickle-${TRICKLE_VERSION}";     export CFLAGS=-I/usr/include/tirpc;     export LDFLAGS=-ltirpc;     autoreconf -if;     ./configure;     make;     ls -la | grep so;     make install;     rm -rf /tmp/*; }
 ---> Running in 8940d21bd099
+ cd /tmp
+ curl -L -o trickle.tgz https://github.com/mariusae/trickle/archive/596bb13f2bc323fc8e7783b8dcba627de4969e07.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   158    0   158    0     0    632      0 --:--:-- --:--:-- --:--:--   632
100 48788  100 48788    0     0  98164      0 --:--:-- --:--:-- --:--:-- 1066k
+ echo a4111063d67a3330025eea2f29ebd8c8605e43cc1be0bf384b48f0eab8daf508  trickle.tgz
+ sha256sum -c -
trickle.tgz: OK
+ tar xvzf trickle.tgz
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/.gitignore
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/.travis.yml
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/LICENSE
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/Makefile.am
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/Makefile.am.inc
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/README.md
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/TODO
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/acconfig.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/atomicio.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/bwstat.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/bwstat.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/cleanup.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/cleanup.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/client.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/client.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/sys/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/sys/queue.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/compat/sys/tree.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/conf.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/conf.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/config.h.in
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/configure.in
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/daemon.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/err.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/getopt.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/m4/
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/m4/ax_pthread.m4
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/message.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/print.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/print.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/setenv.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/stamp-h.in
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/strlcat.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/strlcpy.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/strsep.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle-overload.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle.1
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickle.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/tricklectl.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickled.8
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickled.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickled.conf.5
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickledu.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/trickledu.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/util.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/util.h
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/xdr.c
trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07/xdr.h
+ cd trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07
+ export CFLAGS=-I/usr/include/tirpc
+ export LDFLAGS=-ltirpc
+ autoreconf -if
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: installing './compile'
configure.in:5: installing './config.guess'
configure.in:5: installing './config.sub'
configure.in:8: installing './install-sh'
configure.in:8: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dlopen in -ldl... yes
checking for err in -lc... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking if libc defines __progname... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking asm/poll.h usability... no
checking asm/poll.h presence... no
checking for asm/poll.h... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for in_addr_t... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for daemon... yes
checking for setenv... yes
checking for strsep... yes
checking for sendfile... yes
checking for libevent... yes
checking if underscores are needed for symbols... no
checking if we can access libc without dlopen... yes
checking for sendfile... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ make
make  all-am
make[1]: Entering directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickle.o trickle.c
trickle.c: In function 'main':
trickle.c:47:7: warning: variable 'latency' set but not used [-Wunused-but-set-variable]
      *latency = "0";
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o util.o util.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o getopt.o getopt.c
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o trickle trickle.o util.o getopt.o  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o trickle trickle.o util.o getopt.o  -ltirpc -ldl
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickled.o trickled.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o atomicio.o atomicio.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o print.o print.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o bwstat.o bwstat.c
bwstat.c: In function 'bwstat_getdelay':
bwstat.c:153:7: warning: variable 'initent' set but not used [-Wunused-but-set-variable]
  uint initent;
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o client.o client.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o conf.o conf.c
conf.c: In function 'conf_decode_base64':
conf.c:548:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
    if (!strcmp (buf, "=="))
                 ^~~
In file included from /usr/include/fortify/string.h:20:0,
                 from conf.c:55:
/usr/include/string.h:37:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 int strcmp (const char *, const char *);
     ^~~~~~
conf.c:564:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
     if (strcmp (buf, "="))
                 ^~~
In file included from /usr/include/fortify/string.h:20:0,
                 from conf.c:55:
/usr/include/string.h:37:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}'
 int strcmp (const char *, const char *);
     ^~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o cleanup.o cleanup.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o xdr.o xdr.c
xdr.c: In function 'xdr_msg':
xdr.c:106:25: warning: passing argument 5 of 'xdr_union' from incompatible pointer type [-Wincompatible-pointer-types]
        xdr_msg_discrim, _xdr_void));
                         ^
xdr.c:15:7: note: in definition of macro 'X'
  if (!x)     \
       ^
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:315:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}'
 extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t);
               ^~~~~~~~~
xdr.c: In function 'msg2xdr':
xdr.c:116:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, *buflen, XDR_ENCODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
xdr.c: In function 'xdr2msg':
xdr.c:136:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, buflen, XDR_DECODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o -levent  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o  -ltirpc -levent -ldl
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o tricklectl.o tricklectl.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickledu.o trickledu.c
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ltirpc -ldl
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickle-overload.lo trickle-overload.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickle-overload.c  -fPIC -DPIC -o .libs/trickle-overload.o
trickle-overload.c: In function 'read':
trickle-overload.c:688:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &xnbytes, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'readv':
trickle-overload.c:726:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &len, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'recv':
trickle-overload.c:759:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'recvfrom':
trickle-overload.c:800:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_RECV) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'write':
trickle-overload.c:834:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &xlen, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'writev':
trickle-overload.c:872:27: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(fd, &len, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                           ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'send':
trickle-overload.c:906:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'sendto':
trickle-overload.c:942:29: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  if (!(eagain = delay(sock, &xlen, TRICKLE_SEND) == TRICKLE_WOULDBLOCK)) {
                             ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'sendfile':
trickle-overload.c:1101:15: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  delay(in_fd, &inbytes, TRICKLE_RECV);
               ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c:1102:16: warning: pointer targets in passing argument 2 of 'delay' differ in signedness [-Wpointer-sign]
  delay(out_fd, &outbytes, TRICKLE_SEND);
                ^
trickle-overload.c:169:24: note: expected 'ssize_t * {aka long int *}' but argument is of type 'size_t * {aka long unsigned int *}'
 static int             delay(int, ssize_t *, short);
                        ^~~~~
trickle-overload.c: In function 'getdelay':
trickle-overload.c:1161:50: warning: pointer targets in passing argument 2 of 'trickled_getdelay' differ in signedness [-Wpointer-sign]
  if (trickled && (xtv = trickled_getdelay(which, len)) != NULL)
                                                  ^~~
In file included from trickle-overload.c:58:0:
trickledu.h:20:17: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'ssize_t * {aka long int *}'
 struct timeval *trickled_getdelay(short, size_t *);
                 ^~~~~~~~~~~~~~~~~
trickle-overload.c:1167:36: warning: pointer targets in passing argument 2 of 'bwstat_getdelay' differ in signedness [-Wpointer-sign]
  return (bwstat_getdelay(sd->stat, len, xlim, which));
                                    ^~~
In file included from trickle-overload.c:54:0:
bwstat.h:38:17: note: expected 'size_t * {aka long unsigned int *}' but argument is of type 'ssize_t * {aka long int *}'
 struct timeval *bwstat_getdelay(struct bwstat *, size_t *, uint, short);
                 ^~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickle-overload.c -o trickle-overload.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o bwstat.lo bwstat.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c bwstat.c  -fPIC -DPIC -o .libs/bwstat.o
bwstat.c: In function 'bwstat_getdelay':
bwstat.c:153:7: warning: variable 'initent' set but not used [-Wunused-but-set-variable]
  uint initent;
       ^~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c bwstat.c -o bwstat.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o trickledu.lo trickledu.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickledu.c  -fPIC -DPIC -o .libs/trickledu.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c trickledu.c -o trickledu.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o atomicio.lo atomicio.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c atomicio.c  -fPIC -DPIC -o .libs/atomicio.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c atomicio.c -o atomicio.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -I/usr/include/tirpc -c -o xdr.lo xdr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c xdr.c  -fPIC -DPIC -o .libs/xdr.o
xdr.c: In function 'xdr_msg':
xdr.c:106:25: warning: passing argument 5 of 'xdr_union' from incompatible pointer type [-Wincompatible-pointer-types]
        xdr_msg_discrim, _xdr_void));
                         ^
xdr.c:15:7: note: in definition of macro 'X'
  if (!x)     \
       ^
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:315:15: note: expected 'xdrproc_t {aka int (*)(struct __rpc_xdr *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}'
 extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t);
               ^~~~~~~~~
xdr.c: In function 'msg2xdr':
xdr.c:116:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, *buflen, XDR_ENCODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
xdr.c: In function 'xdr2msg':
xdr.c:136:23: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness [-Wpointer-sign]
  xdrmem_create(&xdrs, buf, buflen, XDR_DECODE);
                       ^~~
In file included from /usr/include/tirpc/rpc/rpc.h:43:0,
                 from xdr.c:10:
/usr/include/tirpc/rpc/xdr.h:355:15: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}'
 extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
               ^~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -Icompat -I/usr/include/tirpc -c xdr.c -o xdr.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -I/usr/include/tirpc -o libtmptrickle-overload.so.la                \
	-rpath /usr/local/lib/trickle trickle-overload.lo bwstat.lo trickledu.lo atomicio.lo xdr.lo -ldl     \
	-ltirpc -module -avoid-version -nostdlib -ldl
libtool: link: gcc -shared  -fPIC -DPIC  .libs/trickle-overload.o .libs/bwstat.o .libs/trickledu.o .libs/atomicio.o .libs/xdr.o   -ltirpc -ldl    -Wl,-soname -Wl,libtmptrickle-overload.so.so -o .libs/libtmptrickle-overload.so.so
libtool: link: ar cru .libs/libtmptrickle-overload.so.a  trickle-overload.o bwstat.o trickledu.o atomicio.o xdr.o
ar: `u' modifier ignored since `D' is the default (see `U')
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" )
make[1]: Leaving directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
+ + grepls so -la

-rwxr-xr-x    1 root     root         42416 Apr 28 23:02 trickle-overload.so
+ make install
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o -levent  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o trickled trickled.o atomicio.o print.o bwstat.o client.o conf.o util.o cleanup.o getopt.o xdr.o  -ltirpc -levent -ldl
/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -I/usr/include/tirpc  -ltirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -o tricklectl tricklectl.o trickledu.o atomicio.o xdr.o  -ltirpc -ldl
make[1]: Entering directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
 ./install-sh -c -d '/usr/local/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c trickle trickled tricklectl '/usr/local/bin'
libtool: install: /usr/bin/install -c trickle /usr/local/bin/trickle
libtool: install: /usr/bin/install -c trickled /usr/local/bin/trickled
libtool: install: /usr/bin/install -c tricklectl /usr/local/bin/tricklectl
 ./install-sh -c -d '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 trickle.1 '/usr/local/share/man/man1'
 ./install-sh -c -d '/usr/local/share/man/man5'
 /usr/bin/install -c -m 644 trickled.conf.5 '/usr/local/share/man/man5'
 ./install-sh -c -d '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 trickled.8 '/usr/local/share/man/man8'
 ./install-sh -c -d '/usr/local/lib'
 /usr/bin/install -c -m 644 ./libtrickle.so '/usr/local/lib'
install: can't stat './libtrickle.so': No such file or directory
make[1]: *** [Makefile:672: install-overloadDATA] Error 1
make[1]: Leaving directory '/tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'
make: *** [Makefile:948: install-am] Error 2
The command '/bin/sh -c { set -eux;         cd /tmp;     curl -L -o trickle.tgz https://github.com/mariusae/trickle/archive/${TRICKLE_VERSION}.tar.gz;     echo "$TRICKLE_SHA256SUM  trickle.tgz" | sha256sum -c -;     tar xvzf trickle.tgz;     cd "trickle-${TRICKLE_VERSION}";     export CFLAGS=-I/usr/include/tirpc;     export LDFLAGS=-ltirpc;     autoreconf -if;     ./configure;     make;     ls -la | grep so;     make install;     rm -rf /tmp/*; }' returned a non-zero code: 2

If I skip the make install and rm -rf /tmp/* steps, trickle looks like it works:

bash-4.4# cd /tmp/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07
bash-4.4# ./trickle -u 60 -d 30 ping google.com
PING google.com (216.58.194.174): 56 data bytes
64 bytes from 216.58.194.174: seq=0 ttl=51 time=3.411 ms

But trickled doesn't:

bash-4.4# ./trickled 
trickled: Skipping configuration file: ${prefix}/etc/trickled.conf: No such file or directory

suggestion: Add an image to the README

As someone who haven't used the software before - I'd really like to see at least a single screenshot of the program. This way I don't even know if it's CLI or GUI based.

Performance Issue: CPU usage doesn't go down

ISSUE:

  • Program CPU usage is expected to go down, when the network speed is reduced
  • It doesn't

BACKGROUND

  • Testing WAN Link in Cloud using iPerf3, through a TLS encryption tool written in Rust (Tokio/Async)
  • 70% at 3gbps
  • 70% when limited to 1gbps

LIKELY CAUSE

  • Upon write to a socket, the OS will normally quickly copy the data and return
  • Trickle doesn't copy the data and return, instead when it needs to limit the speed, it sleeps

Can't install, Centos8

[root@localhost ~]# cd trickle-master/
[root@localhost trickle-master]# make
make  all-am
make[1]: 进入目录“/root/trickle-master”
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o xdr.o xdr.c
xdr.c:10:10: 致命错误:rpc/rpc.h:No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
编译中断。
make[1]: *** [Makefile:525:xdr.o] 错误 1
make[1]: 离开目录“/root/trickle-master”
make: *** [Makefile:403:all] 错误 2
[root@localhost trickle-master]# cd ..
[root@localhost ~]# rm -rf trickle-master
[root@localhost ~]# git clone https://ghproxy.com/github.com/mariusae/trickle.git
正克隆到 'trickle'...
remote: Enumerating objects: 127, done.
remote: Total 127 (delta 0), reused 0 (delta 0), pack-reused 127
接收对象中: 100% (127/127), 533.99 KiB | 382.00 KiB/s, 完成.
处理 delta 中: 100% (36/36), 完成.
[root@localhost ~]# cd trickle/
[root@localhost trickle]# autoreconf -if
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: installing './compile'
configure.in:5: installing './config.guess'
configure.in:5: installing './config.sub'
configure.in:8: installing './install-sh'
configure.in:8: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
[root@localhost trickle]# ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dlopen in -ldl... yes
checking for err in -lc... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking if libc defines __progname... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking asm/poll.h usability... yes
checking asm/poll.h presence... yes
checking for asm/poll.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for in_addr_t... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for strlcat... no
checking for strlcpy... no
checking for daemon... yes
checking for setenv... yes
checking for strsep... yes
checking for sendfile... yes
checking for libevent... yes
checking if underscores are needed for symbols... no
checking if we can access libc without dlopen... yes
checking for sendfile... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[root@localhost trickle]# make
make  all-am
make[1]: 进入目录“/root/trickle”
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o trickle.o trickle.c
trickle.c: 在函数‘main’中:
trickle.c:47:7: 警告:变量‘latency’被设定但未被使用 [-Wunused-but-set-variable]
      *latency = "0";
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o util.o util.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o getopt.o getopt.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o strlcat.o strlcat.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o strlcpy.o strlcpy.c
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -g -O2   -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o -ldl
libtool: link: gcc -Wall -Icompat -g -O2 -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o  -ldl
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o trickled.o trickled.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o atomicio.o atomicio.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o print.o print.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o bwstat.o bwstat.c
bwstat.c: 在函数‘bwstat_getdelay’中:
bwstat.c:153:7: 警告:变量‘initent’被设定但未被使用 [-Wunused-but-set-variable]
  uint initent;
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o client.o client.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o conf.o conf.c
conf.c: 在函数‘conf_decode_base64’中:
conf.c:548:17: 警告:传递‘strcmp’的第 1 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
    if (!strcmp (buf, "=="))
                 ^~~
In file included from conf.c:55:
/usr/include/string.h:137:12: 附注:需要类型‘const char *’,但实参的类型为‘u_char *’ {或称 ‘unsigned char *’}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
conf.c:564:17: 警告:传递‘strcmp’的第 1 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
     if (strcmp (buf, "="))
                 ^~~
In file included from conf.c:55:
/usr/include/string.h:137:12: 附注:需要类型‘const char *’,但实参的类型为‘u_char *’ {或称 ‘unsigned char *’}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o cleanup.o cleanup.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o xdr.o xdr.c
xdr.c:10:10: 致命错误:rpc/rpc.h:No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
编译中断。
make[1]: *** [Makefile:525:xdr.o] 错误 1
make[1]: 离开目录“/root/trickle”
make: *** [Makefile:403:all] 错误 2
[root@localhost trickle]# su
bash-4.4# make install
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o xdr.o xdr.c
xdr.c:10:10: 致命错误:rpc/rpc.h:No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
编译中断。
make: *** [Makefile:525:xdr.o] 错误 1
bash-4.4# 

ERROR: ld.so: object

get the error in Elementary OS Freya (running on Ubuntu 14.04), 64-bit.

Ran: trickle -s -d 10 -u 10 skype

Got the error:
ERROR: ld.so: object '/usr/lib/trickle/trickle-overload.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.