WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fd-3.01bnb1 echo '1,/^$/d' > hmachine.sed cp config.hin config.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 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. ./mkmfsed > mkmf.sed sed -f mkmf.sed Makefile.in > Makefile.tmp || (rm -f Makefile.tmp; exit 1) make -f Makefile.tmp 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 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) ^ 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) ^ 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) ^ 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) ^ 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) ^ 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) ^ 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) ^ 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) ^ 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) ^ 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) ^ 19 warnings generated. 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 In file included from termio.c:7: In file included from ./headers.h:25: In file included from /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/types.h:187: /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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)]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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) ^ 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) ^ 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) ^ 16 warnings and 1 error generated. *** [termio.o] Error code 1 make[1]: stopped making "all" in /Users/pbulk/build/misc/fd/work/FD-3.01b make[1]: 1 error make[1]: stopped making "all" in /Users/pbulk/build/misc/fd/work/FD-3.01b *** [all] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/misc/fd/work/FD-3.01b bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/misc/fd/work/FD-3.01b *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/fd *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/fd