>>> Building on exopi-2 under net/trafshow DIST = [net/trafshow:trafshow-3.1.tgz] FULLPKGNAME = trafshow-3.1p2 distfiles size=72342 >>> Running build in net/trafshow at 1731960107.31 ===> net/trafshow ===> Building from scratch trafshow-3.1p2 ===> Verifying specs: c curses pcap ===> found c.100.3 curses.15.0 pcap.9.0 ===> Checking files for trafshow-3.1p2 `/exopi-cvs/ports/distfiles/trafshow-3.1.tgz' is up to date. >> (SHA256) all files: OK ===> Extracting for trafshow-3.1p2 ===> Patching for trafshow-3.1p2 ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.in.orig Mon Aug 24 00:54:16 1998 |+++ Makefile.in Mon Apr 2 22:28:42 2001 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 28. done ===> Applying OpenBSD patch patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- configure.orig Fri Aug 28 03:31:56 1998 |+++ configure Mon Apr 2 22:24:06 2001 -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2554. done ===> Applying OpenBSD patch patch-configure_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- configure.in.orig Fri Aug 28 02:19:06 1998 |+++ configure.in Mon Apr 2 22:24:06 2001 -------------------------- Patching file configure.in using Plan A... Hunk #1 succeeded at 105. done ===> Applying OpenBSD patch patch-display_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- display.c.orig Mon Aug 24 05:51:48 1998 |+++ display.c Tue Apr 5 22:44:25 2016 -------------------------- Patching file display.c using Plan A... Hunk #1 succeeded at 389. done ===> Applying OpenBSD patch patch-interfaces_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- interfaces.c.orig Tue Apr 5 22:44:50 2016 |+++ interfaces.c Tue Apr 5 22:44:55 2016 -------------------------- Patching file interfaces.c using Plan A... Hunk #1 succeeded at 17. done ===> Applying OpenBSD patch patch-trafshow_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- trafshow.c.orig Fri Aug 28 08:15:57 1998 |+++ trafshow.c Tue Apr 5 22:44:25 2016 -------------------------- Patching file trafshow.c using Plan A... Hunk #1 succeeded at 62. Hunk #2 succeeded at 192. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for trafshow-3.1p2 ===> Configuring for trafshow-3.1p2 Using /exopi-obj/pobj/trafshow-3.1/config.site (generated) loading site script /exopi-obj/pobj/trafshow-3.1/config.site creating cache ./config.cache checking host system type... x86_64-unknown-openbsd7.6 checking target system type... x86_64-unknown-openbsd7.6 checking build system type... x86_64-unknown-openbsd7.6 checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking gcc version... checking how to run the C preprocessor... ./configure[1009]: test: 1: unexpected operator/operand cc -E checking for sys/ioctl.h... (cached) yes checking for sys/mbuf.h... yes checking for net/slip.h... (cached) no checking whether time.h and sys/time.h may both be included... (cached) yes checking for u_int32_t using cc... yes checking for siginterrupt... (cached) yes checking for select... (cached) yes checking for strcasecmp... (cached) yes checking whether byte ordering is bigendian... no checking if unaligned accesses fail... no checking for tgetent in -ltermcap... yes checking for curses library... ncurses checking for has_colors... yes checking for bkgd... yes checking for wbkgd... yes checking for resizeterm... yes checking for gethostbyname... (cached) yes checking for socket... (cached) yes checking for putmsg in -lstr... no checking for local pcap library... not found checking for main in -lpcap... yes checking for pcap version... 0.5 updating cache ./config.cache creating ./config.status creating Makefile creating config.h ===> Building for trafshow-3.1p2 cc -O2 -pipe -DHAVE_CONFIG_H -I. -c trafshow.c trafshow.c:88:27: warning: passing arguments to 'abort_on_misalignment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (abort_on_misalignment(ebuf) < 0) error(0, ebuf); ^ trafshow.c:191:34: warning: passing arguments to 'lookup_if' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pcap_loop(pd, cnt, lookup_if(op), NULL) < 0) ^ trafshow.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ trafshow.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup(sig) ^ trafshow.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_term(reinit) ^ 5 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -I. -c display.c display.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_display(reinit) ^ display.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_line(reinit) ^ display.c:104:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register sec = tn - tp; ~~~~~~~~ ^ int display.c:108:17: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] count_size, (packets_total-packets_prev)/sec, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:109:17: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] count_size, (bytes_total-bytes_prev)/sec); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inet_print(in, port, proto) ^ display.c:166:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i; ~~~~~~~~ ^ int display.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main_print(line, i) ^ display.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortbybytes(e1, e2) ^ display.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scr_redraw(del_old) ^ display.c:220:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int display.c:220:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int display.c:280:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int display.c:280:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int display.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] collect(e) ^ display.c:318:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register iplen; ~~~~~~~~ ^ int display.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display(eh, ip, length) ^ In file included from display.c:45: ./trafshow.h:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void display(/* struct ether_header *, struct ip *, int */); ^ cc -O2 -pipe -DHAVE_CONFIG_H -I. -c keyb.c 18 warnings generated. keyb.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbhit(fd) ^ keyb.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_arrowkey(get1ch) ^ 2 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -I. -c color.c color.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findpair(f, b, a) ^ color.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addcolormask(s, m) ^ color.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addr_mask(addr) ^ color.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] net_mask(addr) ^ color.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isany(s) ^ color.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] str2addr(str, mask) ^ color.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] str2port(str, proto) ^ color.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parsehostport(s, mask, port, proto) ^ color.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] str2proto(str, proto) ^ color.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] color_on(e) ^ color.c:388:32: warning: inequality comparison result unused [-Wunused-comparison] for (m = color_mask, i = 0; m != NULL, i < n_masks; m++, i++) { ~~^~~~~~~ color.c:388:32: note: use '|=' to turn this inequality comparison into an or-assignment for (m = color_mask, i = 0; m != NULL, i < n_masks; m++, i++) { ^~ |= 11 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -I. -c interfaces.c interfaces.c:87:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display(p, p + ETHER_HDRLEN, length - ETHER_HDRLEN); ^ interfaces.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_ether(user, h, p) ^ interfaces.c:102:9: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display(NULL, p + SLIP_HDRLEN, length - SLIP_HDRLEN); ^ interfaces.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_slip(user, h, p) ^ interfaces.c:113:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register hdrlen = 0; ~~~~~~~~ ^ int interfaces.c:144:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display(NULL, p, length - hdrlen); ^ interfaces.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_ppp(user, h, p) ^ interfaces.c:162:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display(NULL, p + CHDLC_HDRLEN, length - CHDLC_HDRLEN); ^ interfaces.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_chdlc(user, h, p) ^ interfaces.c:177:9: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display(NULL, p, length); ^ interfaces.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_rawip(user, h, p) ^ interfaces.c:191:2: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memcpy(&family, p, sizeof(family)); ^ interfaces.c:191:2: note: include the header or explicitly provide a declaration for 'memcpy' interfaces.c:194:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display(NULL, p + NULL_HDRLEN, length - NULL_HDRLEN); ^ interfaces.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if_null(user, h, p) ^ interfaces.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookup_if(type) ^ 15 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -I. -c addrtoname.c addrtoname.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] intoa(addr) ^ addrtoname.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] savestr(str) ^ addrtoname.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getname(ap) ^ addrtoname.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcpport_string(port) ^ addrtoname.c:281:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short port; ^ ./trafshow.h:154:36: note: previous declaration is here extern char *tcpport_string(u_short); ^ addrtoname.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] udpport_string(port) ^ addrtoname.c:301:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short port; ^ ./trafshow.h:155:36: note: previous declaration is here extern char *udpport_string(u_short); ^ addrtoname.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entoa(ep) ^ addrtoname.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] etheraddr_string(ep) ^ addrtoname.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] etherproto_string(proto) ^ addrtoname.c:405:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short proto; ^ ./trafshow.h:159:39: note: previous declaration is here extern char *etherproto_string(u_short); ^ addrtoname.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_addrtoname(localnet, mask) ^ 12 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -I. -c machdep.c cc -O2 -pipe -DHAVE_CONFIG_H -I. -c util.c util.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_argv(av) ^ util.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_infile(fname) ^ util.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getprotoname(proto) ^ util.c:139:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short proto; ^ ./trafshow.h:147:34: note: previous declaration is here extern char *getprotoname(u_short); ^ util.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getprotonum(proto) ^ 5 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -I. -c getarptab.c getarptab.c:54:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error(1, "getarptab: sysctl"); ^ getarptab.c:55:21: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((buf = (char *)malloc(needed)) == NULL) ^ getarptab.c:55:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if ((buf = (char *)malloc(needed)) == NULL) ^~~~~~~~~~~~~~~~~~~~~~ getarptab.c:65:8: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] !memcmp(ep, (u_char *)LLADDR(sdl), MAC_ADDR_LEN)) { ^ getarptab.c:65:8: note: include the header or explicitly provide a declaration for 'memcmp' getarptab.c:66:4: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(buf); ^ getarptab.c:70:2: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(buf); ^ getarptab.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getarptab(ep) ^ 7 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -I. -c version.c cc -O2 -pipe -DHAVE_CONFIG_H -I. -o trafshow trafshow.o display.o keyb.o color.o interfaces.o addrtoname.o machdep.o util.o getarptab.o version.o -lpcap -lncurses -ltermcap ld: warning: util.c(util.o:(error)): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: addrtoname.c(addrtoname.o:(savestr)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: color.c(color.o:(init_colormask)): warning: sprintf() is often misused, please use snprintf() ld: warning: color.c(color.o:(init_colormask)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in net/trafshow at 1731960116.15 ===> net/trafshow ===> Faking installation for trafshow-3.1p2 /exopi-obj/pobj/trafshow-3.1/bin/install -d -m 755 /exopi-obj/pobj/trafshow-3.1/fake-amd64/usr/local/share/examples/trafshow /exopi-obj/pobj/trafshow-3.1/bin/install -c -s -m 755 /exopi-obj/pobj/trafshow-3.1/trafshow-3.1/trafshow /exopi-obj/pobj/trafshow-3.1/fake-amd64/usr/local/bin /exopi-obj/pobj/trafshow-3.1/bin/install -c -m 644 /exopi-obj/pobj/trafshow-3.1/trafshow-3.1/trafshow.1 /exopi-obj/pobj/trafshow-3.1/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/trafshow-3.1/bin/install -c -m 644 /exopi-obj/pobj/trafshow-3.1/trafshow-3.1/.trafshow /exopi-obj/pobj/trafshow-3.1/fake-amd64/usr/local/share/examples/trafshow/trafshow.conf.sample ===> Building package for trafshow-3.1p2 Create /exopi-cvs/ports/packages/amd64/all/trafshow-3.1p2.tgz Creating package trafshow-3.1p2 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 7% checksumming|******** | 13% checksumming|************ | 20% checksumming|**************** | 27% checksumming|******************** | 33% checksumming|************************ | 40% checksumming|**************************** | 47% checksumming|********************************* | 53% checksumming|************************************* | 60% checksumming|***************************************** | 67% checksumming|********************************************* | 73% checksumming|************************************************* | 80% checksumming|***************************************************** | 87% checksumming|********************************************************* | 93% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|********************************************************** | 91% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/trafshow-3.1p2.tgz >>> Running clean in net/trafshow at 1731960121.47 ===> net/trafshow ===> Cleaning for trafshow-3.1p2 >>> Ended at 1731960122.42 max_stuck=0.00/build=8.72/package=5.40/clean=1.04