=> Building net/pipsecd Started : Saturday, 21 JUL 2018 at 20:25:16 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 pipsecd-19991014_4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/pipsecd XDG_CONFIG_HOME=/construction/net/pipsecd HOME=/construction/net/pipsecd TMPDIR="/tmp" PATH=/construction/net/pipsecd/.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/pipsecd XDG_CONFIG_HOME=/construction/net/pipsecd HOME=/construction/net/pipsecd TMPDIR="/tmp" PATH=/construction/net/pipsecd/.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/pipsecd/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/pipsecd" EXAMPLESDIR="share/examples/pipsecd" DATADIR="share/pipsecd" WWWDIR="www/pipsecd" ETCDIR="etc/pipsecd" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pipsecd DOCSDIR=/usr/local/share/doc/pipsecd EXAMPLESDIR=/usr/local/share/examples/pipsecd WWWDIR=/usr/local/www/pipsecd ETCDIR=/usr/local/etc/pipsecd -------------------------------------------------- -- /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 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> pipsecd-19991014_4 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 ===> pipsecd-19991014_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pipsecd-19991014_4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by pipsecd-19991014_4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by pipsecd-19991014_4 for building => SHA256 Checksum OK for pipsec-19991014.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by pipsecd-19991014_4 for building ===> Extracting for pipsecd-19991014_4 => SHA256 Checksum OK for pipsec-19991014.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for pipsecd-19991014_4 ===> Applying ports patches for pipsecd-19991014_4 ===> Applying dragonfly patches for pipsecd-19991014_4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> pipsecd-19991014_4 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 ===> pipsecd-19991014_4 depends on file: /usr/local/lib/libcrypto.so.43 - found ===> Returning to build of pipsecd-19991014_4 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for pipsecd-19991014_4 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for pipsecd-19991014_4 --- pipsecd --- cc -Wall -I/usr/local/include/openssl -I/usr/local/include -I/usr/local/include -g -pipe -O2 -fno-strict-aliasing -o pipsecd tunip.c -L/usr/local/lib -lcrypto -DFILE_PREFIX=\"/usr/local\" tunip.c:374:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^ tunip.c:374:5: note: (near initialization for 'hash_md5.hash_Init') tunip.c:374:15: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^ tunip.c:374:15: note: (near initialization for 'hash_md5.hash_Update') tunip.c:374:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^ tunip.c:374:27: note: (near initialization for 'hash_md5.hash_Final') tunip.c:379:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^ tunip.c:379:5: note: (near initialization for 'hash_sha1.hash_Init') tunip.c:379:16: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^ tunip.c:379:16: note: (near initialization for 'hash_sha1.hash_Update') tunip.c:379:29: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^ tunip.c:379:29: note: (near initialization for 'hash_sha1.hash_Final') tunip.c:384:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^ tunip.c:384:5: note: (near initialization for 'hash_ripemd160.hash_Init') tunip.c:384:21: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^ tunip.c:384:21: note: (near initialization for 'hash_ripemd160.hash_Update') tunip.c:384:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^ tunip.c:384:39: note: (near initialization for 'hash_ripemd160.hash_Final') tunip.c: In function 'find_encap': tunip.c:494:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(encap_meth[i].name, name) == 0) ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:494:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(encap_meth[i].name, name) == 0) ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c: In function 'find_crypt': tunip.c:506:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(cp->name, name) == 0) ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c: In function 'find_hash': tunip.c:518:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(hp->name, name) == 0) ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c: In function 'encap_udp_recv': tunip.c:535:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^ In file included from tunip.c:32: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, ^ tunip.c: In function 'encap_rawip_recv': tunip.c:566:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^ In file included from tunip.c:32: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, ^ tunip.c: In function 'encap_icmp_recv': tunip.c:616:40: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^ In file included from tunip.c:32: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, ^ tunip.c: In function 'tun_send_ip': tunip.c:714:15: warning: unused variable 'i' [-Wunused-variable] int sent, i; ^ tunip.c: In function 'encap_udp_new': tunip.c:763:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encap->name = "udp"; ^ tunip.c: In function 'encap_ah_new': tunip.c:794:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encap->name = "ipah"; ^ tunip.c: In function 'encap_esp_new': tunip.c:825:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encap->name = "ipesp"; ^ tunip.c: In function 'encap_icmp_new': tunip.c:856:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] encap->name = "icmp"; ^ tunip.c: In function 'find_local_addr': tunip.c:901:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)source, &addrlen) == -1) { ^ In file included from tunip.c:32: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); ^ tunip.c: In function 'parse_secret': tunip.c:948:22: warning: format '%c' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] syslog(LOG_ERR, "illegal hex character '%c'", c); ^ tunip.c:960:22: warning: format '%c' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] syslog(LOG_ERR, "illegal hex character '%c'", c); ^ tunip.c: In function 'config_read': tunip.c:989:18: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(line, sizeof line, cf) != NULL) { ^ In file included from tunip.c:37:0: /usr/include/stdio.h:197:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *fgets(char * __restrict, int, FILE * __restrict); ^ tunip.c:992:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] line[strlen(line)-1] = '\0'; ^ In file included from tunip.c:51:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ tunip.c:996:18: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ In file included from tunip.c:51:0: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^ tunip.c:996:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1000:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); ^ In file included from tunip.c:51:0: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^ tunip.c:1000:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); ^ tunip.c:1006:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "sa") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1040:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ In file included from tunip.c:51:0: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^ tunip.c:1040:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1043:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ In file included from tunip.c:51:0: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^ tunip.c:1043:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ tunip.c:1048:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] arg2 = ""; ^ tunip.c:1049:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "enc") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1056:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "noiv") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1058:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "dest") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1059:26: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] he = gethostbyname(arg2); ^ In file included from tunip.c:49:0: /usr/include/netdb.h:248:17: note: expected 'const char *' but argument is of type 'unsigned char *' struct hostent *gethostbyname(const char *); ^ tunip.c:1087:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "ekey") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1093:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "akey") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1099:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "spi") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1100:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] sa->spi = atoi(arg2); ^ In file included from tunip.c:50:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ tunip.c:1101:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "auth") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1137:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "if") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1143:16: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(arg2, O_RDWR); ^ In file included from tunip.c:36:0: /usr/include/fcntl.h:315:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^ tunip.c:1145:10: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] perror(arg); ^ In file included from tunip.c:37:0: /usr/include/stdio.h:215:7: note: expected 'const char *' but argument is of type 'unsigned char *' void perror(const char *); ^ tunip.c:1160:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ In file included from tunip.c:51:0: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^ tunip.c:1160:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1163:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ In file included from tunip.c:51:0: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^ tunip.c:1163:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ tunip.c:1168:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] arg2 = ""; ^ tunip.c:1169:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "local_spi") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1170:32: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] unsigned long spi = atoi(arg2); ^ In file included from tunip.c:50:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ tunip.c:1177:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "remote_spi") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1178:32: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] unsigned long spi = atoi(arg2); ^ In file included from tunip.c:50:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ tunip.c:1207:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "keepalive_recv") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1208:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] keepalive_recv = atoi(arg2); ^ In file included from tunip.c:50:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ tunip.c:1209:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "keepalive_send") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1210:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] keepalive_send = atoi(arg2); ^ In file included from tunip.c:50:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ tunip.c:1211:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "checkifaddr") == 0) { ^ In file included from tunip.c:51:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^ tunip.c:1212:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] check_ifaddr = atoi(arg2); ^ In file included from tunip.c:50:0: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ tunip.c: In function 'hmac_compute': tunip.c:1291:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, (char *)k_ipad, 64); ^ tunip.c:1291:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c:1297:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, (char *)k_opad, 64); ^ tunip.c:1297:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c: In function 'hmac_udp_compute': tunip.c:1358:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, ":::", 3); ^ tunip.c:1358:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c: In function 'my_des_cbc_encrypt': tunip.c:2027:42: warning: passing argument 5 of 'DES_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] DES_cbc_encrypt(t, t, len, &ek->des, iv, DES_ENCRYPT); ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:121:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_cbc_encrypt(const unsigned char *input,unsigned char *output, ^ tunip.c: In function 'my_des_cbc_decrypt': tunip.c:2039:44: warning: passing argument 5 of 'DES_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] DES_cbc_encrypt(ct, ct, len, &dk->des, iv, DES_DECRYPT); ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:121:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_cbc_encrypt(const unsigned char *input,unsigned char *output, ^ tunip.c: In function 'my_des_setkey': tunip.c:2050:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] return DES_set_key(b, &k->des); ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:201:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); ^ tunip.c: In function 'my_des3_cbc_encrypt': tunip.c:2059:5: warning: passing argument 7 of 'DES_ede3_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] iv, DES_ENCRYPT); ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:159:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ede3_cbc_encrypt(const unsigned char *input,unsigned char *output, ^ tunip.c: In function 'my_des3_cbc_decrypt': tunip.c:2067:5: warning: passing argument 7 of 'DES_ede3_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] iv, DES_DECRYPT); ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:159:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ede3_cbc_encrypt(const unsigned char *input,unsigned char *output, ^ tunip.c: In function 'my_des3_setkey': tunip.c:2075:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b, &k->des3.k1) != 0) ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:201:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); ^ tunip.c:2077:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b+8, &k->des3.k2) != 0) ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:201:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); ^ tunip.c:2079:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b+16, &k->des3.k3) != 0) ^ In file included from tunip.c:62:0: /usr/local/include/openssl/des.h:201:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); ^ tunip.c: In function 'main': tunip.c:2127:22: warning: passing argument 2 of 'tun_new' makes integer from pointer without a cast [-Wint-conversion] tun_new(&tm_tun, NULL, 0); ^ tunip.c:702:6: note: expected 'unsigned int' but argument is of type 'void *' void tun_new(struct tun_method *this, ^ tunip.c:2321:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] syslog(LOG_DEBUG, "received update probe from peer %d", ^ -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> pipsecd-19991014_4 depends on file: /usr/local/lib/libcrypto.so.43 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for pipsecd-19991014_4 ===> Generating temporary packing list install -s -m 555 /construction/net/pipsecd/pipsec-19991014/pipsecd /construction/net/pipsecd/stage/usr/local/sbin install -m 0644 /construction/net/pipsecd/pipsec-19991014/pipsecd.sh /construction/net/pipsecd/stage/usr/local/etc/rc.d /bin/mkdir -p /construction/net/pipsecd/stage/usr/local/etc/ipsec install -m 0644 /construction/net/pipsecd/pipsec-19991014/pipsecd.conf.sample /construction/net/pipsecd/stage/usr/local/etc/ipsec /bin/mkdir -p /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd install -m 0644 /construction/net/pipsecd/pipsec-19991014/README /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd install -m 0644 /construction/net/pipsecd/pipsec-19991014/COPYRIGHT /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd install -m 0644 /construction/net/pipsecd/pipsec-19991014/README.port /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for pipsecd-19991014_4 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 21 JUL 2018 at 20:25:23 UTC Duration: 00:00:07