=> Building ftp/puf Started : Thursday, 12 APR 2018 at 13:48:46 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@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 -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/ftp/puf XDG_CONFIG_HOME=/construction/ftp/puf HOME=/construction/ftp/puf TMPDIR="/tmp" PATH=/construction/ftp/puf/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/ftp/puf XDG_CONFIG_HOME=/construction/ftp/puf HOME=/construction/ftp/puf TMPDIR="/tmp" PATH=/construction/ftp/puf/.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 LIBDIR="/usr/lib" 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/ftp/puf/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/puf" EXAMPLESDIR="share/examples/puf" DATADIR="share/puf" WWWDIR="www/puf" ETCDIR="etc/puf" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/puf DOCSDIR=/usr/local/share/doc/puf EXAMPLESDIR=/usr/local/share/examples/puf WWWDIR=/usr/local/www/puf ETCDIR=/usr/local/etc/puf -------------------------------------------------- -- /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 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> puf-1.0.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> puf-1.0.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of puf-1.0.0 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by puf-1.0.0 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by puf-1.0.0 for building => SHA256 Checksum OK for puf-1.0.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by puf-1.0.0 for building ===> Extracting for puf-1.0.0 => SHA256 Checksum OK for puf-1.0.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for puf-1.0.0 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for puf-1.0.0 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking build system type... x86_64-portbld-dragonfly5.2 checking host system type... x86_64-portbld-dragonfly5.2 checking for inet_addr in -lxnet... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking whether off_t can be long long... no checking for snprintf... (cached) yes checking for strdup... (cached) yes checking whether to compile with debug info... no checking whether to build a static binary... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating puf.spec config.status: creating config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for puf-1.0.0 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- puf.o --- --- url.o --- --- recurse.o --- --- http_conn.o --- --- http_rsp.o --- --- puf.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT puf.o -MD -MP -MF ".deps/puf.Tpo" -c -o puf.o puf.c; then mv -f ".deps/puf.Tpo" ".deps/puf.Po"; else rm -f ".deps/puf.Tpo"; exit 1; fi --- url.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT url.o -MD -MP -MF ".deps/url.Tpo" -c -o url.o url.c; then mv -f ".deps/url.Tpo" ".deps/url.Po"; else rm -f ".deps/url.Tpo"; exit 1; fi url.c: In function 'find_url': url.c:23:27: warning: pointer targets in passing argument 1 of 'calc_nhash' differ in signedness [-Wpointer-sign] int hash = calc_nhash(path, len) ^ (int)hinfo ^ port; ^ In file included from url.c:12:0: puf.h:431:5: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'const char *' int calc_nhash(const u_char *data, int len); ^ url.c:23:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int hash = calc_nhash(path, len) ^ (int)hinfo ^ port; ^ In file included from url.c:12:0: url.c: In function 'print_url': --- recurse.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT recurse.o -MD -MP -MF ".deps/recurse.Tpo" -c -o recurse.o recurse.c; then mv -f ".deps/recurse.Tpo" ".deps/recurse.Po"; else rm -f ".deps/recurse.Tpo"; exit 1; fi --- url.o --- url.c:146:44: warning: pointer targets in passing argument 2 of 'decode_auth' differ in signedness [-Wpointer-sign] lcat_mem(buf, bufl, dl, decode_auth(abuf, u->parm->http_auth), abuf); ^ puf.h:576:46: note: in definition of macro 'lcat_mem' #define lcat_mem(b,bl,l,ml,m) do { int _ml = ml; if (l + _ml < bl) memcpy(b + l, m, _ml); l += _ml; } while(0) ^ puf.h:552:5: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int decode_auth(char *p, const u_char *s); ^ url.c: In function 'parse_add_proxy': url.c:490:23: warning: pointer targets in passing argument 2 of 'encode_auth' differ in signedness [-Wpointer-sign] encode_auth(authbuf, pu->auth, pu->authlen); ^ In file included from url.c:12:0: puf.h:550:6: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'const char *' void encode_auth(char *buf, const u_char *auth, int len); ^ url.c: In function 'parse_add_url': url.c:745:34: warning: pointer targets in passing argument 2 of 'encode_auth' differ in signedness [-Wpointer-sign] encode_auth(u->parm->http_auth, pu->auth, pu->authlen); ^ In file included from url.c:12:0: puf.h:550:6: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'const char *' void encode_auth(char *buf, const u_char *auth, int len); ^ url.c: In function 'do_add_url': puf.h:628:18: warning: pointer targets in passing argument 1 of 'calc_hash' differ in signedness [-Wpointer-sign] nhash = fhash(sp); \ ^ url.c:831:29: note: in definition of macro 'uhash' #define uhash(up) calc_hash(up->local_part) ^ (int)up->host->info ^ up->port ^ url.c:833:5: note: in expansion of macro 'h_add' h_add(urllist, real_num_urls, url_t, u, hash, return 0;, uhash); ^ In file included from url.c:12:0: puf.h:432:5: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int calc_hash(const u_char *data); ^ url.c:831:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define uhash(up) calc_hash(up->local_part) ^ (int)up->host->info ^ up->port ^ puf.h:628:12: note: in expansion of macro 'uhash' nhash = fhash(sp); \ ^ url.c:833:5: note: in expansion of macro 'h_add' h_add(urllist, real_num_urls, url_t, u, hash, return 0;, uhash); ^ --- http_conn.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT http_conn.o -MD -MP -MF ".deps/http_conn.Tpo" -c -o http_conn.o http_conn.c; then mv -f ".deps/http_conn.Tpo" ".deps/http_conn.Po"; else rm -f ".deps/http_conn.Tpo"; exit 1; fi --- http_rsp.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT http_rsp.o -MD -MP -MF ".deps/http_rsp.Tpo" -c -o http_rsp.o http_rsp.c; then mv -f ".deps/http_rsp.Tpo" ".deps/http_rsp.Po"; else rm -f ".deps/http_rsp.Tpo"; exit 1; fi http_rsp.c: In function 'handle_reply': http_rsp.c:714:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (au->buff_len > buff_size) ^ --- http_req.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT http_req.o -MD -MP -MF ".deps/http_req.Tpo" -c -o http_req.o http_req.c; then mv -f ".deps/http_req.Tpo" ".deps/http_req.Po"; else rm -f ".deps/http_req.Tpo"; exit 1; fi --- hostlist.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT hostlist.o -MD -MP -MF ".deps/hostlist.Tpo" -c -o hostlist.o hostlist.c; then mv -f ".deps/hostlist.Tpo" ".deps/hostlist.Po"; else rm -f ".deps/hostlist.Tpo"; exit 1; fi hostlist.c: In function 'add_host': hostlist.c:34:20: warning: pointer targets in passing argument 1 of 'calc_nhash' differ in signedness [-Wpointer-sign] hash = calc_nhash(name, len - 1); ^ In file included from hostlist.c:12:0: puf.h:431:5: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'const char *' int calc_nhash(const u_char *data, int len); ^ puf.h:628:18: warning: pointer targets in passing argument 1 of 'calc_hash' differ in signedness [-Wpointer-sign] nhash = fhash(sp); \ ^ hostlist.c:23:29: note: in definition of macro 'hhash' #define hhash(hp) calc_hash(hp->name) ^ hostlist.c:35:2: note: in expansion of macro 'h_add' h_add(hostlist, real_num_hosts, host_t, h, hash, free(h); return 0;, hhash); ^ In file included from hostlist.c:12:0: puf.h:432:5: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int calc_hash(const u_char *data); ^ hostlist.c: In function 'host_lookup_fast': hostlist.c:61:27: warning: pointer targets in passing argument 1 of 'calc_nhash' differ in signedness [-Wpointer-sign] int hash = calc_nhash(name, namlen); ^ In file included from hostlist.c:12:0: puf.h:431:5: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'const char *' int calc_nhash(const u_char *data, int len); ^ hostlist.c: In function 'finish_lookup': hostlist.c:159:35: warning: pointer targets in passing argument 1 of 'host_lookup_fast' differ in signedness [-Wpointer-sign] } else if ((h = host_lookup_fast(buf + cp + 1, buf[cp] - 1))) { ^ hostlist.c:59:1: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' host_lookup_fast(const char *name, int namlen) ^ hostlist.c:174:25: warning: pointer targets in passing argument 1 of 'add_host' differ in signedness [-Wpointer-sign] if (!(h = add_host(buf + cp + 1, buf[cp]))) { ^ hostlist.c:27:1: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' add_host(const char *name, int len) ^ --- getopts.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT getopts.o -MD -MP -MF ".deps/getopts.Tpo" -c -o getopts.o getopts.c; then mv -f ".deps/getopts.Tpo" ".deps/getopts.Po"; else rm -f ".deps/getopts.Tpo"; exit 1; fi --- fetch.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT fetch.o -MD -MP -MF ".deps/fetch.Tpo" -c -o fetch.o fetch.c; then mv -f ".deps/fetch.Tpo" ".deps/fetch.Po"; else rm -f ".deps/fetch.Tpo"; exit 1; fi --- util_date.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -MT util_date.o -MD -MP -MF ".deps/util_date.Tpo" -c -o util_date.o util_date.c; then mv -f ".deps/util_date.Tpo" ".deps/util_date.Po"; else rm -f ".deps/util_date.Tpo"; exit 1; fi --- fetch.o --- In file included from fetch.c:12:0: fetch.c: In function 'fetch_all': fetch.c:453:21: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] (void *)&err, &errl); ^ puf.h:386:85: note: in definition of macro 'ls_iterate_rm' #define ls_iterate_rm(q, t, e, a) do {t *e, **e##p; for (e##p = &q; (e = *e##p); ) {a e##p = &e->next; }} while(0) ^ In file included from puf.h:33:0, from fetch.c:12: /usr/include/sys/socket.h:493:5: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ --- puf --- cc -pipe -O2 -fno-strict-aliasing -W -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -o puf puf.o url.o recurse.o http_conn.o http_rsp.o http_req.o hostlist.o getopts.o fetch.o util_date.o -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for puf-1.0.0 ===> Generating temporary packing list Making install in src test -z "/usr/local/bin" || /construction/ftp/puf/puf-1.0.0/install-sh -d "/construction/ftp/puf/stage/usr/local/bin" install -s -m 555 'puf' '/construction/ftp/puf/stage/usr/local/bin/puf' test -z "/usr/local/man/man1" || /construction/ftp/puf/puf-1.0.0/install-sh -d "/construction/ftp/puf/stage/usr/local/man/man1" install -m 0644 './puf.1' '/construction/ftp/puf/stage/usr/local/man/man1/puf.1' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for puf-1.0.0 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 12 APR 2018 at 13:48:57 UTC Duration: 00:00:11