=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for scm-5.5.3nb2
echo "#ifndef IMPLINIT" > newflags.h
echo "#define IMPLINIT \"Init5e3.scm\"" >> newflags.h
echo "#endif" >> newflags.h
echo "#define CHEAP_CONTINUATIONS" >> newflags.h
echo "#define CAUTIOUS" >> newflags.h
if (cmp -s newflags.h scmflags.h) then rm newflags.h;  else mv newflags.h scmflags.h; fi
gcc -c -O2 -DX11 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include scm.c -o scm.o
scm.c: In function 'process_signals':
scm.c:197:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
scm.c: In function 'err_signal':
scm.c:277:15: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/include/signal.h:45,
                 from scm.c:48:
/usr/include/sys/signal.h:319:20: note: expected 'void (*)(int)' but argument is of type 'int (*)()'
  319 | __BEGIN_DECLS
      |                    ^            
scm.c:280:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
scm.c: In function 'scmable_signal':
scm.c:296:15: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/include/signal.h:45,
                 from scm.c:48:
/usr/include/sys/signal.h:319:20: note: expected 'void (*)(int)' but argument is of type 'int (*)()'
  319 | __BEGIN_DECLS
      |                    ^            
scm.c:312:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
scm.c: In function 'init_sig1':
scm.c:558:35: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/include/signal.h:45,
                 from scm.c:48:
/usr/include/sys/signal.h:319:20: note: expected 'void (*)(int)' but argument is of type 'int (*)()'
  319 | __BEGIN_DECLS
      |                    ^            
scm.c:558:19: warning: assignment to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
scm.c: In function 'init_signals':
scm.c:592:11: warning: assignment to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
scm.c: In function 'unignore_signals':
scm.c:642:42: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/include/signal.h:45,
                 from scm.c:48:
/usr/include/sys/signal.h:319:20: note: expected 'void (*)(int)' but argument is of type 'int (*)()'
  319 | __BEGIN_DECLS
      |                    ^            
scm.c: In function 'restore_signals':
scm.c:673:42: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/include/signal.h:45,
                 from scm.c:48:
/usr/include/sys/signal.h:319:20: note: expected 'void (*)(int)' but argument is of type 'int (*)()'
  319 | __BEGIN_DECLS
      |                    ^            
scm.c:675:11: warning: assignment to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
scm.c: In function 'scm_execpath':
scm.c:873:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
scm.c:873:19: warning: incompatible implicit declaration of built-in function 'free'
scm.c:842:1: note: include '<stdlib.h>' or provide a declaration of 'free'
scm.c:878:17: warning: incompatible implicit declaration of built-in function 'free'
scm.c:878:17: note: include '<stdlib.h>' or provide a declaration of 'free'
scm.c:879:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
scm.c:879:22: warning: incompatible implicit declaration of built-in function 'malloc'
scm.c:879:22: note: include '<stdlib.h>' or provide a declaration of 'malloc'
gcc -c -O2 -DX11 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include time.c -o time.o
gcc -c -O2 -DX11 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include repl.c -o repl.o
In file included from setjump.h:141,
                 from repl.c:46:
