=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/fd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fd-3.01bnb2 --- 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 C23 [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 106 | int main(argc, argv) | ^ mkmfsed.c:302:48: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 302 | printf("s:__FDSETSIZE__:-DFD_SETSIZE=%d:\n", MAXOPENFILE); | ~~ ^~~~~~~~~~~ | %ld mkmfsed.c:20:22: note: expanded from macro 'MAXOPENFILE' 20 | #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 --- --- 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 In file included from termio.c:7: In file included from ./headers.h:25: In file included from /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/types.h:187: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_types/_fd_def.h:51:27: error: array is too large (576460752303423488 elements) 51 | __int32_t fds_bits[__DARWIN_howmany(__DARWIN_FD_SETSIZE, __DARWIN_NFDBITS)]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_types/_fd_def.h:47:33: note: expanded from macro '__DARWIN_howmany' 47 | #define __DARWIN_howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1)) /* # y's == x bits? */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- printf.o --- printf.c:28:45: error: unknown type name 'printbuf_t' 28 | static int NEAR gencntrl __P_((char *, int, printbuf_t *)); | ^ printf.c:29:42: error: unknown type name 'printbuf_t' 29 | static int NEAR setcntrl __P_((int, int, printbuf_t *)); | ^ printf.c:31:38: error: unknown type name 'printbuf_t' 31 | static int NEAR checkchar __P_((int, printbuf_t *)); | ^ printf.c:32:45: error: unknown type name 'printbuf_t' 32 | static int NEAR setint __P_((u_long_t, int, printbuf_t *, int, int)); | ^ printf.c:34:46: error: unknown type name 'printbuf_t' 34 | static int NEAR unitint __P_((u_long_t, int, printbuf_t *, int, int)); | ^ printf.c:36:44: error: unknown type name 'printbuf_t' 36 | static int NEAR setstr __P_((CONST char *, printbuf_t *, int, int)); | ^ printf.c:37:36: error: unknown type name 'printbuf_t' 37 | static int NEAR commonprintf __P_((printbuf_t *, CONST char *, va_list)); | ^ printf.c:47:2: error: use of undeclared identifier 'VF_MINUS' 47 | VF_MINUS, VF_ZERO, VF_THOUSAND, | ^ printf.c:47:12: error: use of undeclared identifier 'VF_ZERO' 47 | VF_MINUS, VF_ZERO, VF_THOUSAND, | ^ --- termio.o --- termio.c:233:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 251 | 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 C23 [-Wdeprecated-non-prototype] 271 | 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 C23 [-Wdeprecated-non-prototype] --- printf.o --- printf.c:47:21: error: use of undeclared identifier 'VF_THOUSAND' --- termio.o --- 307 | int surewrite(fd, buf, nbytes) | ^ --- printf.o --- 47 | VF_MINUS, VF_ZERO, VF_THOUSAND, --- termio.o --- termio.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- printf.o --- | ^ --- termio.o --- 355 | 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 C23 [-Wdeprecated-non-prototype] 367 | 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 C23 [-Wdeprecated-non-prototype] 380 | 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 C23 [-Wdeprecated-non-prototype] 419 | 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 C23 [-Wdeprecated-non-prototype] 434 | VOID closeonexec(fd) | ^ --- printf.o --- printf.c:49:2: error: use of undeclared identifier 'VF_PLUS' --- termio.o --- termio.c:443:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | int Xioctl(fd, request, argp) | ^ --- printf.o --- 49 | VF_PLUS, VF_SPACE, VF_STRICTWIDTH, VF_PRINTABLE, VF_SIZEUNIT, | ^ --- termio.o --- termio.c:472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | 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 C23 [-Wdeprecated-non-prototype] 499 | 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 C23 [-Wdeprecated-non-prototype] 526 | 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 C23 [-Wdeprecated-non-prototype] 556 | VOID loadtermio(fd, tty, ws) | ^ --- printf.o --- printf.c:49:11: error: use of undeclared identifier 'VF_SPACE' --- termio.o --- termio.c:595:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | VOID savetermio(fd, ttyp, wsp) | ^ --- printf.o --- 49 | VF_PLUS, VF_SPACE, VF_STRICTWIDTH, VF_PRINTABLE, VF_SIZEUNIT, | ^ --- 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 C23 [-Wdeprecated-non-prototype] 685 | int sureselect(nfd, fds, result, vp, flags) | ^ 16 warnings and 1 error generated. --- printf.o --- printf.c:49:21: error: use of undeclared identifier 'VF_STRICTWIDTH' 49 | VF_PLUS, VF_SPACE, VF_STRICTWIDTH, VF_PRINTABLE, VF_SIZEUNIT, | ^ printf.c:49:37: error: use of undeclared identifier 'VF_PRINTABLE' 49 | VF_PLUS, VF_SPACE, VF_STRICTWIDTH, VF_PRINTABLE, VF_SIZEUNIT, | ^ printf.c:49:51: error: use of undeclared identifier 'VF_SIZEUNIT' 49 | VF_PLUS, VF_SPACE, VF_STRICTWIDTH, VF_PRINTABLE, VF_SIZEUNIT, | ^ printf.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 97 | int strlen3(s) | ^ printf.c:112:34: warning: parameter 'pbufp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 112 | static int NEAR gencntrl(buf, c, pbufp) | ^ 113 | char *buf; 114 | int c; 115 | printbuf_t *pbufp; printf.c:115:1: error: expected function body after function declarator 115 | printbuf_t *pbufp; | ^ printf.c:116:1: error: expected identifier or '(' 116 | { | ^ printf.c:143:34: warning: parameter 'pbufp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | static int NEAR setcntrl(c, len, pbufp) | ^ 144 | int c, len; 145 | printbuf_t *pbufp; printf.c:145:1: error: expected function body after function declarator 145 | printbuf_t *pbufp; | ^ printf.c:146:1: error: expected identifier or '(' 146 | { | ^ printf.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | int getnum(s, ptrp) | ^ printf.c:171:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 171 | if (n > MAXTYPE(int) / 10 | ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' 38 | #define MAXTYPE(t) ((t)~MINTYPE(t)) | ^~~~~~~~~~ --- termio.o --- *** [termio.o] Error code 1 make[1]: stopped making "all" in /var/tmp/work/misc/fd/work/FD-3.01b --- printf.o --- ./typesize.h:36:39: note: expanded from macro 'MINTYPE' 36 | #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ | ~~~~~~~~~~~~ ^ printf.c:172:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 172 | || (n == MAXTYPE(int) / 10 | ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' 38 | #define MAXTYPE(t) ((t)~MINTYPE(t)) | ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' 36 | #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ | ~~~~~~~~~~~~ ^ printf.c:173:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 173 | && s[i] > (char)(MAXTYPE(int) % 10) + '0')) | ^~~~~~~~~~~~ ./typesize.h:38:26: note: expanded from macro 'MAXTYPE' 38 | #define MAXTYPE(t) ((t)~MINTYPE(t)) | ^~~~~~~~~~ ./typesize.h:36:39: note: expanded from macro 'MINTYPE' 36 | #define MINTYPE(t) ((t)(_MAXUTYPE(t) << \ | ~~~~~~~~~~~~ ^ printf.c:183:30: warning: parameter 'pbufp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | static int NEAR checkchar(n, pbufp) | ^ 184 | int n; 185 | printbuf_t *pbufp; fatal error: too many errors emitted, stopping now [-ferror-limit=] 9 warnings and 20 errors generated. *** [printf.o] Error code 1 make[1]: stopped making "all" in /var/tmp/work/misc/fd/work/FD-3.01b make[1]: 2 errors make[1]: stopped making "all" in /var/tmp/work/misc/fd/work/FD-3.01b *** [all] Error code 2 bmake: stopped making "all" in /var/tmp/work/misc/fd/work/FD-3.01b bmake: 1 error bmake: stopped making "all" in /var/tmp/work/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