+ 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/b-em-20230915/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/b-em-20230915/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for b-em-20230915
Making all in src
gmake[1]: Entering directory '/home/pbulk/build/emulators/b-em/work/b-em-464bb82239e31862e87b39b257d63086861b99e5/src'
  CC       b_em-6502.o
  CC       b_em-6502debug.o
In file included from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:672,
                 from /usr/include/time.h:46,
                 from /home/pbulk/build/emulators/b-em/work/.buildlink/include/allegro5/base.h:37,
                 from /home/pbulk/build/emulators/b-em/work/.buildlink/include/allegro5/allegro.h:26,
                 from b-em.h:7,
                 from 6502debug.c:3:
6502debug.c:48:26: error: expected identifier before numeric constant
   48 |     SAX,   SBC,   SBX,   SEC,   SED,   SEI,   SEP,   SHA,   SHS,   SHX,   SHY,
      |                          ^~~
6502debug.c:71:33: error: 'TSB' undeclared here (not in a function); did you mean 'ISB'?
   71 | /*00*/  BRK,  ORA,  UND,  UND,  TSB,  ORA,  ASL,  RMB,  PHP,  ORA,  ASL,  UND,  TSB,  ORA,  ASL,  BBR,
      |                                 ^~~
      |                                 ISB
6502debug.c:71:51: error: 'RMB' undeclared here (not in a function)
   71 | /*00*/  BRK,  ORA,  UND,  UND,  TSB,  ORA,  ASL,  RMB,  PHP,  ORA,  ASL,  UND,  TSB,  ORA,  ASL,  BBR,
      |                                                   ^~~
6502debug.c:71:99: error: 'BBR' undeclared here (not in a function)
   71 | /*00*/  BRK,  ORA,  UND,  UND,  TSB,  ORA,  ASL,  RMB,  PHP,  ORA,  ASL,  UND,  TSB,  ORA,  ASL,  BBR,
      |                                                                                                   ^~~
6502debug.c:72:33: error: 'TRB' undeclared here (not in a function)
   72 | /*10*/  BPL,  ORA,  ORA,  UND,  TRB,  ORA,  ASL,  RMB,  CLC,  ORA,  INC,  UND,  TRB,  ORA,  ASL,  BBR,
      |                                 ^~~
6502debug.c:77:33: error: 'STZ' undeclared here (not in a function)
   77 | /*60*/  RTS,  ADC,  UND,  UND,  STZ,  ADC,  ROR,  RMB,  PLA,  ADC,  ROR,  UND,  JMP,  ADC,  ROR,  BBR,
      |                                 ^~~
6502debug.c:78:57: error: 'SEI' undeclared here (not in a function); did you mean 'PEI'?
   78 | /*70*/  BVS,  ADC,  ADC,  UND,  STZ,  ADC,  ROR,  RMB,  SEI,  ADC,  PLY,  UND,  JMP,  ADC,  ROR,  BBR,
      |                                                         ^~~
      |                                                         PEI
6502debug.c:79:15: error: 'STA' undeclared here (not in a function)
   79 | /*80*/  BRA,  STA,  UND,  UND,  STY,  STA,  STX,  SMB,  DEY,  BIT,  TXA,  UND,  STY,  STA,  STX,  BBS,
      |               ^~~
6502debug.c:79:33: error: 'STY' undeclared here (not in a function); did you mean 'SRY'?
   79 | /*80*/  BRA,  STA,  UND,  UND,  STY,  STA,  STX,  SMB,  DEY,  BIT,  TXA,  UND,  STY,  STA,  STX,  BBS,
      |                                 ^~~
      |                                 SRY
6502debug.c:79:45: error: 'STX' undeclared here (not in a function); did you mean 'SBX'?
   79 | /*80*/  BRA,  STA,  UND,  UND,  STY,  STA,  STX,  SMB,  DEY,  BIT,  TXA,  UND,  STY,  STA,  STX,  BBS,
      |                                             ^~~
      |                                             SBX
6502debug.c:79:51: error: 'SMB' undeclared here (not in a function)
   79 | /*80*/  BRA,  STA,  UND,  UND,  STY,  STA,  STX,  SMB,  DEY,  BIT,  TXA,  UND,  STY,  STA,  STX,  BBS,
      |                                                   ^~~
6502debug.c:79:69: error: 'TXA' undeclared here (not in a function); did you mean 'LXA'?
   79 | /*80*/  BRA,  STA,  UND,  UND,  STY,  STA,  STX,  SMB,  DEY,  BIT,  TXA,  UND,  STY,  STA,  STX,  BBS,
      |                                                                     ^~~
      |                                                                     LXA
