=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for beav-1.40.18 gcc -g -DUNIX -DBSD -Wall -c basic.c basic.c:114:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] bool dot, fix, rel; ^ ./prototyp.h:8:57: note: previous declaration is here extern char move_ptr (struct WINDOW *wp, long len, char dot, char fix, char rel); ^ basic.c:114:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] bool dot, fix, rel; ^ ./prototyp.h:8:67: note: previous declaration is here extern char move_ptr (struct WINDOW *wp, long len, char dot, char fix, char rel); ^ basic.c:114:20: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] bool dot, fix, rel; ^ ./prototyp.h:8:77: note: previous declaration is here extern char move_ptr (struct WINDOW *wp, long len, char dot, char fix, char rel); ^ 3 warnings generated. gcc -g -DUNIX -DBSD -Wall -c ebcdic.c ebcdic.c:50:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char ch; ^ ./prototyp.h:69:29: note: previous declaration is here extern char to_ebcdic (char ch); ^ 1 warning generated. gcc -g -DUNIX -DBSD -Wall -c fileio.c fileio.c:257:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] source = fname; ^ ~~~~~ fileio.c:277:13: warning: passing 'unsigned char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (backname, MSG_bak); ^~~~~~~~ /usr/include/string.h:54:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ fileio.c:279:14: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, MSG_backup, fname, backname); ^~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ fileio.c:280:16: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] writ_echo (buf); ^~~ ./prototyp.h:67:30: note: passing argument to parameter 'buf' here extern void writ_echo (char *buf); ^ fileio.c:281:13: warning: passing 'unsigned char [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink (backname); ^~~~~~~~ /usr/include/unistd.h:144:25: note: passing argument to parameter here int unlink(const char *); ^ fileio.c:285:24: warning: passing 'unsigned char [4096]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (rename (fname, backname) > 0) ^~~~~~~~ /usr/include/stdio.h:282:40: note: passing argument to parameter here int rename (const char *, const char *); ^ fileio.c:288:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (buf, MSG_back_er, fname, backname); ^~~ /usr/include/stdio.h:271:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ fileio.c:289:12: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] err_echo (buf); ^~~ ./prototyp.h:79:29: note: passing argument to parameter 'buf' here extern void err_echo (char *buf); ^ 8 warnings generated. gcc -g -DUNIX -DBSD -Wall -c region.c gcc -g -DUNIX -DBSD -Wall -c text.c gcc -g -DUNIX -DBSD -Wall -c wangpc.c gcc -g -DUNIX -DBSD -Wall -c buffer.c buffer.c:419:20: warning: array index 4109 is past the end of the array (which contains 128 elements) [-Warray-bounds] while (cp1 < &line[1 + 1 + 1 + 1 + 6 + 1 + NBUFN + 1]) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer.c:377:5: note: array 'line' declared here char line[128]; ^ buffer.c:902:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] D8 ch; ^ ./prototyp.h:44:61: note: previous declaration is here extern char b_append_c (struct BUFFER *buf_p, unsigned char ch); ^ 2 warnings generated. gcc -g -DUNIX -DBSD -Wall -c echo.c gcc -g -DUNIX -DBSD -Wall -c language.c gcc -g -DUNIX -DBSD -Wall -c main.c main.c:537:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (buf, cp); ^~ 1 warning generated. gcc -g -DUNIX -DBSD -Wall -c search.c search.c:708:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (ERR_rdpat); ^~~~~~~~~ search.c:848:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_to_text (&cur_pat->l_text[curwp->w_loff], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./prototyp.h:54:32: note: passing argument to parameter 'bin_buf' here extern void bin_to_text (char *bin_buf, char *txt_buf, unsigned int len, struct ROW_FMT *fmt_ptr); ^ search.c:856:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bin_to_text (&cur_mask->l_text[curwp->w_loff], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./prototyp.h:54:32: note: passing argument to parameter 'bin_buf' here extern void bin_to_text (char *bin_buf, char *txt_buf, unsigned int len, struct ROW_FMT *fmt_ptr); ^ 3 warnings generated. gcc -g -DUNIX -DBSD -Wall -c tty.c gcc -g -DUNIX -DBSD -Wall -c window.c gcc -g -DUNIX -DBSD -Wall -c cinfo.c gcc -g -DUNIX -DBSD -Wall -c extend.c extend.c:169:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 < strcmp (&lp1->l_text[HFUNCCOL], &lp2->l_text[HFUNCCOL])) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ extend.c:169:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 < strcmp (&lp1->l_text[HFUNCCOL], &lp2->l_text[HFUNCCOL])) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:56:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ extend.c:228:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (buf, MSG_wall_head); ^~~~~~~~~~~~~ 3 warnings generated. gcc -g -DUNIX -DBSD -Wall -c kbd.c kbd.c:112:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (&cp[strlen (cp)], MSG_fn); ^~~~~~ kbd.c:122:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (&cp[strlen (cp)], MSG_esc); ^~~~~~~ kbd.c:134:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (&cp[strlen (cp)], MSG_ctl_x); ^~~~~~~~~ kbd.c:141:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (&cp[strlen (cp)], MSG_esc); ^~~~~~~ kbd.c:162:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (&cp[strlen (cp)], MSG_ctl); ^~~~~~~ 5 warnings generated. gcc -g -DUNIX -DBSD -Wall -c spawn.c gcc -g -DUNIX -DBSD -Wall -c ttyio.c gcc -g -DUNIX -DBSD -Wall -c termio.c termio.c:100:15: error: use of undeclared identifier 'TIOCGETP' ioctl (0, TIOCGETP, &otermb); /* save settings */ ^ termio.c:101:12: error: incomplete type 'struct sgttyb' is not assignable ntermb = otermb; /* setup new settings */ ~~~~~~ ^ termio.c:52:8: note: forward declaration of 'struct sgttyb' struct sgttyb otermb; ^ termio.c:102:11: error: incomplete definition of type 'struct sgttyb' ntermb.sg_flags &= ~ECHO; ~~~~~~^ termio.c:52:8: note: forward declaration of 'struct sgttyb' struct sgttyb otermb; ^ termio.c:102:25: error: use of undeclared identifier 'ECHO' ntermb.sg_flags &= ~ECHO; ^ termio.c:103:11: error: incomplete definition of type 'struct sgttyb' ntermb.sg_flags |= RAW; ~~~~~~^ termio.c:52:8: note: forward declaration of 'struct sgttyb' struct sgttyb otermb; ^ termio.c:103:24: error: use of undeclared identifier 'RAW' ntermb.sg_flags |= RAW; ^ termio.c:104:15: error: use of undeclared identifier 'TIOCSETP' ioctl (0, TIOCSETP, &ntermb); /* and activate them */ ^ termio.c:182:19: error: use of undeclared identifier 'TIOCSETP' if (ioctl (0, TIOCSETP, &otermb) == -1) /* restore terminal settings */ ^ termio.c:52:15: error: tentative definition has type 'struct sgttyb' that is never completed struct sgttyb otermb; ^ termio.c:52:8: note: forward declaration of 'struct sgttyb' struct sgttyb otermb; ^ termio.c:53:15: error: tentative definition has type 'struct sgttyb' that is never completed struct sgttyb ntermb; ^ termio.c:52:8: note: forward declaration of 'struct sgttyb' struct sgttyb otermb; ^ 10 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/editors/beav/work/beav-140 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/editors/beav *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/editors/beav