+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xcopilot-0.6.6nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xcopilot-0.6.6nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for xcopilot-0.6.6nb2
cd . && autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.in'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status
creating config.h
config.h is unchanged
/opt/pkg/bin/bmake all-recursive
Making all in mc68k
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu0.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu1.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu2.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu3.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu4.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu5.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu6.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu7.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu8.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpu9.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpuA.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpuB.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpuC.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpuD.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpuE.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cpuF.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cputbl.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c fab_custom.c
gcc -o fab_custom fab_custom.o
./fab_custom
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c custom.c
custom.c: In function 'custom_bput':
custom.c:1877:17: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration]
 1877 |                 abort();
      |                 ^~~~~
custom.c:27:1: note: include '<stdlib.h>' or provide a declaration of 'abort'
   26 | #include "newcpu.h"
  +++ |+#include <stdlib.h>
   27 | 
custom.c:1877:17: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch]
 1877 |                 abort();
      |                 ^~~~~
custom.c:1877:17: note: include '<stdlib.h>' or provide a declaration of 'abort'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c memory.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c newcpu.c
rm -f libmc68k.a
ar cru libmc68k.a cpu0.o cpu1.o cpu2.o cpu3.o cpu4.o cpu5.o cpu6.o  cpu7.o cpu8.o cpu9.o cpuA.o cpuB.o cpuC.o cpuD.o cpuE.o cpuF.o cputbl.o  custom.o memory.o newcpu.o 
ranlib libmc68k.a
Making all in mx
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c alert.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c buttons.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c menu.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c select.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c basic.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c filesel.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c request.c
rm -f libmx.a
ar cru libmx.a alert.o buttons.o menu.o select.o basic.o filesel.o  request.o 
ranlib libmx.a
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c test_menu.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o test_menu  test_menu.o  libmx.a -lSM -lICE -lX11 -lsocket  -lnsl 
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c test_filesel.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o test_filesel  test_filesel.o  libmx.a -lSM -lICE -lX11 -lsocket  -lnsl 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./mx -I./mc68k -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c cmap_mgr.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./mx -I./mc68k -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c fakecall.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./mx -I./mc68k -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c optutil.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./mx -I./mc68k -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c pilotcpu.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./mx -I./mc68k -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c xcopilot.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./mx -I./mc68k -I/opt/pkg/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -c display.c
display.c: In function 'set_icon':
display.c:192:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  192 |   bzero((void*)&attributes, sizeof(attributes));
      |   ^~~~~
display.c:192:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
display.c: In function 'HandleKey':
display.c:392:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  392 |   unsigned key = (unsigned) client_data;
      |                  ^
display.c: In function 'CreateKeys':
display.c:430:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  430 |                       OwnerGrabButtonMask, False, HandleKey, (XtPointer)i);
      |                                                              ^
display.c: In function 'xcpUpdateLCD':
display.c:1000:47: error: '__uint64_t' undeclared (first use in this function); did you mean 'uint64_t'?
 1000 | #  define GOOD_ENDIAN(x) ((unsigned char *)(((__uint64_t)(x))^1UL))
      |                                               ^~~~~~~~~~
display.c:1036:43: note: in expansion of macro 'GOOD_ENDIAN'
 1036 |       grey = twobit ? shptr->grpalette[(*(GOOD_ENDIAN(src)) & mask) >> shift] :
      |                                           ^~~~~~~~~~~
display.c:1000:47: note: each undeclared identifier is reported only once for each function it appears in
 1000 | #  define GOOD_ENDIAN(x) ((unsigned char *)(((__uint64_t)(x))^1UL))
      |                                               ^~~~~~~~~~
display.c:1036:43: note: in expansion of macro 'GOOD_ENDIAN'
 1036 |       grey = twobit ? shptr->grpalette[(*(GOOD_ENDIAN(src)) & mask) >> shift] :
      |                                           ^~~~~~~~~~~
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/emulators/xcopilot/work/xcopilot-0.6.6
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xcopilot
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xcopilot