=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/baci", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for baci-20000725 cd /var/tmp/work/lang/baci/work/bacisrc/ccomp && /opt/pkg/bin/bmake gcc -g -Wall -c baccutil.c rm -f date.c (cd ../lib; make makedate) gcc -g -Wall -o makedate makedate.c makedate.c:24:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *ctime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:113:18: note: conflicting prototype is here 113 | char *_LIBC_CSTR ctime(const time_t *); | ^ makedate.c:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 25 | time_t theTime,time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ 2 warnings generated. ../lib/makedate gcc -g -Wall -c date.c bison -y -tvd bac.y bac.y:245.17-18: warning: symbol NE redeclared [-Wother] 245 | %token NE LE GE NE EQ OR AND PLPL MIMI | ^~ bac.y:245.8-9: note: previous declaration 245 | %token NE LE GE NE EQ OR AND PLPL MIMI | ^~ mv -f y.tab.c gram.c mv -f y.tab.h ytab.h chmod 444 gram.c ytab.h gcc -g -Wall -c gram.c bac.y:861:30: warning: passing arguments to 'process_continues' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | process_continues(yyvsp[0]); | ^ bac.y:32:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | void process_continues(); | ^ bac.y:2063:6: note: conflicting prototype is here 2063 | void process_continues(int lc) | ^ 2 warnings generated. flex bac.l mv -f lex.yy.c lex.c chmod 444 lex.c gcc -g -Wall -c lex.c lex.yy.c:1526:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1526 | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1527 | (yy_n_chars), num_to_read ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ bac.l:40:61: note: expanded from macro 'YY_INPUT' 40 | #define YY_INPUT(buf,result,maxsize) (result = baci_yyinput(buf,maxsize)) | ^~~ bac.l:38:34: note: passing argument to parameter 'buf' here 38 | int baci_yyinput(unsigned char* buf, int maxsize); | ^ bac.l:264:10: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | char* p = buf; | ^ ~~~ bac.l:338:17: warning: result of comparison of constant 256 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare] 338 | return ((esc < 256) ? esc : 0x20); | ~~~ ^ ~~~ 3 warnings generated. (cd ../lib; make) gcc -g -Wall -o makedate makedate.c makedate.c:24:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *ctime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:113:18: note: conflicting prototype is here 113 | char *_LIBC_CSTR ctime(const time_t *); | ^ makedate.c:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 25 | time_t theTime,time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ 2 warnings generated. gcc -g -Wall -c compdata.c gcc -g -Wall -c globdata.c gcc -g -Wall -c incfiles.c gcc -g -Wall -c genutil.c gcc -g -Wall -c writetab.c gcc -g -Wall -c computil.c computil.c:747:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 747 | extern void yyerror(); | ^ computil.c:715:6: note: conflicting prototype is here 715 | void yyerror(char *msg) | ^ 1 warning generated. gcc -g -Wall -c readtab.c gcc -g -Wall -c disutils.c ar cr libba.a compdata.o globdata.o incfiles.o genutil.o writetab.o computil.o readtab.o disutils.o ranlib libba.a gcc -g -Wall -o bacc baccutil.o date.o gram.o lex.o -L../lib -lba rm date.o cd /var/tmp/work/lang/baci/work/bacisrc/disasm && /opt/pkg/bin/bmake gcc -c -g -Wall badautil.c gcc -c -g -Wall main.c rm -f date.c (cd ../lib; make makedate) `makedate' is up to date. ../lib/makedate gcc -c -g -Wall date.c (cd ../lib; make) gcc -g -Wall -o badis badautil.o main.o date.o -L../lib -lba rm date.o cd /var/tmp/work/lang/baci/work/bacisrc/interp && /opt/pkg/bin/bmake gcc -c -g -Wall main.c gcc -c -g -Wall bainterp.c bainterp.c:236:26: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | h3 = __random(h2); | ^ bainterp.c:237:30: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | h4 = 1 + __random(PMAX); | ^ bainterp.c:290:29: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | h3 = __random(h2); | ^ bainterp.c:291:33: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | h5 = 1 + __random(PMAX); | ^ bainterp.c:315:26: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | h3 = __random(h2); | ^ bainterp.c:316:30: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | h5 = 1 + __random(PMAX); | ^ bainterp.c:335:26: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | h3 = __random(PMAXP1); | ^ bainterp.c:336:30: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | h6 = 1 + __random(PMAX); | ^ bainterp.c:794:36: warning: passing arguments to 'urandom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | s[ptab[curpr].t] = urandom(h1); | ^ bainterp.c:119:10: warning: variable 'tix' set but not used [-Wunused-but-set-variable] 119 | int tix,cbix,brix; /* indices into tables */ | ^ 10 warnings generated. gcc -c -g -Wall baiutils.c baiutils.c:170:19: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | look = __random(PMAXP1); | ^ baiutils.c:171:22: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | add = 1 + __random(PMAX); /* 1 <= add <= PMAXP1 */ | ^ baiutils.c:188:27: warning: passing arguments to '__random' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | stepcount = __random(STEPMAXP1); | ^ baiutils.c:257:30: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 257 | printf("%s\n",(char *) s[tmp]); | ^~~~~~~~~~~~~~~ 4 warnings generated. gcc -c -g -Wall random.c random.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | void setseed(newseed) | ^ random.c:68:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | unsigned int __random(range) | ^ random.c:75:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | unsigned int urandom(range) | ^ 3 warnings generated. rm -f date.c (cd ../lib; make makedate) `makedate' is up to date. ../lib/makedate gcc -c -g -Wall date.c (cd ../lib; make) gcc -g -Wall -o bainterp main.o bainterp.o baiutils.o random.o date.o -L../lib -lba rm date.o cd /var/tmp/work/lang/baci/work/bacisrc/pascomp && /opt/pkg/bin/bmake gcc -g -Wall -c bacutils.c rm -f date.c # make sure old date.c is gone (cd ../lib; make makedate) `makedate' is up to date. ../lib/makedate gcc -g -Wall -c date.c bison -tvd bapascal.y mv -f bapascal.tab.c gram.c cp -f bapascal.tab.h ytab.h chmod 444 gram.c ytab.h gcc -g -Wall -c gram.c bapascal.y:362:16: warning: call to undeclared function 'strtoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 362 | {yyval = strtoi(numbertext,numberbase);} | ^ bapascal.y:749:23: warning: variable 'elem_size' set but not used [-Wunused-but-set-variable] 749 | { int i,dx,dv,j,elem_size; | ^ 2 warnings generated. flex bapascal.l mv -f lex.yy.c lex.c chmod 444 lex.c gcc -g -Wall -c lex.c bapascal.l:389:17: warning: result of comparison of constant 256 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare] 389 | return ((esc < 256) ? esc : 0x20); | ~~~ ^ ~~~ 1 warning generated. (cd ../lib; make) gcc -g -Wall -o bapas bacutils.o date.o gram.o lex.o -L../lib -lba Undefined symbols for architecture arm64: "_strtoi", referenced from: _yyparse in gram.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped making "bapas" in /var/tmp/work/lang/baci/work/bacisrc/pascomp *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/baci *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/baci