=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fd-3.01bnb1 --- hmachine.sed --- --- config.h --- --- hmachine.sed --- echo '1,/^$/d' > hmachine.sed --- config.h --- cp config.hin config.h --- hmachine.h --- sed -n -e 's:machine.h:hmachine.h:g' -e '1,/^$/p' machine.h > hmachine.h sed -f hmachine.sed machine.h >> hmachine.h --- mkmfsed --- cc -DPREFIX='"'/opt/pkg'"' -DCONFDIR='"'/opt/pkg/etc'"' -DDICTSRC='"''''"' -DFD=3 -DCCCOMMAND='"'cc'"' -DHOSTCCCOMMAND='"'cc'"' -DCFLAGS='"''-pipe -Os -I/opt/pkg/include/ncurses''"' -DHOSTCFLAGS='"''''"' -DCPPFLAGS='"''''"' -DHOSTCPPFLAGS='"''''"' -DLDFLAGS='"''-L/opt/pkg/lib''"' -DHOSTLDFLAGS='"''''"' -o mkmfsed mkmfsed.c mkmfsed.c:67:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static CONST char *NEAR Xstrstr(s1, s2) ^ mkmfsed.c:88:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VOID NEAR strappend(buf, s) ^ mkmfsed.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ mkmfsed.c:302:48: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("s:__FDSETSIZE__:-DFD_SETSIZE=%d:\n", MAXOPENFILE); ~~ ^~~~~~~~~~~ %ld mkmfsed.c:20:22: note: expanded from macro 'MAXOPENFILE' #define MAXOPENFILE sysconf(_SC_OPEN_MAX) ^~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. --- mkmf.sed --- ./mkmfsed > mkmf.sed --- Makefile.tmp --- sed -f mkmf.sed Makefile.in > Makefile.tmp || (rm -f Makefile.tmp; exit 1) --- all --- make -f Makefile.tmp --- printf.o --- --- termio.o --- --- term.o --- --- printf.o --- cc -DDARWIN=1 -DLLVM=1 -O -pipe -Os -I/opt/pkg/include/ncurses -Wno-attributes -Wno-empty-body -DFD=3 -c -o printf.o printf.c --- termio.o --- cc -DDARWIN=1 -DLLVM=1 -O -pipe -Os -I/opt/pkg/include/ncurses -Wno-attributes -Wno-empty-body -DFD=3 -DFD_SETSIZE=-1 -c -o termio.o termio.c --- term.o --- cc -DDARWIN=1 -DLLVM=1 -O -pipe -Os -I/opt/pkg/include/ncurses -Wno-attributes -Wno-empty-body -DFD=3 -c -o term.o term.c --- termio.o --- In file included from termio.c:7: In file included from ./headers.h:25: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/types.h:184: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/_types/_fd_def.h:51:27: error: array is too large (576460752303423488 elements) __int32_t fds_bits[__DARWIN_howmany(__DARWIN_FD_SETSIZE, __DARWIN_NFDBITS)]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/_types/_fd_def.h:47:33: note: expanded from macro '__DARWIN_howmany' #define __DARWIN_howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1)) /* # y's == x bits? */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ termio.c:233:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int isvalidfd(fd) ^ termio.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int newdup(fd) ^ termio.c:271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int sureread(fd, buf, nbytes) ^ termio.c:307:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int surewrite(fd, buf, nbytes) ^ termio.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID safeclose(fd) ^ termio.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID safefclose(fp) ^ --- printf.o --- printf.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID getcharwidth(s, ptr, rwp, vwp) ^ --- termio.o --- termio.c:380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int opentty(fdp, fpp) ^ termio.c:419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID closetty(fdp, fpp) ^ termio.c:434:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID closeonexec(fd) ^ termio.c:443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xioctl(fd, request, argp) ^ termio.c:472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xtcgetattr(fd, t) ^ termio.c:499:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xtcsetattr(fd, action, t) ^ termio.c:526:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xtcflush(fd, selector) ^ termio.c:556:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID loadtermio(fd, tty, ws) ^ termio.c:595:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID savetermio(fd, ttyp, wsp) ^ --- term.o --- term.c:814:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR chkctrl(key) ^ --- termio.o --- termio.c:685:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int sureselect(nfd, fds, result, vp, flags) ^ --- term.o --- term.c:828:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR getctrl(buf, ccbuf) ^ --- termio.o --- 16 warnings and 1 error generated. --- term.o --- term.c:870:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID inittty(reset) ^ --- printf.o --- printf.c:97:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int strlen3(s) ^ printf.c:112:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR gencntrl(buf, c, pbufp) ^ printf.c:143:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR setcntrl(c, len, pbufp) ^ printf.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getnum(s, ptrp) ^ --- termio.o --- *** [termio.o] Error code 1 make[1]: stopped in /Users/pbulk/build/misc/fd/work/FD-3.01b --- printf.o --- printf.c:171:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (n > MAXTYPE(int) / 10 ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ printf.c:172:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] || (n == MAXTYPE(int) / 10 ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ printf.c:173:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] && s[i] > (char)(MAXTYPE(int) % 10) + '0')) ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' #define MAXTYPE(t) ((t)~MINTYPE(t)) ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ ~~~~~~~~~~~~ ^ printf.c:183:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR checkchar(n, pbufp) ^ printf.c:193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int setchar(n, pbufp) ^ --- term.o --- term.c:926:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VOID NEAR ttymode(set, reset, iset, ireset, oset, oreset, vmin, vtime) ^ term.c:1055:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int savettyio(reset) ^ term.c:1080:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID ttyiomode(isnl) ^ --- printf.o --- printf.c:226:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR setint(u, base, pbufp, width, prec) ^ --- term.o --- term.c:1155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int termmode(init) ^ term.c:1173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID exit2(n) ^ term.c:1190:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VOID NEAR terror(mes) ^ term.c:1215:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *NEAR tstrdup(s) ^ term.c:1280:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR Xungetch(c) ^ --- printf.o --- printf.c:367:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR unitint(u, base, pbufp, width, prec) ^ --- term.o --- term.c:1316:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR maxlocate(yp, xp) ^ term.c:1345:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR pollterm(first) ^ --- printf.o --- printf.c:425:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR setstr(s, pbufp, width, prec) ^ --- term.o --- term.c:1364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getxy(xp, yp) ^ --- printf.o --- printf.c:561:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int NEAR commonprintf(pbufp, fmt, args) ^ --- term.o --- term.c:1446:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *NEAR tparamstr(s, arg1, arg2) ^ --- printf.o --- printf.c:775:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xvasprintf(sp, fmt, args) ^ --- term.o --- term.c:1568:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *NEAR tgetstr2(term, s) ^ term.c:1599:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *NEAR tgetstr3(term, str1, str2) ^ term.c:1648:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *NEAR tgetkeyseq(n, s) ^ term.c:1691:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static kstree_t *NEAR newkeyseqtree(parent, num) ^ term.c:1719:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VOID NEAR freekeyseqtree(list, n) ^ term.c:1731:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int cmpkeyseq(vp1, vp2) ^ --- printf.o --- printf.c:813:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xvsnprintf(s, size, fmt, args) ^ printf.c:851:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xvfprintf(fp, fmt, args) ^ printf.c:905:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int fputnl(fp) ^ --- term.o --- term.c:1775:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID getterment(s) ^ --- printf.o --- printf.c:914:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID kanjifputs(s, fp) ^ --- term.o --- term.c:2066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID regetterment(s, tty) ^ term.c:2109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getdefkeyseq(kp) ^ term.c:2126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID setkeyseq(n, str, len) ^ term.c:2162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getkeyseq(kp) ^ term.c:2179:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] keyseq_t *copykeyseq(list) ^ term.c:2223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID freekeyseq(list) ^ term.c:2235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int tputparam(n, arg1, arg2, cnt) ^ term.c:2274:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID putterm(n) ^ term.c:2420:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Xputch(c) ^ term.c:2946:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID Xcputs(s) ^ term.c:2954:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int putch2(c) ^ term.c:2960:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID tputs2(s, n) ^ term.c:2967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID putterms(n) ^ term.c:2982:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int kbhit2(usec) ^ term.c:3021:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static kstree_t *NEAR searchkeyseq(key, p, ptr) ^ term.c:3036:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getkey2(sig, code, timeout) ^ term.c:3114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getkey3(sig, code, timeout) ^ term.c:3128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ungetkey2(c, desc) ^ term.c:3151:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int setscroll(s, e) ^ term.c:3157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID locate(x, y) ^ term.c:3168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *getwsize(xmax, ymax) ^ term.c:3226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID setwsize(fd, xmax, ymax) ^ term.c:3260:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int cvasprintf(sp, fmt, args) ^ term.c:3325:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int kanjiputs(s) ^ term.c:3331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID attrputs(s, isstandout) ^ term.c:3367:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int attrkanjiputs(s, isstandout) ^ term.c:3374:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID chgcolor(color, reverse) ^ term.c:3396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID movecursor(n1, n2, c) ^ --- printf.o --- 19 warnings generated. --- term.o --- 50 warnings generated. 1 error make[1]: stopped in /Users/pbulk/build/misc/fd/work/FD-3.01b *** [all] Error code 2 bmake: stopped in /Users/pbulk/build/misc/fd/work/FD-3.01b 1 error bmake: stopped in /Users/pbulk/build/misc/fd/work/FD-3.01b *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/misc/fd *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/misc/fd