=> Bootstrap dependency digest>=20010302: found digest-20080510
===> 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 ttcp-1.12nb2
rm -f .gdbinit
touch .gdbinit
#   compile  work/ttcp.o
gcc -O2  -std=gnu99 -Werror     -c    ttcp.c
ttcp.c:152:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
main(argc,argv)
^~~~
ttcp.c:161:14: error: implicit declaration of function 'getopt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        while ((c = getopt(argc, argv, "drstuvBDTb:f:l:n:p:A:O:")) != -1) {
                    ^
ttcp.c:399:15: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                        while((cnt=read(0,buf,buflen)) > 0 &&
                                   ^
ttcp.c:404:8: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                            write(1,buf,cnt) == cnt)
                            ^
ttcp.c:429:13: error: conversion specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat]
                "ttcp%s: %d I/O calls, msec/call = %.2f, calls/sec = %.2f\n",
                         ~^
                         %lu
ttcp.c:437:29: error: conversion specifies type 'unsigned int' but the argument has type 'char *' [-Werror,-Wformat]
                "ttcp%s: buffer address %#x\n",
                                        ~~^
                                        %s
ttcp.c:444:17: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
        fprintf(stderr,Usage);
                       ^~~~~
ttcp.c:465:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
pattern( cp, cnt )
^~~~~~~
ttcp.c:620:19: error: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat]
                        sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000);
                                      ~^        ~~~~~~~~~~~~
                                      %ld
ttcp.c:626:19: error: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat]
                        sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000);
                                      ~^        ~~~~~~~~~~~~
                                      %ld
ttcp.c:648:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", t == 0 ? 0 : (r1->ru_ixrss-r0->ru_ixrss)/t);
                                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      %ld
ttcp.c:653:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", t == 0 ? 0 :
                                      ~^   ~~~~~~~~~~~~
                                      %ld
ttcp.c:659:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", t == 0 ? 0 :
                                      ~^   ~~~~~~~~~~~~
                                      %ld
ttcp.c:666:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", r1->ru_maxrss/2);
                                      ~^   ~~~~~~~~~~~~~~~
                                      %ld
ttcp.c:671:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", r1->ru_majflt-r0->ru_majflt);
                                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      %ld
ttcp.c:676:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", r1->ru_minflt-r0->ru_minflt);
                                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      %ld
ttcp.c:681:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", r1->ru_inblock-r0->ru_inblock);
                                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      %ld
ttcp.c:686:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d", r1->ru_oublock-r0->ru_oublock);
                                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      %ld
ttcp.c:690:19: error: conversion specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
                        sprintf(outp,"%d+%d", r1->ru_nvcsw-r0->ru_nvcsw,
                                      ~^      ~~~~~~~~~~~~~~~~~~~~~~~~~
                                      %ld
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/benchmarks/ttcp/work
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/benchmarks/ttcp
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/benchmarks/ttcp