6502debug.c:79:99: error: 'BBS' undeclared here (not in a function); did you mean 'BVS'?
   79 | /*80*/  BRA,  STA,  UND,  UND,  STY,  STA,  STX,  SMB,  DEY,  BIT,  TXA,  UND,  STY,  STA,  STX,  BBS,
      |                                                                                                   ^~~
      |                                                                                                   BVS
6502debug.c:80:57: error: 'TYA' undeclared here (not in a function)
   80 | /*90*/  BCC,  STA,  STA,  UND,  STY,  STA,  STX,  SMB,  TYA,  STA,  TXS,  UND,  STZ,  STA,  STZ,  BBS,
      |                                                         ^~~
6502debug.c:80:69: error: 'TXS' undeclared here (not in a function)
   80 | /*90*/  BCC,  STA,  STA,  UND,  STY,  STA,  STX,  SMB,  TYA,  STA,  TXS,  UND,  STZ,  STA,  STZ,  BBS,
      |                                                                     ^~~
6502debug.c:81:57: error: 'TAY' undeclared here (not in a function)
   81 | /*A0*/  LDY,  LDA,  LDX,  UND,  LDY,  LDA,  LDX,  SMB,  TAY,  LDA,  TAX,  UND,  LDY,  LDA,  LDX,  BBS,
      |                                                         ^~~
6502debug.c:81:69: error: 'TAX' undeclared here (not in a function); did you mean 'SAX'?
   81 | /*A0*/  LDY,  LDA,  LDX,  UND,  LDY,  LDA,  LDX,  SMB,  TAY,  LDA,  TAX,  UND,  LDY,  LDA,  LDX,  BBS,
      |                                                                     ^~~
      |                                                                     SAX
6502debug.c:82:69: error: 'TSX' undeclared here (not in a function)
   82 | /*B0*/  BCS,  LDA,  LDA,  UND,  LDY,  LDA,  LDX,  SMB,  CLV,  LDA,  TSX,  UND,  LDY,  LDA,  LDX,  BBS,
      |                                                                     ^~~
6502debug.c:83:75: error: 'WAI' undeclared here (not in a function)
   83 | /*C0*/  CPY,  CMP,  UND,  UND,  CPY,  CMP,  DEC,  SMB,  INY,  CMP,  DEX,  WAI,  CPY,  CMP,  DEC,  BBS,
      |                                                                           ^~~
6502debug.c:84:75: error: 'STP' undeclared here (not in a function)
   84 | /*D0*/  BNE,  CMP,  CMP,  UND,  UND,  CMP,  DEC,  SMB,  CLD,  CMP,  PHX,  STP,  UND,  CMP,  DEC,  BBS,
      |                                                                           ^~~
6502debug.c:86:57: error: 'SED' undeclared here (not in a function); did you mean 'SEC'?
   86 | /*F0*/  BEQ,  SBC,  SBC,  UND,  UND,  SBC,  INC,  SMB,  SED,  SBC,  PLX,  UND,  UND,  SBC,  INC,  BBS,
      |                                                         ^~~
      |                                                         SEC
6502debug.c:113:27: error: 'SLO' undeclared here (not in a function)
  113 | /*00*/  BRK,  ORA,  HLT,  SLO,  NOP,  ORA,  ASL,  SLO,  PHP,  ORA,  ASL,  ANC,  NOP,  ORA,  ASL,  SLO,
      |                           ^~~
6502debug.c:117:27: error: 'SRE' undeclared here (not in a function); did you mean 'SRY'?
  117 | /*40*/  RTI,  EOR,  HLT,  SRE,  NOP,  EOR,  LSR,  SRE,  PHA,  EOR,  LSR,  ASR,  JMP,  EOR,  LSR,  SRE,
      |                           ^~~
      |                           SRY
6502debug.c:122:27: error: 'SHA' undeclared here (not in a function); did you mean 'PHA'?
  122 | /*90*/  BCC,  STA,  HLT,  SHA,  STY,  STA,  STX,  SAX,  TYA,  STA,  TXS,  SHS,  SHY,  STA,  SHX,  SHA,
      |                           ^~~
      |                           PHA
6502debug.c:122:75: error: 'SHS' undeclared here (not in a function)
  122 | /*90*/  BCC,  STA,  HLT,  SHA,  STY,  STA,  STX,  SAX,  TYA,  STA,  TXS,  SHS,  SHY,  STA,  SHX,  SHA,
      |                                                                           ^~~