continue.h:178:8: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch]
continue.h:164:1: note: 'malloc' is declared in header '<stdlib.h>'
continue.h:180:8: warning: conflicting types for built-in function 'realloc'; expected 'void *(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
continue.h:180:8: note: 'realloc' is declared in header '<stdlib.h>'
repl.c: In function 'wait_for_input':
repl.c:513:278: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
repl.c: In function 'handle_it':
repl.c:1291:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
repl.c: In function 'quit':
repl.c:1774:19: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
repl.c:1774:19: warning: incompatible implicit declaration of built-in function 'exit'
repl.c:1743:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
repl.c: In function 'abrt':
repl.c:1779:19: warning: incompatible implicit declaration of built-in function 'exit'
repl.c:1779:19: note: include '<stdlib.h>' or provide a declaration of 'exit'
repl.c: In function 'def_err_response':
repl.c:2016:165: warning: incompatible implicit declaration of built-in function 'exit'
repl.c:1995:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
repl.c:2025:10: warning: incompatible implicit declaration of built-in function 'exit'
repl.c:2025:10: note: include '<stdlib.h>' or provide a declaration of 'exit'
repl.c:2054:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
repl.c:2057:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
repl.c:2096:5: warning: incompatible implicit declaration of built-in function 'exit'
repl.c:2096:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
repl.c: In function 'everr':
repl.c:2110:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
repl.c:2111:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
repl.c:2116:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
gcc -c -O2 -DX11 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include scl.c -o scl.o
gcc -c -O2 -DX11 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include sys.c -o sys.o
distcc[14484] ERROR: compile sys.c on 10.0.20.122:3742 failed
distcc[14484] (dcc_build_somewhere) Warning: remote compilation of 'sys.c' failed, retrying locally
distcc[14484] Warning: failed to distribute sys.c to 10.0.20.122:3742, running locally instead
In file included from setjump.h:141,
                 from sys.c:47:
continue.h:178:8: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch]
  178 |  char *malloc P((sizet size));
      |        ^~~~~~
continue.h:122:1: note: 'malloc' is declared in header '<stdlib.h>'
  121 | #   include <signal.h>
  +++ |+#include <stdlib.h>
  122 | #  endif
continue.h:180:8: warning: conflicting types for built-in function 'realloc'; expected 'void *(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
  180 |  char *realloc P((char *ptr, sizet size));
      |        ^~~~~~~
continue.h:180:8: note: 'realloc' is declared in header '<stdlib.h>'
sys.c:71:8: error: conflicting types for 'fwrite'
   71 |  sizet fwrite ();
      |        ^~~~~~
In file included from scm.h:79,
                 from sys.c:46:
/usr/include/stdio.h:243:9: note: previous declaration of 'fwrite' was here
  243 | size_t  fwrite(const void * __restrict, size_t, size_t, FILE * __restrict);
      |         ^~~~~~
sys.c: In function 'must_free':
sys.c:1375:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
 1375 |     free(obj);
      |     ^~~~
sys.c:1375:5: warning: incompatible implicit declaration of built-in function 'free'
sys.c:122:1: note: include '<stdlib.h>' or provide a declaration of 'free'
  121 | #         include <sys/ioctl.h>
  +++ |+#include <stdlib.h>
  122 | #        endif
sys.c: In function 'scm_free_gra':
sys.c:1963:3: warning: incompatible implicit declaration of built-in function 'free'
 1963 |   free(gra->elts);
      |   ^~~~
sys.c:1963:3: note: include '<stdlib.h>' or provide a declaration of 'free'
sys.c: In function 'free_storage':
sys.c:2447:7: warning: incompatible implicit declaration of built-in function 'free'
 2447 |       free((char *)hplims[hplim_ind]);
      |       ^~~~
sys.c:2447:7: note: include '<stdlib.h>' or provide a declaration of 'free'
In file included from sys.c:46:
sys.c: In function 'mark_locations':
scm.h:302:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  302 | #define NCELLP(x) ((sizeof(cell)-1) & (int)(x))
      |                                       ^
scm.h:301:20: note: in expansion of macro 'NCELLP'
  301 | #define CELLP(x) (!NCELLP(x))
      |                    ^~~~~~
sys.c:2624:22: note: in expansion of macro 'CELLP'
 2624 |  while(0 <= --m) if (CELLP(*(SCM **)&x[m])) {
      |                      ^~~~~
sys.c: In function 'gc_sweep':
sys.c:2813:7: warning: incompatible implicit declaration of built-in function 'free'
 2813 |       free((char *)hplims[i-2]);
      |       ^~~~
sys.c:2813:7: note: include '<stdlib.h>' or provide a declaration of 'free'
distcc[14484] ERROR: compile sys.c on localhost failed
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/scm/work.sparc64/scm
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/scm
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/scm