------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> puf-1.0.0 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> puf-1.0.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by puf-1.0.0 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> puf-1.0.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by puf-1.0.0 for building => SHA256 Checksum OK for puf-1.0.0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> puf-1.0.0 depends on file: /usr/local/sbin/pkg - found ===> 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. Extracted Memory Use: 0.59M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for puf-1.0.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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.9 checking host system type... x86_64-portbld-dragonfly5.9 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 SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- 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 --- --- http_req.o --- --- hostlist.o --- --- getopts.o --- --- fetch.o --- --- util_date.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 --- 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 --- 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_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 --- 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 --- 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 --- 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 --- http_conn.o --- http_conn.c: In function 'activate_url': http_conn.c:304:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ http_conn.c:307:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' init_aurl(au); ^~~~~~~~~ --- hostlist.o --- 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: 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:23:31: warning: pointer targets in passing argument 1 of 'calc_hash' differ in signedness [-Wpointer-sign] #define hhash(hp) calc_hash(hp->name) puf.h:628:12: note: in expansion of macro 'hhash' nhash = fhash(sp); \ ^~~~~ 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: 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: 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:44: 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:34: 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) ^~~~~~~~ hostlist.c: In function 'fork_dnsproc': hostlist.c:285:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getppid() != 1) ^~ hostlist.c:287:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' exit(1); ^~~~ hostlist.c:298:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getppid() != 1) ^~ hostlist.c:300:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' exit(1); ^~~~ hostlist.c:323:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getppid() != 1) ^~ hostlist.c:325:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' exit(1); ^~~~ hostlist.c:332:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (getppid() != 1) ^~ hostlist.c:334:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' exit(1); ^~~~ --- fetch.o --- In file included from fetch.c:12: 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, from fetch.c:12: /usr/include/sys/socket.h:494: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); ^~~~~~~~~~ --- url.o --- 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: 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: url.c: In function 'print_url': url.c:146:51: 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:25: 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: 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:706:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ url.c:709:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (host && host->ready && ^~ url.c:745:36: 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: 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': url.c:831:31: warning: pointer targets in passing argument 1 of 'calc_hash' differ in signedness [-Wpointer-sign] #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); ^~~~~ In file included from url.c:12: 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_rsp.o --- http_rsp.c: In function 'handle_reply': http_rsp.c:393:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (au->auth_chall) ^~ http_rsp.c:397:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ http_rsp.c:526:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] } else if (!strcasecmp(bufp + a, "Content-Length:")) ^~ http_rsp.c:528:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((multi || exto) && au->size_total > buff_size) ^~ http_rsp.c:714:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] if (au->buff_len > buff_size) ^ http_rsp.c:762:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ http_rsp.c:765:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return RT_DONE; ^~~~~~ --- getopts.o --- getopts.c: In function 'cdie': getopts.c:155:37: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 507 [-Wformat-truncation=] snprintf(fmt, SHORTSTR, "\n%s: %s (%s:%d)\n", progname, msg, qargfn, num); ^~ ~~~~~~ getopts.c:155:2: note: 'snprintf' output 10 or more bytes (assuming 521) into a destination of size 512 snprintf(fmt, SHORTSTR, "\n%s: %s (%s:%d)\n", progname, msg, qargfn, num); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- 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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- 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) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for puf-1.0.0 file sizes/checksums [2]: 0% file sizes/checksums [2]: 100% packing files [2]: 0% packing files [2]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:07