=> 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 libretro-beetle-psx-hw-20200610nb1
distcc[18800] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[18800] Warning: failed to distribute rsx/rsx_lib_gl.cpp to 192.168.1.1:3748, running locally instead
distcc[5381] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/irq.cpp:18:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from ./mednafen/mednafen.h:6,
                 from rsx/rsx_lib_gl.cpp:24:
./mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from ./mednafen/mednafen.h:6,
                 from rsx/rsx_lib_gl.cpp:24:
./mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
rsx/rsx_lib_gl.cpp: In function 'GlDisplayRect compute_gl_display_rect(GlRenderer*)':
rsx/rsx_lib_gl.cpp:1600:11: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11'
 1600 |    return {x, y, width, height};
      |           ^
CXX mednafen/psx/irq.cpp
distcc[16433] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/timer.cpp:18:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/timer.cpp
distcc[265] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/dma.cpp:18:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX rsx/rsx_lib_gl.cpp
distcc[19998] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[19998] Warning: failed to distribute mednafen/psx/frontio.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/frontio.cpp:18:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/frontio.cpp:18:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/dma.cpp
distcc[25806] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/sio.cpp:18:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/sio.cpp
distcc[22924] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/cpu.cpp:24:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
mednafen/psx/cpu.cpp:3096: warning: "LE32TOH" redefined
 3096 | # define LE32TOH(x) __builtin_bswap32(x)
      | 
In file included from /usr/include/sparc/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/stdlib.h:41,
                 from mednafen/psx/../mednafen-types.h:43,
                 from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/cpu.cpp:24:
/usr/include/sys/endian.h:185: note: this is the location of the previous definition
  185 | #define LE32TOH(x) HTOLE32(x)
      | 
mednafen/psx/cpu.cpp:3097: warning: "HTOLE32" redefined
 3097 | # define HTOLE32(x) __builtin_bswap32(x)
      | 
In file included from /usr/include/sparc/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/stdlib.h:41,
                 from mednafen/psx/../mednafen-types.h:43,
                 from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/cpu.cpp:24:
/usr/include/sys/endian.h:153: note: this is the location of the previous definition
  153 | #define HTOLE32(x) (x) = bswap32(__CAST(uint32_t, (x)))
      | 
mednafen/psx/cpu.cpp:3098: warning: "LE16TOH" redefined
 3098 | # define LE16TOH(x) __builtin_bswap16(x)
      | 
In file included from /usr/include/sparc/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/stdlib.h:41,
                 from mednafen/psx/../mednafen-types.h:43,
                 from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/cpu.cpp:24:
/usr/include/sys/endian.h:184: note: this is the location of the previous definition
  184 | #define LE16TOH(x) HTOLE16(x)
      | 
mednafen/psx/cpu.cpp:3099: warning: "HTOLE16" redefined
 3099 | # define HTOLE16(x) __builtin_bswap16(x)
      | 
In file included from /usr/include/sparc/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/stdlib.h:41,
                 from mednafen/psx/../mednafen-types.h:43,
                 from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/cpu.cpp:24:
/usr/include/sys/endian.h:152: note: this is the location of the previous definition
  152 | #define HTOLE16(x) (x) = bswap16(__CAST(uint16_t, (x)))
      | 
CXX mednafen/psx/frontio.cpp
distcc[23842] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/gte.cpp:23:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/gte.cpp
distcc[1719] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[1719] Warning: failed to distribute mednafen/psx/cdc.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/cdc.cpp:51:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/cdc.cpp:51:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/cpu.cpp
distcc[16013] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/spu.cpp:69:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/cdc.cpp
distcc[25933] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/gpu.cpp:18:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/spu.cpp
distcc[24171] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[24171] Warning: failed to distribute mednafen/psx/mdec.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/mdec.cpp:56:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/psx/../mednafen.h:6,
                 from mednafen/psx/psx.h:4,
                 from mednafen/psx/mdec.cpp:56:
mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/mdec.cpp
distcc[15484] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[15484] Warning: failed to distribute mednafen/psx/input/gamepad.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/gamepad.cpp:1:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/gamepad.cpp:1:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/gamepad.cpp
distcc[12986] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/dualanalog.cpp:1:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/dualanalog.cpp
distcc[25087] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/dualshock.cpp:18:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/dualshock.cpp
distcc[2892] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/justifier.cpp:18:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/justifier.cpp
distcc[27399] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[27399] Warning: failed to distribute mednafen/psx/input/guncon.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/guncon.cpp:18:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/guncon.cpp:18:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/guncon.cpp
distcc[13598] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/negcon.cpp:18:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/negcon.cpp
distcc[25641] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/memcard.cpp:20:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/memcard.cpp
distcc[27481] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/multitap.cpp:18:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/multitap.cpp
distcc[11601] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[11601] Warning: failed to distribute mednafen/psx/input/mouse.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/mouse.cpp:1:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/psx/input/../../mednafen.h:6,
                 from mednafen/psx/input/../psx.h:4,
                 from mednafen/psx/input/mouse.cpp:1:
