+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/beav-1.40.18nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/beav-1.40.18nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for beav-1.40.18nb1 --- basic.o --- --- ebcdic.o --- --- fileio.o --- --- region.o --- --- basic.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c basic.c --- ebcdic.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c ebcdic.c --- fileio.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c fileio.c --- region.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c region.c --- fileio.o --- fileio.c: In function 'fbackupfile': fileio.c:257:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 257 | source = fname; | ^ fileio.c:277:13: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 277 | strcat (backname, MSG_bak); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:35, from def.h:17, from fileio.c:16: /usr/include/iso/string_iso.h:73:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ fileio.c:279:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 279 | sprintf (buf, MSG_backup, fname, backname); | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:82, from def.h:15: /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ fileio.c:280:16: warning: pointer targets in passing argument 1 of 'writ_echo' differ in signedness [-Wpointer-sign] 280 | writ_echo (buf); | ^~~ | | | unsigned char * In file included from def.h:569: prototyp.h:67:30: note: expected 'char *' but argument is of type 'unsigned char *' 67 | extern void writ_echo (char *buf); | ~~~~~~^~~ fileio.c:281:13: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 281 | unlink (backname); | ^~~~~~~~ | | | unsigned char * In file included from fileio.c:6: /usr/include/unistd.h:558:19: note: expected 'const char *' but argument is of type 'unsigned char *' 558 | extern int unlink(const char *); | ^~~~~~~~~~~~ fileio.c:285:24: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 285 | if (rename (fname, backname) > 0) | ^~~~~~~~ | | | unsigned char * /usr/include/unistd.h:479:33: note: expected 'const char *' but argument is of type 'unsigned char *' 479 | extern int rename(const char *, const char *); | ^~~~~~~~~~~~ fileio.c:288:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 288 | sprintf (buf, MSG_back_er, fname, backname); | ^~~ | | | unsigned char * /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ fileio.c:289:19: warning: pointer targets in passing argument 1 of 'err_echo' differ in signedness [-Wpointer-sign] 289 | err_echo (buf); | ^~~ | | | unsigned char * prototyp.h:79:29: note: expected 'char *' but argument is of type 'unsigned char *' 79 | extern void err_echo (char *buf); | ~~~~~~^~~ --- text.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c text.c --- wangpc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c wangpc.c --- buffer.o --- --- echo.o --- --- buffer.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c buffer.c --- echo.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c echo.c echo.c: In function 'err_echo': echo.c:447:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 447 | while (ttgetc () != CTL_G); | ^~~~~ echo.c:448:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 448 | { | ^ --- language.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c language.c --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c main.c --- buffer.o --- buffer.c: In function 'makelist.part.0': buffer.c:419:26: warning: array subscript 4109 is above array bounds of 'char[128]' [-Warray-bounds=] 419 | while (cp1 < &line[1 + 1 + 1 + 1 + 6 + 1 + NBUFN + 1]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buffer.c:377:10: note: while referencing 'line' 377 | char line[128]; | ^~~~ --- main.o --- main.c: In function 'flush_all': main.c:349:25: warning: the comparison will always evaluate as 'true' for the address of 'b_fname' will never be NULL [-Waddress] 349 | if (bp->b_fname != NULL) | ^~ In file included from main.c:39: def.h:442:10: note: 'b_fname' declared here 442 | char b_fname[NFILEN]; /* File name */ | ^~~~~~~ --- echo.o --- echo.c: In function 'eread': echo.c:176:24: warning: 'sp2' may be used uninitialized [-Wmaybe-uninitialized] 176 | c = sp2->s_name[cpos]; | ~~~^~~~~~~~ echo.c:107:22: note: 'sp2' was declared here 107 | register SYMBOL *sp2; | ^~~ --- search.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c search.c search.c: In function 'readpattern': search.c:848:22: warning: pointer targets in passing argument 1 of 'bin_to_text' differ in signedness [-Wpointer-sign] 848 | bin_to_text (&cur_pat->l_text[curwp->w_loff], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from def.h:569, from search.c:8: prototyp.h:54:32: note: expected 'char *' but argument is of type 'unsigned char *' 54 | extern void bin_to_text (char *bin_buf, char *txt_buf, unsigned int len, struct ROW_FMT *fmt_ptr); | ~~~~~~^~~~~~~ search.c:856:26: warning: pointer targets in passing argument 1 of 'bin_to_text' differ in signedness [-Wpointer-sign] 856 | bin_to_text (&cur_mask->l_text[curwp->w_loff], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * prototyp.h:54:32: note: expected 'char *' but argument is of type 'unsigned char *' 54 | extern void bin_to_text (char *bin_buf, char *txt_buf, unsigned int len, struct ROW_FMT *fmt_ptr); | ~~~~~~^~~~~~~ search.c: In function 'replaceit': search.c:358:12: warning: 'abs_mark_p' may be used uninitialized [-Wmaybe-uninitialized] 358 | if (abs_mark_p > abs_dot_p) | ^ search.c:259:10: note: 'abs_mark_p' was declared here 259 | long abs_mark_p; /* absolute mark position */ | ^~~~~~~~~~ --- tty.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c tty.c --- window.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c window.c --- search.o --- search.c: In function 'readpattern': search.c:765:13: warning: 'mask_cod' may be used uninitialized [-Wmaybe-uninitialized] 765 | execute (mask_cod, FALSE, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:539:14: note: 'mask_cod' was declared here 539 | int cod, mask_cod, curs_pos, curs_pos1, prt_siz, i, doto, loff; | ^~~~~~~~ --- window.o --- window.c: In function 'screen_rows': window.c:512:18: warning: variable 'cur_wp_sav' set but not used [-Wunused-but-set-variable] 512 | WINDOW *wp, *cur_wp_sav; | ^~~~~~~~~~ --- cinfo.o --- --- extend.o --- --- cinfo.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c cinfo.c --- extend.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c extend.c extend.c: In function 'sort_buf': extend.c:169:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 169 | if (0 < strcmp (&lp1->l_text[HFUNCCOL], &lp2->l_text[HFUNCCOL])) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:35, from extend.c:4: /usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'unsigned char *' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ extend.c:169:53: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 169 | if (0 < strcmp (&lp1->l_text[HFUNCCOL], &lp2->l_text[HFUNCCOL])) | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:74:33: note: expected 'const char *' but argument is of type 'unsigned char *' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ --- kbd.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c kbd.c --- spawn.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c spawn.c --- ttyio.o --- --- extend.o --- extend.c: In function 'check_extend': extend.c:407:46: warning: '%s' directive writing up to 64 bytes into a region of size 39 [-Wformat-overflow=] 407 | sprintf (temp_b, "%s %s", MSG_unk_rc, keybind); | ^~ ~~~~~~~ extend.c:407:25: note: 'sprintf' output 2 or more bytes (assuming 66) into a destination of size 40 407 | sprintf (temp_b, "%s %s", MSG_unk_rc, keybind); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ttyio.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c ttyio.c --- termio.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c termio.c --- tcap.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c tcap.c --- termio.o --- termio.c: In function 'ttputc': termio.c:208:1: error: type of 'c' defaults to 'int' [-Wimplicit-int] 208 | ttputc (c) | ^~~~~~ --- word.o --- --- display.o --- --- termio.o --- *** [termio.o] Error code 1 bmake: stopped making "beav" in /home/pbulk/build/editors/beav/work/beav-140 --- display.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c display.c --- word.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUNIX -DBSD -Wall -I/opt/pkg/include/ncurses -c word.c --- tcap.o --- tcap.c: In function 'putpad': tcap.c:49:5: error: implicit declaration of function 'tputs'; did you mean 'eputs'? [-Wimplicit-function-declaration] 49 | tputs (str, 1, ttputc); | ^~~~~ | eputs tcap.c: In function 'tcapopen': tcap.c:79:10: error: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 79 | if ((tgetent (tcbuf, tv_stype)) != 1) | ^~~~~~~ | getenv tcap.c:104:25: error: implicit declaration of function 'tgetnum' [-Wimplicit-function-declaration] 104 | if ((nrow = (short) tgetnum ("li") - 1) == -1) | ^~~~~~~ *** [tcap.o] Error code 1 bmake: stopped making "beav" in /home/pbulk/build/editors/beav/work/beav-140 --- display.o --- display.c: In function 'bin_to_text': display.c:441:37: warning: pointer targets in passing argument 1 of 'get_int' differ in signedness [-Wpointer-sign] 441 | temp_int = get_int (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * In file included from def.h:569, from display.c:16: prototyp.h:55:47: note: expected 'unsigned char *' but argument is of type 'char *' 55 | extern unsigned short get_int (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:451:39: warning: pointer targets in passing argument 1 of 'get_long' differ in signedness [-Wpointer-sign] 451 | temp_long = get_long (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:56:47: note: expected 'unsigned char *' but argument is of type 'char *' 56 | extern unsigned long get_long (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:473:37: warning: pointer targets in passing argument 1 of 'get_int' differ in signedness [-Wpointer-sign] 473 | temp_int = get_int (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:55:47: note: expected 'unsigned char *' but argument is of type 'char *' 55 | extern unsigned short get_int (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:482:39: warning: pointer targets in passing argument 1 of 'get_long' differ in signedness [-Wpointer-sign] 482 | temp_long = get_long (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:56:47: note: expected 'unsigned char *' but argument is of type 'char *' 56 | extern unsigned long get_long (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:521:38: warning: pointer targets in passing argument 1 of 'get_double' differ in signedness [-Wpointer-sign] 521 | temp_d = get_double (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:57:42: note: expected 'unsigned char *' but argument is of type 'char *' 57 | extern double get_double (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:547:37: warning: pointer targets in passing argument 1 of 'get_int' differ in signedness [-Wpointer-sign] 547 | temp_int = get_int (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:55:47: note: expected 'unsigned char *' but argument is of type 'char *' 55 | extern unsigned short get_int (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:557:39: warning: pointer targets in passing argument 1 of 'get_long' differ in signedness [-Wpointer-sign] 557 | temp_long = get_long (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:56:47: note: expected 'unsigned char *' but argument is of type 'char *' 56 | extern unsigned long get_long (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:587:37: warning: pointer targets in passing argument 1 of 'get_int' differ in signedness [-Wpointer-sign] 587 | temp_int = get_int (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:55:47: note: expected 'unsigned char *' but argument is of type 'char *' 55 | extern unsigned short get_int (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c:606:39: warning: pointer targets in passing argument 1 of 'get_long' differ in signedness [-Wpointer-sign] 606 | temp_long = get_long (&bin_buf[i]); | ^~~~~~~~~~~ | | | char * prototyp.h:56:47: note: expected 'unsigned char *' but argument is of type 'char *' 56 | extern unsigned long get_long (unsigned char *w_buf); | ~~~~~~~~~~~~~~~^~~~~ display.c: In function 'update': display.c:845:18: warning: variable 'hflag' set but not used [-Wunused-but-set-variable] 845 | register int hflag; | ^~~~~ bmake: 2 errors bmake: stopped making "beav" in /home/pbulk/build/editors/beav/work/beav-140 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/beav *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/beav