=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for baci-20000725
cd /Users/pbulk/build/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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *ctime();
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:110:7: note: conflicting prototype is here
char *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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
time_t theTime,time();
               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:118:8: note: conflicting prototype is here
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 C2x [-Wdeprecated-non-prototype]
            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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void process_continues();
     ^
bac.y:2063:6: note: conflicting prototype is here
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]
                YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bac.l:40:61: note: expanded from macro 'YY_INPUT'
#define YY_INPUT(buf,result,maxsize) (result = baci_yyinput(buf,maxsize))
                                                            ^~~
bac.l:38:34: note: passing argument to parameter 'buf' here
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]
   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]
   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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *ctime();
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:110:7: note: conflicting prototype is here
char *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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
time_t theTime,time();
               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:118:8: note: conflicting prototype is here
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
   extern void yyerror();
               ^
computil.c:715:6: note: conflicting prototype is here
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 /Users/pbulk/build/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 /Users/pbulk/build/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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
               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 C2x [-Wdeprecated-non-prototype]
               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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
         s[ptab[curpr].t] = urandom(h1);
                                   ^
bainterp.c:119:10: warning: variable 'tix' set but not used [-Wunused-but-set-variable]
   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 C2x [-Wdeprecated-non-prototype]
   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 C2x [-Wdeprecated-non-prototype]
   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 C2x [-Wdeprecated-non-prototype]
      stepcount = __random(STEPMAXP1);
                          ^
baiutils.c:257:30: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
               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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 /Users/pbulk/build/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]
      {yyval = strtoi(numbertext,numberbase);}
               ^
bapascal.y:749:23: warning: variable 'elem_size' set but not used [-Wunused-but-set-variable]
      { 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]
   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
ld: Undefined symbols:
  _strtoi, referenced from:
      _yyparse in gram.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
bmake[2]: stopped in /Users/pbulk/build/lang/baci/work/bacisrc/pascomp
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/baci
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/baci