mednafen/psx/input/../../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/psx/input/mouse.cpp
distcc[10515] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/CDAccess.cpp:26:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/cdrom/CDAccess.cpp
distcc[17633] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/CDAccess_Image.cpp:36:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/cdrom/CDAccess_Image.cpp
distcc[8218] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[8218] Warning: failed to distribute mednafen/cdrom/CDAccess_CCD.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/CDAccess_CCD.cpp:18:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/CDAccess_CCD.cpp:18:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/cdrom/CDAccess_CCD.cpp
distcc[29953] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/CDAccess_PBP.cpp:21:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/cdrom/CDAccess_PBP.cpp
distcc[27140] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[27140] Warning: failed to distribute mednafen/cdrom/audioreader.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/audioreader.cpp:24:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/audioreader.cpp:24:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/cdrom/audioreader.cpp
distcc[23828] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
CXX mednafen/cdrom/misc.cpp
distcc[22973] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/cdrom/../mednafen.h:6,
                 from mednafen/cdrom/cdromif.cpp:18:
mednafen/cdrom/../mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/cdrom/cdromif.cpp
distcc[5690] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/mednafen.h:6,
                 from mednafen/error.cpp:18:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/error.cpp
distcc[27423] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/mednafen.h:6,
                 from mednafen/settings.cpp:23:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/settings.cpp
distcc[18104] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/mednafen.h:6,
                 from mednafen/general.cpp:27:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/general.cpp
distcc[10144] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
distcc[10144] Warning: failed to distribute mednafen/FileStream.cpp to 192.168.1.1:3748, running locally instead
In file included from mednafen/mednafen.h:6,
                 from mednafen/FileStream.cpp:20:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
In file included from mednafen/mednafen.h:6,
                 from mednafen/FileStream.cpp:20:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/FileStream.cpp
distcc[5713] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/mednafen.h:6,
                 from mednafen/Stream.h:8,
                 from mednafen/MemoryStream.h:23,
                 from mednafen/MemoryStream.cpp:2:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/MemoryStream.cpp
distcc[9482] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/mednafen.h:6,
                 from mednafen/Stream.cpp:20:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
CXX mednafen/Stream.cpp
distcc[18139] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from mednafen/mednafen.h:6,
                 from mednafen/state.cpp:24:
mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined
  230 | #define MSB_FIRST
      | 
<command-line>: note: this is the location of the previous definition
mednafen/state.cpp: In function 'bool SubWrite(StateMem*, SFORMAT*, const char*)':
mednafen/state.cpp:186:10: error: 'FlipByteOrder' was not declared in this scope
  186 |          FlipByteOrder((uint8_t*)sf->v, bytesize);
      |          ^~~~~~~~~~~~~
mednafen/state.cpp:210:10: error: 'Endian_A64_LE_to_NE' was not declared in this scope; did you mean 'Endian_A64_NE_BE'?
  210 |          Endian_A64_LE_to_NE(sf->v, bytesize / sizeof(uint64_t));
      |          ^~~~~~~~~~~~~~~~~~~
      |          Endian_A64_NE_BE
mednafen/state.cpp:212:10: error: 'Endian_A32_LE_to_NE' was not declared in this scope; did you mean 'Endian_A32_NE_BE'?
  212 |          Endian_A32_LE_to_NE(sf->v, bytesize / sizeof(uint32_t));
      |          ^~~~~~~~~~~~~~~~~~~
      |          Endian_A32_NE_BE
mednafen/state.cpp:214:10: error: 'Endian_A16_LE_to_NE' was not declared in this scope; did you mean 'Endian_A16_NE_BE'?
  214 |          Endian_A16_LE_to_NE(sf->v, bytesize / sizeof(uint16_t));
      |          ^~~~~~~~~~~~~~~~~~~
      |          Endian_A16_NE_BE
mednafen/state.cpp:216:10: error: 'FlipByteOrder' was not declared in this scope
  216 |          FlipByteOrder((uint8_t*)sf->v, bytesize);
      |          ^~~~~~~~~~~~~
mednafen/state.cpp: In function 'int ReadStateChunk(StateMem*, SFORMAT*, int)':
mednafen/state.cpp:387:16: error: 'Endian_A64_LE_to_NE' was not declared in this scope; did you mean 'Endian_A64_NE_BE'?
  387 |                Endian_A64_LE_to_NE(tmp->v, expected_size / sizeof(uint64_t));
      |                ^~~~~~~~~~~~~~~~~~~
      |                Endian_A64_NE_BE
mednafen/state.cpp:389:16: error: 'Endian_A32_LE_to_NE' was not declared in this scope; did you mean 'Endian_A32_NE_BE'?
  389 |                Endian_A32_LE_to_NE(tmp->v, expected_size / sizeof(uint32_t));
      |                ^~~~~~~~~~~~~~~~~~~
      |                Endian_A32_NE_BE
mednafen/state.cpp:391:16: error: 'Endian_A16_LE_to_NE' was not declared in this scope; did you mean 'Endian_A16_NE_BE'?
  391 |                Endian_A16_LE_to_NE(tmp->v, expected_size / sizeof(uint16_t));
      |                ^~~~~~~~~~~~~~~~~~~
      |                Endian_A16_NE_BE
mednafen/state.cpp:393:16: error: 'FlipByteOrder' was not declared in this scope
  393 |                FlipByteOrder((uint8_t*)tmp->v, expected_size);
      |                ^~~~~~~~~~~~~
distcc[18139] ERROR: compile mednafen/state.cpp on localhost failed
gmake: *** [Makefile:660: mednafen/state.o] Error 1
gmake: *** Waiting for unfinished jobs....
CXX mednafen/psx/gpu.cpp
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/emulators/libretro-beetle-psx-hw
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/libretro-beetle-psx-hw