=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/spidermonkey", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spidermonkey-1.8.0rc1nb5 cat: cannot open ../../dist/SunOS5.11_i86pc_OPT.OBJ/nspr/Version: No such file or directory cd editline; /opt/pkg/bin/gmake -f Makefile.ref all gmake[1]: Entering directory '/tmp/work/lang/spidermonkey/work/js/src/editline' gcc -o SunOS5.11_i86pc_OPT.OBJ/editline.o -c -DJS_USE_FDLIBM_MATH=0 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -Wall -Wno-format -L/opt/pkg/lib -Os -DXP_UNIX -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -UDEBUG -DNDEBUG -UDEBUG_ -DEDITLINE -ISunOS5.11_i86pc_OPT.OBJ -Wall -Wno-format -DXP_UNIX -Os -DXP_UNIX -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy -DPIC -fPIC -UDEBUG -DNDEBUG -UDEBUG_ -DJSFILE -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX -DHAVE_STDLIB -DUNIQUE_HISTORY editline.c editline.c: In function 'TTYflush': editline.c:173:15: error: too many arguments to function 'write'; expected 0, have 3 173 | (void)write(1, Screen, ScreenCount); | ^~~~~ ~ editline.c:158:17: note: declared here 158 | extern int write(); | ^~~~~ editline.c: In function 'TTYput': editline.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | TTYput(c) | ^~~~~~ editline.c: In function 'TTYputs': editline.c:190:1: warning: old-style function definition [-Wold-style-definition] 190 | TTYputs(p) | ^~~~~~~ editline.c: In function 'TTYshow': editline.c:198:1: warning: old-style function definition [-Wold-style-definition] 198 | TTYshow(c) | ^~~~~~~ editline.c: In function 'TTYstring': editline.c:219:1: warning: old-style function definition [-Wold-style-definition] 219 | TTYstring(p) | ^~~~~~~~~ editline.c: In function 'TTYget': editline.c:238:12: error: too many arguments to function 'read'; expected 0, have 3 238 | return read(0, &c, (SIZE_T)1) == 1 ? c : EOF; | ^~~~ ~ editline.c:157:17: note: declared here 157 | extern int read(); | ^~~~ editline.c: In function 'TTYbackn': editline.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | TTYbackn(n) | ^~~~~~~~ editline.c: In function 'left': editline.c:320:1: warning: old-style function definition [-Wold-style-definition] 320 | left(Change) | ^~~~ editline.c: In function 'right': editline.c:337:1: warning: old-style function definition [-Wold-style-definition] 337 | right(Change) | ^~~~~ editline.c: In function 'do_macro': editline.c:354:1: warning: old-style function definition [-Wold-style-definition] 354 | do_macro(c) | ^~~~~~~~ editline.c: In function 'do_forward': editline.c:372:1: warning: old-style function definition [-Wold-style-definition] 372 | do_forward(move) | ^~~~~~~~~~ editline.c: In function 'do_case': editline.c:397:1: warning: old-style function definition [-Wold-style-definition] 397 | do_case(type) | ^~~~~~~ editline.c: In function 'insert_string': editline.c:473:1: warning: old-style function definition [-Wold-style-definition] 473 | insert_string(p) | ^~~~~~~~~~~~~ editline.c: In function 'do_insert_hist': editline.c:534:1: warning: old-style function definition [-Wold-style-definition] 534 | do_insert_hist(p) | ^~~~~~~~~~~~~~ editline.c: In function 'do_hist': editline.c:547:1: warning: old-style function definition [-Wold-style-definition] 547 | do_hist(move) | ^~~~~~~ editline.c: In function 'substrcmp': editline.c:589:1: warning: old-style function definition [-Wold-style-definition] 589 | substrcmp(text, pat, len) | ^~~~~~~~~ editline.c: In function 'search_hist': editline.c:605:1: warning: old-style function definition [-Wold-style-definition] 605 | search_hist(search, move) | ^~~~~~~~~~~ editline.c:629:15: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const char *, const char *, size_t)' {aka 'int (*)(const char *, const char *, long unsigned int)'} [-Wincompatible-pointer-types] 629 | match = strncmp; | ^ In file included from /usr/include/string.h:35, from editline.h:66, from editline.c:64: /usr/include/iso/string_iso.h:81:12: note: 'strncmp' declared here 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~ editline.c:639:14: error: too many arguments to function 'match'; expected 0, have 3 639 | if ((*match)((char *)H.Lines[H.Pos], pat, len) == 0) | ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ editline.c: In function 'save_yank': editline.c:695:1: warning: old-style function definition [-Wold-style-definition] 695 | save_yank(begin, i) | ^~~~~~~~~ editline.c: In function 'delete_string': editline.c:714:1: warning: old-style function definition [-Wold-style-definition] 714 | delete_string(count) | ^~~~~~~~~~~~~ editline.c: In function 'insert_char': editline.c:813:1: warning: old-style function definition [-Wold-style-definition] 813 | insert_char(c) | ^~~~~~~~~~~ editline.c: In function 'emacs': editline.c:878:1: warning: old-style function definition [-Wold-style-definition] 878 | emacs(c) | ^~~~~ editline.c: In function 'TTYspecial': editline.c:900:1: warning: old-style function definition [-Wold-style-definition] 900 | TTYspecial(c) | ^~~~~~~~~~ editline.c: In function 'hist_add': editline.c:974:1: warning: old-style function definition [-Wold-style-definition] 974 | hist_add(p) | ^~~~~~~~ editline.c: In function 'rl_reset_terminal': editline.c:997:1: warning: old-style function definition [-Wold-style-definition] 997 | rl_reset_terminal(p) | ^~~~~~~~~~~~~~~~~ editline.c: In function 'readline': editline.c:1008:1: warning: old-style function definition [-Wold-style-definition] 1008 | readline(prompt) | ^~~~~~~~ editline.c:1021:5: error: too many arguments to function 'rl_ttyset'; expected 0, have 1 1021 | rl_ttyset(0); | ^~~~~~~~~ ~ editline.h:118:17: note: declared here 118 | extern void rl_ttyset(); | ^~~~~~~~~ editline.c:1032:5: error: too many arguments to function 'rl_ttyset'; expected 0, have 1 1032 | rl_ttyset(1); | ^~~~~~~~~ ~ editline.h:118:17: note: declared here 118 | extern void rl_ttyset(); | ^~~~~~~~~ editline.c:1038:20: error: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 1038 | (void)kill(getpid(), s); | ^~~~~~ | getpw editline.c: In function 'add_history': editline.c:1044:1: warning: old-style function definition [-Wold-style-definition] 1044 | add_history(p) | ^~~~~~~~~~~ editline.c:1051:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1051 | if (H.Size && strcmp(p, H.Lines[H.Size - 1]) == 0) | ~~~~~~~^~~~~~~~~~~~ | | | CHAR * {aka unsigned char *} /usr/include/iso/string_iso.h:74:33: note: expected 'const char *' but argument is of type 'CHAR *' {aka 'unsigned char *'} 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ editline.c: In function 'argify': editline.c:1248:1: warning: old-style function definition [-Wold-style-definition] 1248 | argify(line, avp) | ^~~~~~ gmake[1]: *** [Makefile.ref:119: SunOS5.11_i86pc_OPT.OBJ/editline.o] Error 1 gmake[1]: Leaving directory '/tmp/work/lang/spidermonkey/work/js/src/editline' gmake: *** [rules.mk:65: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/spidermonkey *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/spidermonkey