=> Building net/srelay Started : Friday, 8 MAR 2019 at 02:58:27 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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 -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/srelay XDG_CONFIG_HOME=/construction/net/srelay HOME=/construction/net/srelay TMPDIR="/tmp" PATH=/construction/net/srelay/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/srelay XDG_CONFIG_HOME=/construction/net/srelay HOME=/construction/net/srelay TMPDIR="/tmp" PATH=/construction/net/srelay/.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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " 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/srelay/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/srelay" EXAMPLESDIR="share/examples/srelay" DATADIR="share/srelay" WWWDIR="www/srelay" ETCDIR="etc/srelay" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/srelay DOCSDIR=/usr/local/share/doc/srelay EXAMPLESDIR=/usr/local/share/examples/srelay WWWDIR=/usr/local/www/srelay ETCDIR=/usr/local/etc/srelay -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> srelay-0.4.8p1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> srelay-0.4.8p1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of srelay-0.4.8p1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by srelay-0.4.8p1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by srelay-0.4.8p1 for building => SHA256 Checksum OK for srelay-0.4.8p1.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by srelay-0.4.8p1 for building ===> Extracting for srelay-0.4.8p1 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by srelay-0.4.8p1 for building => SHA256 Checksum OK for srelay-0.4.8p1.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for srelay-0.4.8p1 /usr/bin/sed -i.bak -e 's/freebsd\*/freebsd*|dragonfly*/g' /construction/net/srelay/srelay-0.4.8p1/configure ===> Applying dragonfly patches for srelay-0.4.8p1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for srelay-0.4.8p1 checking build system type... x86_64-unknown-dragonfly5.5 checking host system type... x86_64-unknown-dragonfly5.5 checking target system type... x86_64-unknown-dragonfly5.5 checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for hosts_ctl in -lwrap... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking whether enabling thread... yes checking for crypt in -lcrypt... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for socklen_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking whether time.h and sys/time.h may both be included... yes checking for struct sockaddr_dl.sdl_family... yes checking for struct sockaddr.sa_len... yes checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for freeaddrinfo... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for srelay-0.4.8p1 --- init.o --- --- readconf.o --- --- util.o --- --- socks.o --- --- relay.o --- --- init.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c init.c --- readconf.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c readconf.c readconf.c: In function 'str_to_addr': readconf.c:359:7: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy((char *)dest->fqdn, addr, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c:357:16: note: length computed here if ((len = strlen(addr)) > 0 && len < 256) { ^~~~~~~~~~~~ --- util.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c util.c --- socks.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c socks.c --- relay.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c relay.c --- init.o --- init.c: In function 'serv_init': init.c:128:44: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(tmp_str_serv_sock, hbuf, sizeof(hbuf)); ^ init.c:136:44: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncat(tmp_str_serv_sock, sbuf, sizeof(sbuf)); ^ init.c:135:5: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(tmp_str_serv_sock, "_", strlen("_")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- relay.o --- relay.c: In function 'relay_tcp': relay.c:317:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ relay.c:318:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' li.bc += wc; li.dnl += wc; ^~ relay.c:326:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ relay.c:327:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' li.bc += wc; li.dnl += wc; ^~ relay.c:334:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ relay.c:335:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' li.bc += wc; li.upl += wc; ^~ relay.c:342:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ relay.c:343:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' li.bc += wc; li.upl += wc; ^~ relay.c: In function 'relay_udp': relay.c:416:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ relay.c:417:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' li.bc += wc; li.upl += wc; ^~ relay.c:425:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ relay.c:426:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' li.bc += wc; li.dnl += wc; ^~ --- readconf.o --- readconf.c: In function 'getpasswd': readconf.c:517:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(up->user, tok, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c:509:20: note: length computed here tok = p; len = strlen(tok); ^~~~~~~~~~~ readconf.c:535:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(up->pass, tok, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c:528:20: note: length computed here tok = p; len = strlen(tok); ^~~~~~~~~~~ --- main.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c main.c --- socks.o --- socks.c: In function 'connect_to_http': socks.c:1159:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (r>0 && ((c=*p) != ' ' && c != '\t')) ^~~~~ socks.c:1160:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' p++; r--; ^ socks.c:1161:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (r>0 && ((c=*p) == ' ' || c == '\t')) ^~~~~ socks.c:1162:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' p++; r--; ^ socks.c:1132:10: warning: variable 'error' set but not used [-Wunused-but-set-variable] int error; ^~~~~ --- auth-pwd.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c auth-pwd.c --- get-bind.o --- cc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -pipe -O2 -fno-strict-aliasing -O2 -Wall -pthread -c get-bind.c get-bind.c: In function 'get_bind_addr': get-bind.c:154:12: warning: variable 'n' set but not used [-Wunused-but-set-variable] ssize_t n; ^ --- socks.o --- socks.c:1145:39: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "CONNECT %s:%s HTTP/1.0\r\n\r\n", ^~ dest.host, dest.port); ~~~~~~~~~ socks.c:1145:3: note: 'snprintf' output between 23 and 1078 bytes into a destination of size 1024 snprintf(buf, sizeof(buf), "CONNECT %s:%s HTTP/1.0\r\n\r\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dest.host, dest.port); ~~~~~~~~~~~~~~~~~~~~~ --- srelay --- cc init.o readconf.o util.o socks.o relay.o main.o auth-pwd.o get-bind.o -lcrypt -lwrap -L/usr/local/lib -pthread -o srelay -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for srelay-0.4.8p1 ===> Generating temporary packing list install -m 0644 /construction/net/srelay/srelay-0.4.8p1/srelay.conf /construction/net/srelay/stage/usr/local/etc/srelay.conf.sample install -m 0644 /construction/net/srelay/srelay-0.4.8p1/srelay.passwd /construction/net/srelay/stage/usr/local/etc/srelay.passwd.sample install -m 444 /construction/net/srelay/srelay-0.4.8p1/srelay.8 /construction/net/srelay/stage/usr/local/man/man8 install -s -m 555 /construction/net/srelay/srelay-0.4.8p1/srelay /construction/net/srelay/stage/usr/local/sbin ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for srelay-0.4.8p1 file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 02:58:41 UTC Duration: 00:00:14