=> Building net/l4ip Started : Saturday, 21 JUL 2018 at 20:12:02 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for l4ip-1.0.294_1: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/net/l4ip XDG_CONFIG_HOME=/construction/net/l4ip HOME=/construction/net/l4ip TMPDIR="/tmp" PATH=/construction/net/l4ip/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net/l4ip XDG_CONFIG_HOME=/construction/net/l4ip HOME=/construction/net/l4ip TMPDIR="/tmp" PATH=/construction/net/l4ip/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/l4ip/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/l4ip" EXAMPLESDIR="share/examples/l4ip" DATADIR="share/l4ip" WWWDIR="www/l4ip" ETCDIR="etc/l4ip" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/l4ip DOCSDIR=/usr/local/share/doc/l4ip EXAMPLESDIR=/usr/local/share/examples/l4ip WWWDIR=/usr/local/www/l4ip ETCDIR=/usr/local/etc/l4ip -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The l4ip port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License NONE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> l4ip-1.0.294_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> l4ip-1.0.294_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of l4ip-1.0.294_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The l4ip port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License NONE accepted by the user ===> Fetching all distfiles required by l4ip-1.0.294_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The l4ip port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License NONE accepted by the user ===> Fetching all distfiles required by l4ip-1.0.294_1 for building => SHA256 Checksum OK for l4ip-v1.0.b294.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The l4ip port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License NONE accepted by the user ===> Fetching all distfiles required by l4ip-1.0.294_1 for building ===> Extracting for l4ip-1.0.294_1 => SHA256 Checksum OK for l4ip-v1.0.b294.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for l4ip-1.0.294_1 ===> Applying ports patches for l4ip-1.0.294_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> l4ip-1.0.294_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_2: .......... done ===> l4ip-1.0.294_1 depends on executable: gmake - found ===> Returning to build of l4ip-1.0.294_1 ===> l4ip-1.0.294_1 depends on file: /usr/local/lib/libcrypto.so.43 - not found ===> Installing existing package /packages/All/libressl-2.7.4.txz Installing libressl-2.7.4... Extracting libressl-2.7.4: .......... done ===> l4ip-1.0.294_1 depends on file: /usr/local/lib/libcrypto.so.43 - found ===> Returning to build of l4ip-1.0.294_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for l4ip-1.0.294_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for l4ip-1.0.294_1 gmake[1]: Entering directory '/construction/net/l4ip/l4ip/src' Making dependencies for sense.c... Making dependencies for run.c... Making dependencies for log.c... Making dependencies for nat.c... Making dependencies for service.c... Making dependencies for cluster.c... Making dependencies for debug.c... Making dependencies for conf.c... Making dependencies for main.c... cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL main.c -o main.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL conf.c -o conf.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL debug.c -o debug.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL cluster.c -o cluster.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL service.c -o service.o conf.c: In function 'conf_init': conf.c:34:15: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] conf_file = strdup(CONF_DEFAULT_FILE); ^ conf.c:34:15: warning: incompatible implicit declaration of built-in function 'strdup' conf.c: In function 'url_decode': conf.c:89:11: warning: incompatible implicit declaration of built-in function 'strdup' result = strdup(s); ^ conf.c: In function 'conf_read': conf.c:312:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] int_variable = &conf_sense_enabled; ^ conf.c:455:9: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] r = strchr(token, ':'); ^ conf.c:455:9: warning: incompatible implicit declaration of built-in function 'strchr' conf.c:455:9: note: include '' or provide a declaration of 'strchr' conf.c:462:29: warning: incompatible implicit declaration of built-in function 'strdup' cluster->listen_ip = strdup(token); ^ conf.c:465:27: warning: incompatible implicit declaration of built-in function 'strdup' cluster->bind_ip = strdup(token); ^ conf.c:479:6: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(tmp, 0, sizeof(*tmp)); ^ conf.c:479:6: warning: incompatible implicit declaration of built-in function 'memset' conf.c:479:6: note: include '' or provide a declaration of 'memset' conf.c:480:18: warning: incompatible implicit declaration of built-in function 'strdup' tmp->ip = strdup(token); ^ conf.c:524:6: warning: incompatible implicit declaration of built-in function 'memset' memset(tester, 0, sizeof(*tester)); ^ conf.c:524:6: note: include '' or provide a declaration of 'memset' In file included from conf.c:6:0: ../lion/misc.h:15:56: warning: incompatible implicit declaration of built-in function 'strdup' #define SAFE_COPY(X, Y) { SAFE_FREE(X); if ((Y)) (X) = strdup((Y)); } ^ conf.c:574:5: note: in expansion of macro 'SAFE_COPY' SAFE_COPY(*variable, token); ^ service.c: In function 'service_handler_run': service.c:461:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] service_script(cluster, member, SCRIPT_RUNEXIT, (char *) size); ^ service.c: In function 'service_script': service.c:852:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) line, member->handle); ^ service.c:867:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)line!=atoi(cluster->testers[ member->script_pos ].line)) { ^ service.c:870:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) line); ^ service.c:722:2: warning: enumeration value 'SCRIPT_TYPE_EXPECTCMD' not handled in switch [-Wswitch] switch(type) { ^ service.c:722:2: warning: enumeration value 'SCRIPT_TYPE_RUNSEND' not handled in switch [-Wswitch] main.c: In function 'hup_interrupt': main.c:66:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGHUP, hup_interrupt); ^ In file included from /usr/include/signal.h:38:0, from main.c:3: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal (int, __sighandler_t *); ^ main.c: In function 'info_interrupt': main.c:75:18: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGUSR1, info_interrupt); ^ In file included from /usr/include/signal.h:38:0, from main.c:3: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal (int, __sighandler_t *); ^ main.c: In function 'main': main.c:89:18: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGINT, exit_interrupt); ^ In file included from /usr/include/signal.h:38:0, from main.c:3: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal (int, __sighandler_t *); ^ main.c:90:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGTERM, int_interrupt); ^ In file included from /usr/include/signal.h:38:0, from main.c:3: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal (int, __sighandler_t *); ^ main.c:92:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGHUP, hup_interrupt); ^ In file included from /usr/include/signal.h:38:0, from main.c:3: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal (int, __sighandler_t *); ^ main.c:93:18: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGUSR1, info_interrupt); ^ In file included from /usr/include/signal.h:38:0, from main.c:3: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal (int, __sighandler_t *); ^ In file included from main.c:8:0: main.c: In function 'arguments': ../lion/misc.h:17:42: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] #define SAFE_DUPE(X, Y) { if ((Y)) (X) = strdup((Y)); else (X) = NULL; } ^ main.c:268:4: note: in expansion of macro 'SAFE_DUPE' SAFE_DUPE(conf_file, optarg); ^ ../lion/misc.h:17:42: warning: incompatible implicit declaration of built-in function 'strdup' #define SAFE_DUPE(X, Y) { if ((Y)) (X) = strdup((Y)); else (X) = NULL; } ^ main.c:268:4: note: in expansion of macro 'SAFE_DUPE' SAFE_DUPE(conf_file, optarg); ^ cluster.c: In function 'cluster_newnode': cluster.c:31:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(node, 0, sizeof(*node)); ^ cluster.c:31:2: warning: incompatible implicit declaration of built-in function 'memset' cluster.c:31:2: note: include '' or provide a declaration of 'memset' cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL nat.c -o nat.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL log.c -o log.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL run.c -o run.o In file included from nat.c:28:0: nat.c: In function 'nat_init': ../lion/misc.h:15:56: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] #define SAFE_COPY(X, Y) { SAFE_FREE(X); if ((Y)) (X) = strdup((Y)); } ^ nat.c:96:3: note: in expansion of macro 'SAFE_COPY' SAFE_COPY(conf_ipnat_cmd, NAT_IPNAT_CMD); ^ ../lion/misc.h:15:56: warning: incompatible implicit declaration of built-in function 'strdup' #define SAFE_COPY(X, Y) { SAFE_FREE(X); if ((Y)) (X) = strdup((Y)); } ^ nat.c:96:3: note: in expansion of macro 'SAFE_COPY' SAFE_COPY(conf_ipnat_cmd, NAT_IPNAT_CMD); ^ nat.c: In function 'nat_add': nat.c:387:7: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration] strerror(errno)); ^ run.c: In function 'run_command': run.c:71:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(args, cmd, sizeof(args)); ^ run.c:71:2: warning: incompatible implicit declaration of built-in function 'strncpy' run.c:71:2: note: include '' or provide a declaration of 'strncpy' cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL sense.c -o sense.o gmake DEFINES="-DPOSIX -D"NAT_IPNAT_CMD=\"`which ipnat`\"" -DWITH_SSL" CFLAGS="-Wall -g -I../lion -I/usr/local/include" -C ../lion gmake[2]: Entering directory '/construction/net/l4ip/l4ip/lion' Making dependencies for tls.c... Making dependencies for lfnmatch.c... Making dependencies for udp.c... Making dependencies for lgroup.c... Making dependencies for misc.c... Making dependencies for pipe.c... Making dependencies for file.c... Making dependencies for base64.c... Making dependencies for zlib.c... Making dependencies for io.c... Making dependencies for connections.c... Making dependencies for sockets.c... Making dependencies for lion.c... cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL lion.c -o lion.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL sockets.c -o sockets.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL connections.c -o connections.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL io.c -o io.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL zlib.c -o zlib.o io.c: In function 'io_process_fdset_sub': io.c:888:33: warning: pointer targets in passing argument 2 of 'sockets_read' differ in signedness [-Wpointer-sign] sockets_read( node->socket, node->buffer, 1 ); ^ In file included from io.c:48:0: sockets.h:33:6: note: expected 'unsigned char *' but argument is of type 'char *' int sockets_read(int fd, unsigned char *buffer, unsigned int len); ^ sockets.c: In function 'sockets_make': sockets.c:255:59: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname(new_socket, (struct sockaddr *) &local_sin, &option_arg); ^ In file included from sockets.c:27:0: /usr/include/sys/socket.h:492:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ sockets.c: In function 'sockets_accept': sockets.c:291:57: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] new_socket = accept(sock, (struct sockaddr *)&from, &len); ^ In file included from sockets.c:27:0: /usr/include/sys/socket.h:485:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ sockets.c: In function 'sockets_pasv': sockets.c:714:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pp = strchr(line, '('); ^ sockets.c:718:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pp = line; ^ sockets.c:721:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(&pp[0], "%u,%u,%u,%u,%u,%u", &IPA[0], &IPA[1], &IPA[2], &IPA[3], ^ io.c: In function 'lion_send': In file included from sockets.c:6:0: /usr/include/stdio.h:228:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int sscanf(const char * __restrict, const char * __restrict, ...) ^ io.c:2188:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] state.next_in = buffer; ^ io.c:2191:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] state.next_out = msg; ^ io.c:2217:19: warning: pointer targets in passing argument 1 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode( msg, new_len, &buffer[4] ); ^ In file included from io.c:2109:0: base64.h:7:9: note: expected 'const unsigned char *' but argument is of type 'char *' void base64_encode (const unsigned char *, int, unsigned char *); ^ io.c:2217:33: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode( msg, new_len, &buffer[4] ); ^ In file included from io.c:2109:0: base64.h:7:9: note: expected 'unsigned char *' but argument is of type 'char *' void base64_encode (const unsigned char *, int, unsigned char *); ^ sockets.c: In function 'sockets_getsockname': sockets.c:785:48: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&par, &len) < 0) { ^ In file included from sockets.c:27:0: /usr/include/sys/socket.h:492:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ sockets.c: In function 'sockets_getpeername': sockets.c:810:48: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&par, &len) < 0) { ^ In file included from sockets.c:27:0: /usr/include/sys/socket.h:491:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ io.c: In function 'io_read': io.c:2298:40: warning: pointer targets in passing argument 2 of 'sockets_read' differ in signedness [-Wpointer-sign] result = sockets_read(node->socket, buffer, size); ^ In file included from io.c:48:0: sockets.h:33:6: note: expected 'unsigned char *' but argument is of type 'char *' int sockets_read(int fd, unsigned char *buffer, unsigned int len); ^ io.c:2311:21: warning: pointer targets in passing argument 1 of 'BF_cfb64_encrypt' differ in signedness [-Wpointer-sign] BF_cfb64_encrypt(buffer, ^ In file included from connections.h:18:0, from io.c:47: /usr/local/include/openssl/blowfish.h:102:6: note: expected 'const unsigned char *' but argument is of type 'char *' void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, ^ io.c:2312:9: warning: pointer targets in passing argument 2 of 'BF_cfb64_encrypt' differ in signedness [-Wpointer-sign] buffer, ^ In file included from connections.h:18:0, from io.c:47: /usr/local/include/openssl/blowfish.h:102:6: note: expected 'unsigned char *' but argument is of type 'char *' void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, ^ io.c:2324:43: warning: pointer targets in passing argument 2 of 'sockets_recvfrom' differ in signedness [-Wpointer-sign] result = sockets_recvfrom(node->socket, buffer, size, ^ In file included from io.c:48:0: sockets.h:52:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockets_recvfrom(int, unsigned char *, unsigned int, ^ io.c: In function 'io_write': sockets.c: In function 'sockets_udp': io.c:2398:40: warning: pointer targets in passing argument 2 of 'sockets_write' differ in signedness [-Wpointer-sign] sent = sockets_write( node->socket, buffer, size); ^ In file included from io.c:48:0: sockets.h:34:6: note: expected 'unsigned char *' but argument is of type 'char *' int sockets_write(int fd, unsigned char *buffer, unsigned int len); ^ sockets.c:1114:58: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname(new_socket, (struct sockaddr *) &local_sin, &option_arg); ^ In file included from sockets.c:27:0: /usr/include/sys/socket.h:492:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ io.c:2411:21: warning: pointer targets in passing argument 1 of 'BF_cfb64_encrypt' differ in signedness [-Wpointer-sign] BF_cfb64_encrypt(buffer, ^ In file included from connections.h:18:0, from io.c:47: /usr/local/include/openssl/blowfish.h:102:6: note: expected 'const unsigned char *' but argument is of type 'char *' void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, ^ io.c:2412:9: warning: pointer targets in passing argument 2 of 'BF_cfb64_encrypt' differ in signedness [-Wpointer-sign] buffer, ^ In file included from connections.h:18:0, from io.c:47: /usr/local/include/openssl/blowfish.h:102:6: note: expected 'unsigned char *' but argument is of type 'char *' void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, ^ sockets.c: In function 'sockets_recvfrom': sockets.c:1145:68: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] result = recvfrom(fd, buffer, size, 0, (struct sockaddr *)&from, &len); ^ io.c:2434:40: warning: pointer targets in passing argument 2 of 'sockets_sendto' differ in signedness [-Wpointer-sign] sent = sockets_sendto( node->socket, buffer, size, ^ In file included from sockets.c:27:0: /usr/include/sys/socket.h:496:9: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^ In file included from io.c:48:0: sockets.h:54:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockets_sendto(int, unsigned char *, unsigned int, ^ io.c: In function 'io_input': io.c:2622:28: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] new_len = base64_decode(&line[4], decode, strlen( &line[4] )); ^ In file included from io.c:2109:0: base64.h:6:9: note: expected 'unsigned char *' but argument is of type 'char *' int base64_decode (unsigned char *, unsigned char *, int); ^ io.c:2622:38: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] new_len = base64_decode(&line[4], decode, strlen( &line[4] )); ^ In file included from io.c:2109:0: base64.h:6:9: note: expected 'unsigned char *' but argument is of type 'char *' int base64_decode (unsigned char *, unsigned char *, int); ^ io.c:2646:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] state.next_in = decode; ^ io.c:2649:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] state.next_out = large; ^ cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL base64.c -o base64.o base64.c: In function 'base64_encode': base64.c:25:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = encoded; ^ cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL file.c -o file.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL pipe.c -o pipe.o pipe.c: In function 'lion_child_starter': pipe.c:196:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^ pipe.c: In function 'pipe_signal_sub': pipe.c:516:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (node->pid == (int) arg1) ^ pipe.c: In function 'pipe_signal_child': pipe.c:561:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] node = connections_find(pipe_signal_sub, (void *) pid, NULL); ^ cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL misc.c -o misc.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL lgroup.c -o lgroup.o lion.c: In function 'lion_ssl_setkey': lion.c:720:35: warning: pointer targets in passing argument 3 of 'BF_set_key' differ in signedness [-Wpointer-sign] BF_set_key(&handle->bf_key, len, key); ^ In file included from connections.h:18:0, from lion.c:45: /usr/local/include/openssl/blowfish.h:93:6: note: expected 'const unsigned char *' but argument is of type 'char *' void BF_set_key(BF_KEY *key, int len, const unsigned char *data); ^ lgroup.c: In function 'lgroup_new': lgroup.c:70:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset( &newg[ lgroup_allocated ], 0, ^ lgroup.c:70:3: warning: incompatible implicit declaration of built-in function 'memset' lgroup.c:70:3: note: include '' or provide a declaration of 'memset' cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL udp.c -o udp.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL lfnmatch.c -o lfnmatch.o cc -c -Wall -g -I../lion -I/usr/local/include -DPOSIX -DNAT_IPNAT_CMD="" -DWITH_SSL tls.c -o tls.o tls.c: In function 'tls_init': tls.c:53:6: warning: unused variable 'egdbytes' [-Wunused-variable] int egdbytes, status; ^ tls.c: In function 'tls_cont_auth': tls.c:297:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(node->ctx); ^ tls.c: In function 'tls_cont_clauth': tls.c:584:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(node->ctx); ^ tls.c: In function 'tls_peek': tls.c:684:35: warning: pointer targets in passing argument 2 of 'sockets_peek' differ in signedness [-Wpointer-sign] ret = sockets_peek(node->socket, &buffer, 1); ^ In file included from tls.c:25:0: sockets.h:48:5: note: expected 'unsigned char *' but argument is of type 'char *' int sockets_peek(int fd, unsigned char *buffer, unsigned int len); ^ ar rv liblion.a lion.o sockets.o connections.o io.o zlib.o base64.o file.o pipe.o misc.o lgroup.o udp.o lfnmatch.o tls.o /usr/libexec/binutils227/elf/ar: creating liblion.a a - lion.o a - sockets.o a - connections.o a - io.o a - zlib.o a - base64.o a - file.o a - pipe.o a - misc.o a - lgroup.o a - udp.o a - lfnmatch.o a - tls.o gmake[2]: Leaving directory '/construction/net/l4ip/l4ip/lion' cc -Wl,-rpath,/usr/local/lib -L../lion -L/usr/local/lib -Wall -g -I../lion -I/usr/local/include main.o conf.o debug.o cluster.o service.o nat.o log.o run.o sense.o -llion -lssl -lcrypto -o l4ip /bin/sh: build: not found Ignore above _build_ failure gmake[1]: Leaving directory '/construction/net/l4ip/l4ip/src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> l4ip-1.0.294_1 depends on file: /usr/local/lib/libcrypto.so.43 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for l4ip-1.0.294_1 ===> Generating temporary packing list install -s -m 555 /construction/net/l4ip/l4ip/src/l4ip /construction/net/l4ip/stage/usr/local/sbin install -m 0644 /construction/net/l4ip/l4ip/src/l4ip.conf /construction/net/l4ip/stage/usr/local/etc/l4ip.conf.sample install /construction/net/l4ip/l4ip/src/../samples/*.conf /construction/net/l4ip/stage/usr/local/share/examples/l4ip ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for l4ip-1.0.294_1 file sizes/checksums [14]: . done packing files [14]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 21 JUL 2018 at 20:12:09 UTC Duration: 00:00:06