=> Bootstrap dependency digest>=20010302: found digest-20190127
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /opt/pkg.bulk/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg.bulk/sbin/pkg_admin -K /opt/pkg.bulk/pkgdb fetch-pkg-vulnerabilities'.
===> Building for nettest-92.11.09
--- all ---
--- Darwin ---
make objs  INCLUDE=""  DEFINES="-DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO -DNONVOID_SETPGRP"  OPT="-O" LIBS="-lcompat"
--- nettestd ---
--- nettest ---
--- nettestd ---
clang -O  -DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO -DNONVOID_SETPGRP nettestd.c -o nettestd -lcompat
--- nettest ---
clang -O  -DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO -DNONVOID_SETPGRP nettest.c -o nettest -lcompat
nettest.c:146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^
nettest.c:181:16: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration]
        maxchildren = getdtablesize() - 4;
                      ^
nettest.c:183:14: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
        while ((i = getopt(argc, argv, "b:cCdfFhmn:p:s:S:t:Vw?")) != EOF) {
                    ^
nettest.c:186:15: warning: implicit declaration of function 'atoval' is invalid in C99 [-Wimplicit-function-declaration]
                        kbufsize = atoval(optarg);
                                   ^
nettest.c:225:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
                        if (!strcmp(optarg, "tcp")) {
                             ^
nettest.c:225:9: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
nettest.c:273:15: warning: implicit declaration of function 'parsetos' is invalid in C99 [-Wimplicit-function-declaration]
                        if ((tos = parsetos(optarg, "*")) < 0) {
                                   ^
nettest.c:290:10: warning: incompatible pointer types assigning to 'int (*)()' from 'ssize_t (int, void *, size_t, int)' (aka 'long (int, void *, unsigned long, int)') [-Wincompatible-pointer-types]
                        rfunc = recv;
                              ^ ~~~~
nettest.c:371:14: warning: implicit declaration of function 'atoval' is invalid in C99 [-Wimplicit-function-declaration]
                        nchunks = atoval(*argv);
                                  ^
nettest.c:398:13: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration]
                if ((s2 = open(myname, 1)) < 0) {
                          ^
nettest.c:405:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(s2);
                        ^
nettest.c:429:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                strcpy(name.d_unix.sun_path, portname);
                ^
nettest.c:429:3: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
nettest.c:431:6: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
                        + strlen(name.d_unix.sun_path);
                          ^
nettest.c:431:6: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
nettest.c:441:3: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration]
                gethostname(_myname, sizeof(_myname));
                ^
nettest.c:473:11: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
                                tmp = inet_addr(hisname);
                                      ^
nettest.c:485:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
                                bcopy(hp->h_addr, (char *)&name.d_inet.sin_addr,
                                ^
nettest.c:588:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(s);
                ^
--- nettestd ---
nettestd.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dochild()
^
nettestd.c:73:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
nettestd.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^
nettestd.c:140:14: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
        while ((c = getopt(argc, argv, "bdimp:s:vV")) != EOF) {
                    ^
nettestd.c:164:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
                        if (!strcmp(optarg, "unix")) {
                             ^
nettestd.c:164:9: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
nettestd.c:176:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                                usage();
                                ^
nettestd.c:195:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                                usage();
                                ^
nettestd.c:209:4: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                        usage();
                        ^
nettestd.c:255:4: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                        usage();
                        ^
nettestd.c:260:3: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
                usage();
                ^
--- nettest ---
nettest.c:629:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration]
        bzero((char *)&start, sizeof(start));
        ^
nettest.c:629:2: note: include the header <strings.h> or explicitly provide a declaration for 'bzero'
--- nettestd ---
nettestd.c:281:7: warning: implicit declaration of function 'setpgrp' is invalid in C99 [-Wimplicit-function-declaration]
--- nettest ---
nettest.c:634:18: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
        sync_children = getpid();
                        ^
--- nettestd ---
                if (setpgrp(0, getpid()) < 0)
                    ^
--- nettest ---
nettest.c:636:23: warning: implicit declaration of function 'getpgrp' is invalid in C99 [-Wimplicit-function-declaration]
--- nettestd ---
nettestd.c:281:18: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
                if (setpgrp(0, getpid()) < 0)
                               ^
--- nettest ---
        if (sync_children != getpgrp()) {
                             ^
nettest.c:637:10: warning: implicit declaration of function 'setpgid' is invalid in C99 [-Wimplicit-function-declaration]
                (void) setpgid(sync_children, sync_children);
                       ^
--- nettestd ---
nettestd.c:288:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        (void)close(c);
                              ^
nettestd.c:290:11: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
                switch (fork()) {
                        ^
--- nettest ---
nettest.c:650:7: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
--- nettestd ---
nettestd.c:299:12: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration]
--- nettest ---
                if (pipe(&CHILD_READ(i)) < 0) {
                    ^
--- nettestd ---
                for (c = getdtablesize(); c >= 0; --c)
                         ^
nettestd.c:300:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
--- nettest ---
nettest.c:655:14: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
                switch(n = fork()) {
                           ^
--- nettestd ---
                        (void)close(c);
                              ^
--- nettest ---
nettest.c:663:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                                        close(CHILD_READ(n));
                                        ^
nettest.c:665:4: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration]
                        dup2(CHILD_WRITE(i), 1);
                        ^
nettest.c:667:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(CHILD_WRITE(i));
                        ^
--- nettestd ---
nettestd.c:314:4: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
                        unlink(buf);
                        ^
nettestd.c:316:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error("mknod");
                                ^
nettestd.c:321:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error("mknod");
                                ^
nettestd.c:325:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error(buf2);
                                ^
nettestd.c:329:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
--- nettest ---
nettest.c:705:6: warning: implicit declaration of function 'killpg' is invalid in C99 [-Wimplicit-function-declaration]
                                        killpg(sync_children, SIGCONT);
                                        ^
nettest.c:716:5: warning: implicit declaration of function 'killpg' is invalid in C99 [-Wimplicit-function-declaration]
--- nettestd ---
                                error(buf);
                                ^
--- nettest ---
                                killpg(sync_children, SIGCONT);
                                ^
--- nettestd ---
nettestd.c:330:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                                close(s2);
                                ^
nettestd.c:335:4: warning: implicit declaration of function 'data_stream' is invalid in C99 [-Wimplicit-function-declaration]
--- nettest ---
nettest.c:726:16: warning: implicit declaration of function 'extract_times' is invalid in C99 [-Wimplicit-function-declaration]
                        gottimes += extract_times(buf, &n, &tms2, &start, &end,
                                    ^
nettest.c:729:12: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
                                (void) write(1, buf, n);
                                       ^
nettest.c:731:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(CHILD_READ(i));
                ^
--- nettestd ---
                        data_stream(s2, s);
                        ^
nettestd.c:336:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(s2);
                        ^
nettestd.c:345:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error(f1);
                                ^
nettestd.c:350:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error(f2);
                                ^
nettestd.c:353:4: warning: implicit declaration of function 'data_stream' is invalid in C99 [-Wimplicit-function-declaration]
                        data_stream(s, s2);
                        ^
nettestd.c:354:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(s2);
                        ^
nettestd.c:356:4: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
                        sleep(1);
                        ^
nettestd.c:364:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                strcpy(name.d_unix.sun_path, portname);
                ^
nettestd.c:364:3: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
nettestd.c:366:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
                                + strlen(name.d_unix.sun_path);
                                  ^
nettestd.c:366:7: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
nettestd.c:367:10: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
                (void) unlink(portname);
                       ^
nettestd.c:405:4: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                        error("socket");
                        ^
nettestd.c:409:4: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                        error("setsockopt - SO_DEBUG");
                        ^
nettestd.c:434:4: warning: implicit declaration of function 'do_dgram' is invalid in C99 [-Wimplicit-function-declaration]
                        do_dgram(s);
                        ^
nettestd.c:436:4: warning: implicit declaration of function 'do_stream' is invalid in C99 [-Wimplicit-function-declaration]
                        do_stream(s);
                        ^
--- nettest ---
nettest.c:807:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
                if (strncmp(c1, UT_MAGIC, 8) == 0) {
                    ^
nettest.c:807:7: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
nettest.c:819:2: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
        bcopy(c1, (char *)&tms, sizeof(tms));
        ^
nettest.c:900:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
        if (write(out, buf, strlen(buf)) != strlen(buf)) {
            ^
nettest.c:936:49: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
                        *cp++ = *("abcdefghijklmnopqrstuvwxyzABCDEF" + (i++/8)%32);
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
--- nettestd ---
nettestd.c:442:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
do_stream(s)
^
--- nettest ---
nettest.c:936:49: note: use array indexing to silence this warning
--- nettestd ---
nettestd.c:463:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
--- nettest ---
                        *cp++ = *("abcdefghijklmnopqrstuvwxyzABCDEF" + (i++/8)%32);
                                                                     ^
                                  &                                  [           ]
nettest.c:951:3: warning: implicit declaration of function 'kill' is invalid in C99 [-Wimplicit-function-declaration]
--- nettestd ---
                s2 = accept(s, (struct sockaddr *)&name, &namesize);
                                                         ^~~~~~~~~
--- nettest ---
                kill(getpid(), SIGSTOP);        /* suspend ourself */
                ^
--- nettestd ---
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here
--- nettest ---
nettest.c:951:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
--- nettestd ---
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                        ^
--- nettest ---
                kill(getpid(), SIGSTOP);        /* suspend ourself */
                     ^
--- nettestd ---
nettestd.c:467:4: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                        error("accept");
                        ^
nettestd.c:469:13: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
                        if ((i = fork()) == 0) {
                                 ^
nettestd.c:470:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                                close(s);
                                ^
nettestd.c:471:9: warning: implicit declaration of function 'data_stream' is invalid in C99 [-Wimplicit-function-declaration]
                                i = data_stream(s2, s2);
                                    ^
nettestd.c:475:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error("fork");
                                ^
nettestd.c:476:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(s2);
                        ^
--- nettest ---
nettest.c:1038:52: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
                        if (*cp != *("abcdefghijklmnopqrstuvwxyzABCDEF" +
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
--- nettestd ---
nettestd.c:524:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- nettest ---
nettest.c:1038:52: note: use array indexing to silence this warning
--- nettestd ---
register in, out;
~~~~~~~~ ^
--- nettest ---
                        if (*cp != *("abcdefghijklmnopqrstuvwxyzABCDEF" +
                                                                        ^
                                     &                                  [
--- nettestd ---
nettestd.c:524:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
register in, out;
~~~~~~~~     ^
nettestd.c:523:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
data_stream(in, out)
^
--- nettest ---
nettest.c:1042:42: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
                                *("abcdefghijklmnopqrstuvwxyzABCDEF" +
--- nettestd ---
nettestd.c:546:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                                error("nettestd: read");
--- nettest ---
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
--- nettestd ---
                                ^
--- nettest ---
nettest.c:1042:42: note: use array indexing to silence this warning
                                *("abcdefghijklmnopqrstuvwxyzABCDEF" +
                                                                     ^
                                  &                                  [
--- nettestd ---
nettestd.c:568:3: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
                write(out, buf, strlen(buf));
                ^
nettestd.c:579:4: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
                        strcat(buf, " Cannot set buffers sizes.");
                        ^
nettestd.c:579:4: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
nettestd.c:597:9: warning: incompatible pointer types assigning to 'int (*)()' from 'ssize_t (int, void *, size_t, int)' (aka 'long (int, void *, unsigned long, int)') [-Wincompatible-pointer-types]
                rfunc = recv;
                      ^ ~~~~
nettestd.c:604:2: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
--- nettest ---
nettest.c:1056:6: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
                                        hival, loval, ntohl(*(ldp-2)),
                                        ^~~~~
nettest.c:1056:13: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
--- nettestd ---
        write(out, buf, strlen(buf));
        ^
--- nettest ---
                                        hival, loval, ntohl(*(ldp-2)),
                                               ^~~~~
nettest.c:1098:3: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration]
                strncpy(td.mt_magic, UT_MAGIC, 8);
                ^
--- nettestd ---
nettestd.c:616:4: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
                        VRFY();
--- nettest ---
nettest.c:1098:3: note: include the header <string.h> or explicitly provide a declaration for 'strncpy'
--- nettestd ---
                        ^~~~~~
nettestd.c:491:6: note: expanded from macro 'VRFY'
                                        hival, loval, ntohl(*(ldp-2)), \
                                        ^~~~~
nettestd.c:616:4: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
                        VRFY();
                        ^~~~~~
nettestd.c:491:13: note: expanded from macro 'VRFY'
--- nettest ---
nettest.c:1113:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                        printf("%6d: %5d ", i, cnts[i]);
                                     ~~~       ^~~~~~~
                                     %5ld
--- nettestd ---
                                        hival, loval, ntohl(*(ldp-2)), \
                                               ^~~~~
nettestd.c:628:5: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
                                VRFY();
                                ^~~~~~
nettestd.c:491:6: note: expanded from macro 'VRFY'
                                        hival, loval, ntohl(*(ldp-2)), \
                                        ^~~~~
nettestd.c:628:5: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
                                VRFY();
                                ^~~~~~
nettestd.c:491:13: note: expanded from macro 'VRFY'
                                        hival, loval, ntohl(*(ldp-2)), \
                                               ^~~~~
nettestd.c:683:2: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
--- nettest ---
nettest.c:1144:1: warning: data argument not used by format string [-Wformat-extra-args]
--- nettestd ---
        error(buf);
        ^
--- nettest ---
"       nettest -V\n");
^
--- nettestd ---
nettestd.c:690:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
do_dgram(s)
^
nettestd.c:738:6: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                 &namesize);
                                 ^~~~~~~~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here
    socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom);
                          ^
--- nettest ---
nettest.c:1350:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
--- nettestd ---
nettestd.c:741:4: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
                        error(errmsg);
                        ^
--- nettest ---
                else for (cp2 = cp; c = *cp2; cp2++) {
                                    ~~^~~~~~
nettest.c:1350:25: note: place parentheses around the assignment to silence this warning
                else for (cp2 = cp; c = *cp2; cp2++) {
                                      ^
                                    (       )
nettest.c:1350:25: note: use '==' to turn this assignment into an equality comparison
                else for (cp2 = cp; c = *cp2; cp2++) {
                                      ^
                                      ==
nettest.c:1366:14: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
                if ((tmp = inet_addr(cp)) != -1) {
                           ^
nettest.c:1368:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                } else if (host = gethostbyname(cp)) {
                           ~~~~~^~~~~~~~~~~~~~~~~~~
nettest.c:1368:19: note: place parentheses around the assignment to silence this warning
--- nettestd ---
nettestd.c:752:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usage()
^
--- nettest ---
                } else if (host = gethostbyname(cp)) {
                                ^
                           (                       )
nettest.c:1368:19: note: use '==' to turn this assignment into an equality comparison
                } else if (host = gethostbyname(cp)) {
                                ^
                                ==
nettest.c:1370:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration]
--- nettestd ---
nettestd.c:764:3: warning: data argument not used by format string [-Wformat-extra-args]
--- nettest ---
                        memcpy((caddr_t)&sin_addr,
                        ^
--- nettestd ---
                "       nettestd [-b] [-d] [-v] -p file readfile writefile\n",
                ^
--- nettest ---
nettest.c:1370:4: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
--- nettestd ---
nettestd.c:769:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
error(string)
^
--- nettest ---
nettest.c:1333:13: warning: implicit conversion from 'int' to 'char' changes value from 137 to -119 [-Wconstant-conversion]
                *lsrp++ = IPOPT_SSRR;
                        ~ ^~~~~~~~~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:174:33: note: expanded from macro 'IPOPT_SSRR'
--- nettestd ---
nettestd.c:776:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
--- nettest ---
#define IPOPT_SSRR              137             /* strict source route */
                                ^~~
nettest.c:1335:13: warning: implicit conversion from 'int' to 'char' changes value from 131 to -125 [-Wconstant-conversion]
                *lsrp++ = IPOPT_LSRR;
                        ~ ^~~~~~~~~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:172:33: note: expanded from macro 'IPOPT_LSRR'
#define IPOPT_LSRR              131             /* loose source route */
                                ^~~
--- nettestd ---
64 warnings generated.
ld: library not found for -lcompat
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [nettestd] Error code 1

make[2]: stopped in /opt/pkg.bulk/work/benchmarks/nettest/work
--- nettest ---
49 warnings generated.
ld: library not found for -lcompat
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [nettest] Error code 1

make[2]: stopped in /opt/pkg.bulk/work/benchmarks/nettest/work
2 errors

make[2]: stopped in /opt/pkg.bulk/work/benchmarks/nettest/work
*** [Darwin] Error code 2

make[1]: stopped in /opt/pkg.bulk/work/benchmarks/nettest/work
1 error

make[1]: stopped in /opt/pkg.bulk/work/benchmarks/nettest/work
*** [all] Error code 2

bmake: stopped in /opt/pkg.bulk/work/benchmarks/nettest/work
1 error

bmake: stopped in /opt/pkg.bulk/work/benchmarks/nettest/work
*** Error code 2

Stop.
bmake[1]: stopped in /opt/pkgsrc/benchmarks/nettest
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/benchmarks/nettest