=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for sr-2.3.3nb10
echo "#"						   >paths.sh
echo "#  Created mechanically;  DO NOT EDIT THIS FILE."	  >>paths.sh
echo "#"						  >>paths.sh
sed -n >>paths.sh <Configuration   -e 's/#.*//' -e 's/[ 	]*$//' -e 's/ *= */=/'  -e 's/="*\(.* [^"]*\)"*$/="\1"/' -e '/^[A-Z0-9_]* *=/p'
echo ""							  >>paths.sh
echo  >paths.tmp '/*'
echo >>paths.tmp ' *	Created mechanically;  DO NOT EDIT THIS FILE.'
echo >>paths.tmp ' */'
sed  >>paths.tmp <paths.sh  -n -e 's/"//g' -e 's/.*/#define &"/' -e 's/= */ "/p'
if cmp -s paths.tmp paths.h; then :; else cp paths.tmp paths.h; fi
cc -O3 -I/opt/pkg/include -c util.c
In file included from util.c:10:
./util.h:20:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
extern spawn();                 /* fork and exec */
~~~~~~ ^
int
util.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mexit (s)
^
In file included from util.c:10:
./util.h:7:13: 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]
extern void mexit(), pexit();   /* exit with error message */
            ^
util.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pexit (s)
^
In file included from util.c:10:
./util.h:7:22: 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]
extern void mexit(), pexit();   /* exit with error message */
                     ^
util.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
alloc (n)
^
In file included from util.c:10:
./util.h:9:14: 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]
extern char *alloc(), *salloc();/* memory allocation with guaranteed success */
             ^
util.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
salloc (s)
^
In file included from util.c:10:
./util.h:9:24: 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]
extern char *alloc(), *salloc();/* memory allocation with guaranteed success */
                       ^
util.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
strtail (s, t)
^
In file included from util.c:10:
./util.h:11:14: 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]
extern char *strtail();         /* tailstring comparison */
             ^
util.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mustopen (filename, type)
^
In file included from util.c:10:
./util.h:17:14: 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]
extern FILE *mustopen();        /* file open with guaranteed success */
             ^
util.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
modtime (filename)
^
In file included from util.c:10:
./util.h:13:13: 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]
extern long modtime();          /* modification time of a file */
            ^
util.c:172:9: warning: passing arguments to 'doexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        doexec (argv);          /* exec the program */
               ^
util.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spawn (argv, dir)
^
In file included from util.c:10:
./util.h:20:8: 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]
extern spawn();                 /* fork and exec */
       ^
util.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doexec (argv)
^
In file included from util.c:10:
./util.h:21:13: 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]
extern void doexec();           /* exec in place */
            ^
util.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setpath (ifdir, expt)
^
In file included from util.c:10:
./util.h:15:13: 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]
extern void setpath();          /* initialize for path search */
            ^
util.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pathopen (filename, suffix, buf)
^
In file included from util.c:10:
./util.h:16:14: 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]
extern FILE *pathopen();        /* file open with path search */
             ^
24 warnings generated.
cmp -s multi/uni.h srmulti.h || cp multi/uni.h srmulti.h
cmp -s multi/uni.c srmulti.c || cp multi/uni.c srmulti.c
cd sr;		make   CC="cc" CFLAGS="-O3"
cc -O3 -I/opt/pkg/include -c main.c
In file included from main.c:5:
In file included from ./compiler.h:11:
./../util.h:20:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
extern spawn();                 /* fork and exec */
~~~~~~ ^
int
In file included from main.c:7:
./../arch.h:153:5: error: unknown type name 'ERROR'
    ERROR -- no architecture selected
    ^
./../arch.h:153:11: error: expected identifier or '('
    ERROR -- no architecture selected
          ^
main.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main (argc, argv)
^
int
main.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main.c:53:5: warning: call to undeclared function 'options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    options (argc, argv);               /* process options */
    ^
main.c:67:8: warning: passing arguments to 'mexit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        mexit ("can't get current directory");
              ^
main.c:76:18: warning: passing arguments to 'strtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (strtail (argv[i], SOURCE_SUF))
                        ^
main.c:86:18: warning: passing arguments to 'strtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (strtail (argv[i], SOURCE_SUF))
                        ^
main.c:95:18: warning: passing arguments to 'strtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (strtail (argv[i], SOURCE_SUF))
                        ^
main.c:114:1: error: static declaration of 'options' follows non-static declaration
options (argc, argv)
^
main.c:53:5: note: previous implicit declaration is here
    options (argc, argv);               /* process options */
    ^
main.c:146:13: warning: passing arguments to 'mexit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mexit ("duplicate -I option");
                          ^
main.c:152:13: warning: passing arguments to 'mexit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mexit ("duplicate -o option");
                          ^
main.c:158:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                for (p = optarg; c = *p; p++)
                                 ~~^~~~
main.c:158:22: note: place parentheses around the assignment to silence this warning
                for (p = optarg; c = *p; p++)
                                   ^
                                 (     )
main.c:158:22: note: use '==' to turn this assignment into an equality comparison
                for (p = optarg; c = *p; p++)
                                   ^
                                   ==
main.c:169:9: warning: passing arguments to 'mexit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                mexit (USAGE);
                      ^
main.c:179:20: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ifdir = salloc (buf);
                   ^
main.c:181:13: warning: passing arguments to 'setpath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    setpath (ifdir, (int) option_e);
            ^
main.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
options (argc, argv)
^
main.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dofile (filename, reason)
^
main.c:208:19: warning: passing arguments to 'mustopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fp = mustopen (filename, "r");
                  ^
main.c:219:19: warning: passing arguments to 'salloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        resname = salloc (e->e_l->e_name);  /* save resource name permanantly */
                         ^
main.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
concrete (e)
^
main.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
genmake (e)
^
main.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gmake (e, rtype, half)
^
main.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cc (dir, fname)
^
main.c:344:12: warning: passing arguments to 'spawn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (spawn (argv, dir) != 0)
                  ^
main.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mylink (files)
^
main.c:389:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (s = *ilp++) {
           ~~^~~~~~~~
main.c:389:14: note: place parentheses around the assignment to silence this warning
    while (s = *ilp++) {
             ^
           (         )
main.c:389:14: note: use '==' to turn this assignment into an equality comparison
    while (s = *ilp++) {
             ^
             ==
main.c:400:8: warning: passing arguments to 'mexit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        mexit ("no resource bodies; linking suppressed");
              ^
main.c:401:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (*argp++ = *rlp++)            /* copy list */
           ~~~~~~~~^~~~~~~~
main.c:401:20: note: place parentheses around the assignment to silence this warning
    while (*argp++ = *rlp++)            /* copy list */
                   ^
           (               )
main.c:401:20: note: use '==' to turn this assignment into an equality comparison
    while (*argp++ = *rlp++)            /* copy list */
                   ^
                   ==
main.c:407:15: warning: passing arguments to 'strtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!strtail (s, SOURCE_SUF))
                     ^
main.c:417:12: warning: passing arguments to 'doexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    doexec (argv);
           ^
29 warnings and 3 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /Users/pbulk/build/lang/sr/work/sr
*** Error code 1

Stop.
bmake: stopped in /Users/pbulk/build/lang/sr/work
*** Error code 1

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

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