=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for gkermit-1.00nb1 --- gwart.o --- cc -DPOSIX -O -O2 -DERRNO_H -fPIC -D_FORTIFY_SOURCE=2 -c gwart.c gwart.c: In function 'initial': gwart.c:206:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(wordbuf,"states") == 0) ^~~~~~ gwart.c: In function 'newtrans': gwart.c:271:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] new = (trans) malloc(sizeof (struct transx)); ^~~~~~ gwart.c:271:19: warning: incompatible implicit declaration of built-in function 'malloc' gwart.c:271:19: note: include '' or provide a declaration of 'malloc' gwart.c: In function 'rdrules': gwart.c:301:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if ((int)strlen(tokval) != 1) ^~~~~~ gwart.c:301:13: warning: incompatible implicit declaration of built-in function 'strlen' gwart.c:301:13: note: include '' or provide a declaration of 'strlen' gwart.c: In function 'main': gwart.c:458:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ gwart.c:458:5: warning: incompatible implicit declaration of built-in function 'exit' gwart.c:458:5: note: include '' or provide a declaration of 'exit' gwart.c: In function 'fatal': gwart.c:470:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ gwart.c:470:5: note: include '' or provide a declaration of 'exit' gwart.c: In function 'copy': gwart.c:607:20: warning: incompatible implicit declaration of built-in function 'malloc' new = (char *) malloc((int)strlen(s) + 1); ^~~~~~ gwart.c:607:20: note: include '' or provide a declaration of 'malloc' gwart.c:607:32: warning: incompatible implicit declaration of built-in function 'strlen' new = (char *) malloc((int)strlen(s) + 1); ^~~~~~ gwart.c:607:32: note: include '' or provide a declaration of 'strlen' gwart.c:608:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(new,s); ^~~~~~ gwart.c:608:5: warning: incompatible implicit declaration of built-in function 'strcpy' gwart.c:608:5: note: include '' or provide a declaration of 'strcpy' gwart.c: In function 'enter': gwart.c:622:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ gwart.c:622:2: note: include '' or provide a declaration of 'exit' gwart.c:625:25: warning: incompatible implicit declaration of built-in function 'malloc' cur = (struct sym *)malloc(sizeof (struct sym)); ^~~~~~ gwart.c:625:25: note: include '' or provide a declaration of 'malloc' --- gwart --- cc -o gwart gwart.o --- posix --- /usr/bin/make "CC=cc" "CFLAGS=-DPOSIX -O -O2 -DERRNO_H -fPIC -D_FORTIFY_SOURCE=2" gkermit --- gproto.c --- --- gkermit.o --- --- gunixio.o --- --- gcmdline.o --- --- gkermit.o --- cc -DPOSIX -O -O2 -DERRNO_H -fPIC -D_FORTIFY_SOURCE=2 -c gkermit.c --- gunixio.o --- cc -DPOSIX -O -O2 -DERRNO_H -fPIC -D_FORTIFY_SOURCE=2 -c gunixio.c --- gcmdline.o --- cc -DPOSIX -O -O2 -DERRNO_H -fPIC -D_FORTIFY_SOURCE=2 -c gcmdline.c --- gproto.c --- ./gwart gproto.w gproto.c 11 states, 20 actions --- gproto.o --- cc -DPOSIX -O -O2 -DERRNO_H -fPIC -D_FORTIFY_SOURCE=2 -c gproto.c --- gkermit.o --- gkermit.c: In function 'main': gkermit.c:188:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(ttname,dftty,DEVNAMLEN); /* Default device name. */ ^~~~~~~ gkermit.c:188:5: warning: incompatible implicit declaration of built-in function 'strncpy' gkermit.c:188:5: note: include '' or provide a declaration of 'strncpy' gkermit.c: In function 'ack1': gkermit.c:281:25: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] x = spacket('Y',seq,strlen(s),s); /* Send the packet */ ^~~~~~ gkermit.c:281:25: warning: incompatible implicit declaration of built-in function 'strlen' gkermit.c:281:25: note: include '' or provide a declaration of 'strlen' gkermit.c: In function 'errpkt': gkermit.c:315:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* Time to soak up incoming junk. */ ^~~~~ gkermit.c:316:26: warning: incompatible implicit declaration of built-in function 'strlen' spacket('E',seq,(int)strlen(s),s); /* Send Error packet. */ ^~~~~~ gkermit.c:316:26: note: include '' or provide a declaration of 'strlen' gkermit.c: In function 'sinit': gkermit.c:336:26: warning: incompatible implicit declaration of built-in function 'strlen' return(spacket(c,seq,strlen(s),s)); /* Send S or I packet */ ^~~~~~ gkermit.c:336:26: note: include '' or provide a declaration of 'strlen' gkermit.c: In function 'sfile': gkermit.c:351:7: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(pktnam,cmarg2,MAXPATHLEN); ^~~~~~~ gkermit.c:351:7: note: include '' or provide a declaration of 'strncpy' gkermit.c: In function 'sattr': gkermit.c:395:13: warning: incompatible implicit declaration of built-in function 'strlen' aln = (int)strlen((char *)(xdata+i+2)); ^~~~~~ gkermit.c:395:13: note: include '' or provide a declaration of 'strlen' gkermit.c:400:16: warning: incompatible implicit declaration of built-in function 'strlen' aln = (int)strlen((char *)xdata); /* Get overall length of attributes */ ^~~~~~ gkermit.c:400:16: note: include '' or provide a declaration of 'strlen' gkermit.c: In function 'seof': gkermit.c:471:22: warning: incompatible implicit declaration of built-in function 'strlen' x = spacket('Z',seq,strlen(s),s); /* Send EOF packet */ ^~~~~~ gkermit.c:471:22: note: include '' or provide a declaration of 'strlen' --- gcmdline.o --- gcmdline.c: In function 'cmdlin': gcmdline.c:80:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(gbuf,p,GBUFSIZ-1); /* Make a pokeable copy */ ^~~~~~~ gcmdline.c:80:2: warning: incompatible implicit declaration of built-in function 'strncpy' gcmdline.c:80:2: note: include '' or provide a declaration of 'strncpy' gcmdline.c: In function 'doarg': gcmdline.c:258:10: warning: implicit declaration of function 'atoi'; did you mean 'ttol'? [-Wimplicit-function-declaration] z = atoi(*xargv); /* Convert to number. */ ^~~~ ttol --- gkermit.o --- gkermit.c: In function 'spar': gkermit.c:956:6: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(buf,(char *)s+z+10,x); ^~~~~~~ gkermit.c:956:6: note: include '' or provide a declaration of 'strncpy' gkermit.c:960:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(buf,"U1")) { /* If UNIX, same as me... */ ^~~~~~ gkermit.c: In function 'gnfile': gkermit.c:1048:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(filnam,*cmlist++,MAXPATHLEN); ^~~~~~~ gkermit.c:1048:2: note: include '' or provide a declaration of 'strncpy' gkermit.c: In function 'rcvfil': gkermit.c:1062:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(myname,cmarg2,MAXPATHLEN); /* Use it */ ^~~~~~~ gkermit.c:1062:2: note: include '' or provide a declaration of 'strncpy' gkermit.c:1070:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(filnam,myname,MAXPATHLEN); ^~~~~~~ gkermit.c:1070:2: note: include '' or provide a declaration of 'strncpy' --- gunixio.o --- gunixio.c: In function 'doexit': gunixio.c:230:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(x); ^~~~ gunixio.c:230:5: warning: incompatible implicit declaration of built-in function 'exit' gunixio.c:230:5: note: include '' or provide a declaration of 'exit' gunixio.c: In function 'ttres': gunixio.c:510:5: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(1,"\015\012",2); ^~~~~ fwrite gunixio.c: In function 'ttchk': gunixio.c:520:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] x = read(0,&tinbuf[tlast],TINBUFSIZ-tlast); ^~~~ fread gunixio.c: In function 'ttinl': gunixio.c:602:2: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(timo); /* Set it. */ ^~~~~ gunixio.c: In function 'zchki': gunixio.c:861:9: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] if (access(fn,R_OK) < 0) { ^~~~~~ gunixio.c: In function 'zchko': gunixio.c:883:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(fn,"/dev/null")) /* Null device is OK. */ ^~~~~~ gunixio.c:889:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(work,fn,MAXPATHLEN); ^~~~~~~ gunixio.c:889:2: warning: incompatible implicit declaration of built-in function 'strncpy' gunixio.c:889:2: note: include '' or provide a declaration of 'strncpy' gunixio.c:892:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i = (int)strlen(s); i > 0; i--) { /* Strip filename from right */ ^~~~~~ gunixio.c:892:16: warning: incompatible implicit declaration of built-in function 'strlen' gunixio.c:892:16: note: include '' or provide a declaration of 'strlen' gunixio.c: In function 'zopeno': gunixio.c:925:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(ofile,name,MAXPATHLEN); ^~~~~~~ gunixio.c:925:2: note: include '' or provide a declaration of 'strncpy' gunixio.c: In function 'zltor': gunixio.c:949:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(pktnam,dirp,maxlen); ^~~~~~~ gunixio.c:949:2: note: include '' or provide a declaration of 'strncpy' gunixio.c:992:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(cp,work,maxlen); ^~~~~~~ gunixio.c:992:2: note: include '' or provide a declaration of 'strncpy' gunixio.c: In function 'zbackup': gunixio.c:1012:9: warning: incompatible implicit declaration of built-in function 'strlen' i = strlen(fn); /* Get length */ ^~~~~~ gunixio.c:1012:9: note: include '' or provide a declaration of 'strlen' gunixio.c:1018:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(work,fn,MAXPATHLEN); /* Make pokeable copy of name */ ^~~~~~~ gunixio.c:1018:5: note: include '' or provide a declaration of 'strncpy' gunixio.c:1062:10: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] if (link(fn,newname) < 0) { /* Rename old file to backup name */ ^~~~ gunixio.c:1066:17: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] } else if (unlink(fn) < 0) { ^~~~~~ gunixio.c: In function 'zrtol': gunixio.c:1088:2: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(lclnam,pktnam,maxlen); ^~~~~~~ gunixio.c:1088:2: note: include '' or provide a declaration of 'strncpy' gunixio.c:1106:6: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(lclnam,"NONAME",maxlen); /* do this... */ ^~~~~~~ gunixio.c:1106:6: note: include '' or provide a declaration of 'strncpy' --- gkermit --- cc -o gkermit gproto.o gkermit.o gunixio.o gcmdline.o