6502debug.c:122:81: error: 'SHY' undeclared here (not in a function); did you mean 'PHY'?
  122 | /*90*/  BCC,  STA,  HLT,  SHA,  STY,  STA,  STX,  SAX,  TYA,  STA,  TXS,  SHS,  SHY,  STA,  SHX,  SHA,
      |                                                                                 ^~~
      |                                                                                 PHY
6502debug.c:122:93: error: 'SHX' undeclared here (not in a function); did you mean 'SBX'?
  122 | /*90*/  BCC,  STA,  HLT,  SHA,  STY,  STA,  STX,  SAX,  TYA,  STA,  TXS,  SHS,  SHY,  STA,  SHX,  SHA,
      |                                                                                             ^~~
      |                                                                                             SBX
6502debug.c:156:75: error: 'TCS' undeclared here (not in a function); did you mean 'BCS'?
  156 | /*10*/  BPL,  ORA,  ORA,  ORA,  TRB,  ORA,  ASL,  ORA,  CLC,  ORA,  INC,  TCS,  TRB,  ORA,  ASL,  ORA,
      |                                                                           ^~~
      |                                                                           BCS
6502debug.c:158:75: error: 'TSC' undeclared here (not in a function)
  158 | /*30*/  BMI,  AND,  AND,  AND,  BIT,  AND,  ROL,  AND,  SEC,  AND,  DEC,  TSC,  BIT,  AND,  ROL,  AND,
      |                                                                           ^~~
6502debug.c:159:21: error: 'WDM' undeclared here (not in a function)
  159 | /*40*/  RTI,  EOR,  WDM,  EOR,  MVP,  EOR,  LSR,  EOR,  PHA,  EOR,  LSR,  PHK,  JMP,  EOR,  LSR,  EOR,
      |                     ^~~
6502debug.c:160:75: error: 'TCD' undeclared here (not in a function)
  160 | /*50*/  BVC,  EOR,  EOR,  EOR,  MVN,  EOR,  LSR,  EOR,  CLI,  EOR,  PHY,  TCD,  JMP,  EOR,  LSR,  EOR,
      |                                                                           ^~~
6502debug.c:162:75: error: 'TDC' undeclared here (not in a function); did you mean 'ADC'?
  162 | /*70*/  BVS,  ADC,  ADC,  ADC,  STZ,  ADC,  ROR,  ADC,  SEI,  ADC,  PLY,  TDC,  JMP,  ADC,  ROR,  ADC,
      |                                                                           ^~~
      |                                                                           ADC
6502debug.c:164:75: error: 'TXY' undeclared here (not in a function)
  164 | /*90*/  BCC,  STA,  STA,  STA,  STY,  STA,  STX,  STA,  TYA,  STA,  TXS,  TXY,  STZ,  STA,  STZ,  STA,
      |                                                                           ^~~
6502debug.c:166:75: error: 'TYX' undeclared here (not in a function)
  166 | /*B0*/  BCS,  LDA,  LDA,  LDA,  LDY,  LDA,  LDX,  LDA,  CLV,  LDA,  TSX,  TYX,  LDY,  LDA,  LDX,  LDA,
      |                                                                           ^~~
6502debug.c:169:21: error: 'SEP' undeclared here (not in a function); did you mean 'REP'?
  169 | /*E0*/  CPX,  SBC,  SEP,  SBC,  CPX,  SBC,  INC,  SBC,  INX,  SBC,  NOP,  XBA,  CPX,  SBC,  INC,  SBC,
      |                     ^~~
      |                     REP
6502debug.c:169:75: error: 'XBA' undeclared here (not in a function)
  169 | /*E0*/  CPX,  SBC,  SEP,  SBC,  CPX,  SBC,  INC,  SBC,  INX,  SBC,  NOP,  XBA,  CPX,  SBC,  INC,  SBC,
      |                                                                           ^~~
6502debug.c:170:75: error: 'XCE' undeclared here (not in a function)
  170 | /*F0*/  BEQ,  SBC,  SBC,  SBC,  PEA,  SBC,  INC,  SBC,  SED,  SBC,  PLX,  XCE,  JSR,  SBC,  INC,  SBC
      |                                                                           ^~~
gmake[1]: *** [Makefile:960: b_em-6502debug.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/emulators/b-em/work/b-em-464bb82239e31862e87b39b257d63086861b99e5/src'
gmake: *** [Makefile:425: all-recursive] Error 1
*** Error code 2

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

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