=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for yale-tftpd-3.0nb4
rm -f .gdbinit
touch .gdbinit
#   compile  work/tftpd.o
gcc -O2 -DCONFIGFILE='"/usr/pkg/etc/tftpd.conf"'  -std=gnu99 -Werror     -c    tftpd.c
tftpd.c:103:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
main(argc, argv)
^~~~
tftpd.c:115:3: error: implicit declaration of function 'setUpForDebugging' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                setUpForDebugging();
                ^
tftpd.c:133:3: error: implicit declaration of function 'reapChildren' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                reapChildren();
                ^
tftpd.c:134:7: error: implicit declaration of function 'awaitInput' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                n = awaitInput(0);
                    ^
tftpd.c:147:9: error: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Werror,-Wpointer-sign]
                             &fromlen);
                             ^~~~~~~~
/usr/include/sys/socket.h:618:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
tftpd.c:152:3: error: implicit declaration of function 'readConfigFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                readConfigFile(argc, argv);
                ^
tftpd.c:168:9: error: implicit declaration of function 'createChild' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                pid = createChild();
                      ^
tftpd.c:170:4: error: implicit declaration of function 'runChild' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                        runChild((struct tftphdr*)buf, n);
                        ^
tftpd.c:178:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
setUpForDebugging()
^~~~~~~~~~~~~~~~~
tftpd.c:195:11: error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses]
        if (serv = getservbyname("tftpd", "udp"))
            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tftpd.c:195:11: note: place parentheses around the assignment to silence this warning
        if (serv = getservbyname("tftpd", "udp"))
                 ^
            (                                   )
tftpd.c:195:11: note: use '==' to turn this assignment into an equality comparison
        if (serv = getservbyname("tftpd", "udp"))
                 ^
                 ==
tftpd.c:212:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
awaitInput(chan)
^~~~~~~~~~
tftpd.c:242:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
createChild()
^~~~~~~~~~~
tftpd.c:261:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
reapChildren()
^~~~~~~~~~~~
tftpd.c:276:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
runChild(tp, n)
^~~~~~~~
tftpd.c:300:3: error: implicit declaration of function 'tftp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                tftp(tp, n);
                ^
tftpd.c:331:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
tftp(tp, size)
^~~~
tftpd.c:353:3: error: implicit declaration of function 'nak' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                nak(EBADOP);
                ^
tftpd.c:376:14: error: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                        filename, inet_ntoa(from.sin_addr),
                                  ^
tftpd.c:374:44: error: conversion specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat]
                syslog(LOG_DEBUG, "request %s '%s' from %s; cwd='%s'",
                                                        ~^
                                                        %d
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/yale-tftpd/work
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/yale-tftpd
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/yale-tftpd
