+ 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/fep-1.0nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fep-1.0nb3/work.log ===> Building for fep-1.0nb3 cd /home/pbulk/build/misc/fep/work && for i in *.[ch]; do /usr/bin/sed "s,#endif lint,#endif /* lint */,g" ${i} > ${i}.new && /usr/bin/mv -f ${i}.new ${i}; done gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DTERMIOS -DHAVE_PTMX -I/opt/pkg/include/ncurses -c fep_main.c fep_main.c:122:1: error: return type defaults to 'int' [-Wimplicit-int] 122 | main(argc, argv) | ^~~~ fep_main.c: In function 'main': fep_main.c:141:5: error: implicit declaration of function 'init_bind_table' [-Wimplicit-function-declaration] 141 | init_bind_table (); | ^~~~~~~~~~~~~~~ fep_main.c:146:5: error: implicit declaration of function 'set_default_vars' [-Wimplicit-function-declaration] 146 | set_default_vars (); | ^~~~~~~~~~~~~~~~ In file included from fep_main.c:31: fep_defs.h:26:26: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 26 | #define eq(a,b) (strcmp(a,b) == 0) | ^~~~~~ fep_main.c:153:37: note: in expansion of macro 'eq' 153 | if ((cp=getenv("EDITMODE")) && (eq(cp,"emacs")||eq(cp,"vi"))) | ^~ fep_main.c:34:1: note: include '' or provide a declaration of 'strcmp' 33 | #include "fep_funcs.h" +++ |+#include 34 | #ifdef STAT fep_main.c:154:9: error: implicit declaration of function 'set_only_var' [-Wimplicit-function-declaration] 154 | set_only_var ("editmode", cp); | ^~~~~~~~~~~~ fep_main.c:194:25: error: implicit declaration of function 'usageAndExit' [-Wimplicit-function-declaration] 194 | usageAndExit (); | ^~~~~~~~~~~~ fep_main.c:234:5: error: implicit declaration of function 'look_cmdinfo' [-Wimplicit-function-declaration] 234 | look_cmdinfo (argv[1]); | ^~~~~~~~~~~~ fep_main.c:242:13: error: implicit declaration of function 'any' [-Wimplicit-function-declaration] 242 | if (any ('/', cp)) | ^~~ fep_main.c:244:9: error: implicit declaration of function 'set_var' [-Wimplicit-function-declaration] 244 | set_var (cp, "1"); | ^~~~~~~ fep_main.c:251:9: error: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 251 | execvp (*commandv, commandv, 0); | ^~~~~~ fep_main.c:251:9: warning: too many arguments to built-in function 'execvp' expecting 2 [-Wbuiltin-declaration-mismatch] fep_main.c:256:5: error: implicit declaration of function 'get_pty_master' [-Wimplicit-function-declaration] 256 | get_pty_master (); | ^~~~~~~~~~~~~~ fep_main.c:257:5: error: implicit declaration of function 'fix_tty' [-Wimplicit-function-declaration] 257 | fix_tty (); | ^~~~~~~ fep_main.c:266:5: error: implicit declaration of function 'init_hist' [-Wimplicit-function-declaration] 266 | init_hist (histlen); | ^~~~~~~~~ fep_main.c:267:5: error: implicit declaration of function 'init_edit_params' [-Wimplicit-function-declaration] 267 | init_edit_params (); | ^~~~~~~~~~~~~~~~ fep_main.c:277:14: error: implicit declaration of function 'set_buffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] 277 | if (!set_buffer (output_buffer, size)) { | ^~~~~~~~~~ | setbuffer fep_main.c:279:13: error: implicit declaration of function 'kill_process' [-Wimplicit-function-declaration] 279 | kill_process (); | ^~~~~~~~~~~~ fep_main.c:285:21: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 285 | child_pid = fork (); | ^~~~ fep_main.c:292:13: error: implicit declaration of function 'exec_to_command' [-Wimplicit-function-declaration] 292 | exec_to_command (commandv); | ^~~~~~~~~~~~~~~ fep_main.c:294:5: error: implicit declaration of function 'fix_signal'; did you mean 'bsd_signal'? [-Wimplicit-function-declaration] 294 | fix_signal (); | ^~~~~~~~~~ | bsd_signal fep_main.c:296:5: error: implicit declaration of function 'input_handler'; did you mean 'sa_handler'? [-Wimplicit-function-declaration] 296 | input_handler (); | ^~~~~~~~~~~~~ | sa_handler fep_main.c: At top level: fep_main.c:299:1: error: return type defaults to 'int' [-Wimplicit-int] 299 | fix_signal () | ^~~~~~~~~~ fep_main.c:313:1: error: return type defaults to 'int' [-Wimplicit-int] 313 | recover_signal () | ^~~~~~~~~~~~~~ fep_main.c:321:1: error: return type defaults to 'int' [-Wimplicit-int] 321 | input_handler() | ^~~~~~~~~~~~~ fep_main.c: In function 'input_handler': fep_main.c:339:35: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) | ^ fep_main.c:339:35: note: include '' or provide a declaration of 'strlen' 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) | ^ fep_main.c:339:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) | ^ fep_main.c:339:35: note: include '' or provide a declaration of 'strlen' 339 | register int nbyte = max (strlen (inputline), 1); | ^~~~~~ fep_defs.h:28:27: note: in definition of macro 'max' 28 | #define max(a,b) ((a)>(b)?(a):(b)) | ^ fep_main.c:344:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 344 | write (master, inputline, nbyte); | ^~~~~ | fwrite fep_main.c: At top level: fep_main.c:406:1: error: return type defaults to 'int' [-Wimplicit-int] 406 | getcharacter() | ^~~~~~~~~~~~ fep_main.c: In function 'getcharacter': fep_main.c:445:17: error: implicit declaration of function 'buf_read'; did you mean 'fread'? [-Wimplicit-function-declaration] 445 | nbyte = buf_read (master, output_buffer); | ^~~~~~~~ | fread fep_main.c: In function 'buf_read': fep_main.c:565:13: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 565 | nbyte = read (fd, bp->b_buf + bp->b_next, bp->b_max - bp->b_next); | ^~~~ | fread fep_main.c: At top level: fep_main.c:591:1: error: return type defaults to 'int' [-Wimplicit-int] 591 | buf_put (bp, s) | ^~~~~~~ fep_main.c: In function 'buf_put': fep_main.c:598:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 598 | nbyte = strlen (s); | ^~~~~~ fep_main.c:598:13: note: include '' or provide a declaration of 'strlen' fep_main.c:603:9: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 603 | strncpy (bp->b_buf + bp->b_next, s, slen); | ^~~~~~~ fep_main.c:603:9: note: include '' or provide a declaration of 'strncpy' fep_main.c:603:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] fep_main.c:603:9: note: include '' or provide a declaration of 'strncpy' fep_main.c: At top level: fep_main.c:618:1: error: return type defaults to 'int' [-Wimplicit-int] 618 | swallow_output() | ^~~~~~~~~~~~~~ fep_main.c: In function 'swallow_output': fep_main.c:652:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 652 | return; | ^~~~~~ fep_main.c:618:1: note: declared here 618 | swallow_output() | ^~~~~~~~~~~~~~ fep_main.c: In function 'catchsig': fep_main.c:671:13: error: implicit declaration of function 'message' [-Wimplicit-function-declaration] 671 | message ("Child has stopped!!\n"); | ^~~~~~~ fep_main.c: At top level: fep_main.c:679:1: error: return type defaults to 'int' [-Wimplicit-int] 679 | exec_to_command(argv) | ^~~~~~~~~~~~~~~ fep_main.c: In function 'exec_to_command': fep_main.c:689:9: error: implicit declaration of function 'ioctl'; did you mean 'toctrl'? [-Wimplicit-function-declaration] 689 | ioctl (t, TIOCNOTTY, (char *) 0); | ^~~~~ | toctrl fep_main.c:690:16: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 690 | (void) close (t); | ^~~~~ | pclose fep_main.c:693:5: error: implicit declaration of function 'get_pty_slave' [-Wimplicit-function-declaration] 693 | get_pty_slave (); | ^~~~~~~~~~~~~ fep_main.c:706:5: warning: too many arguments to built-in function 'execvp' expecting 2 [-Wbuiltin-declaration-mismatch] 706 | execvp (*argv, argv, 0); | ^~~~~~ fep_main.c: At top level: fep_main.c:712:1: error: return type defaults to 'int' [-Wimplicit-int] 712 | fix_tty() | ^~~~~~~ fep_main.c:771:1: error: return type defaults to 'int' [-Wimplicit-int] 771 | kill_process() | ^~~~~~~~~~~~ fep_main.c: In function 'terminate': fep_main.c:793:19: error: implicit declaration of function 'lookd_var'; did you mean 'look_var'? [-Wimplicit-function-declaration] 793 | num = lookd_var ("savehist"); | ^~~~~~~~~ | look_var fep_main.c:794:13: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 794 | strcpy (buf, mk_home_relative (cp)); | ^~~~~~ fep_main.c:794:13: note: include '' or provide a declaration of 'strcpy' fep_main.c:794:13: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] fep_main.c:794:13: note: include '' or provide a declaration of 'strcpy' fep_main.c:795:13: error: implicit declaration of function 'save_history'; did you mean 'show_history'? [-Wimplicit-function-declaration] 795 | save_history (buf, num); | ^~~~~~~~~~~~ | show_history fep_main.c: At top level: fep_main.c:821:1: error: return type defaults to 'int' [-Wimplicit-int] 821 | get_pty_master() | ^~~~~~~~~~~~~~ fep_main.c: In function 'get_pty_master': fep_main.c:829:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 829 | return; | ^~~~~~ fep_main.c:821:1: note: declared here 821 | get_pty_master() | ^~~~~~~~~~~~~~ fep_main.c:861:15: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 861 | (void)strncpy (slave_tty, ptr, sizeof(slave_tty)); | ^~~~~~~ fep_main.c:861:15: note: include '' or provide a declaration of 'strncpy' fep_main.c:927:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 927 | return; | ^~~~~~ fep_main.c:821:1: note: declared here 821 | get_pty_master() | ^~~~~~~~~~~~~~ fep_main.c: At top level: fep_main.c:930:1: error: return type defaults to 'int' [-Wimplicit-int] 930 | get_pty_slave() | ^~~~~~~~~~~~~ fep_main.c: In function 'get_pty_slave': fep_main.c:938:9: error: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] 938 | if (setsid() == -1) | ^~~~~~ fep_main.c: At top level: fep_main.c:973:1: error: return type defaults to 'int' [-Wimplicit-int] 973 | recover_tty() | ^~~~~~~~~~~ fep_main.c:984:1: error: return type defaults to 'int' [-Wimplicit-int] 984 | suspend() | ^~~~~~~ fep_main.c: In function 'suspend': fep_main.c:990:11: error: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 990 | pid = getpid (); | ^~~~~~ | getpw fep_main.c: At top level: fep_main.c:1014:1: error: return type defaults to 'int' [-Wimplicit-int] 1014 | look_cmdinfo (command) | ^~~~~~~~~~~~ fep_main.c: In function 'look_cmdinfo': fep_main.c:1021:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 1021 | return; | ^~~~~~ fep_main.c:1014:1: note: declared here 1014 | look_cmdinfo (command) | ^~~~~~~~~~~~ fep_main.c: At top level: fep_main.c:1034:1: error: return type defaults to 'int' [-Wimplicit-int] 1034 | usageAndExit() | ^~~~~~~~~~~~ fep_main.c: In function 'sigwinch': fep_main.c:1052:25: error: implicit declaration of function 'itoa' [-Wimplicit-function-declaration] 1052 | set_var ("crt", itoa (win.ws_row)); | ^~~~ *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/misc/fep/work *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/fep *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/fep