=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for libretro-beetle-psx-20200610 In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/irq.cpp:18: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/irq.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/timer.cpp:18: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/timer.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/dma.cpp:18: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/dma.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/frontio.cpp:18: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/frontio.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/sio.cpp:18: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/sio.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/cpu.cpp:24: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition mednafen/psx/cpu.cpp:3096:0: warning: "LE32TOH" redefined # define LE32TOH(x) __builtin_bswap32(x) In file included from /usr/include/macppc/endian.h:3:0, 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:0: note: this is the location of the previous definition #define LE32TOH(x) HTOLE32(x) mednafen/psx/cpu.cpp:3097:0: warning: "HTOLE32" redefined # define HTOLE32(x) __builtin_bswap32(x) In file included from /usr/include/macppc/endian.h:3:0, 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:0: note: this is the location of the previous definition #define HTOLE32(x) (x) = bswap32(__CAST(uint32_t, (x))) mednafen/psx/cpu.cpp:3098:0: warning: "LE16TOH" redefined # define LE16TOH(x) __builtin_bswap16(x) In file included from /usr/include/macppc/endian.h:3:0, 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:0: note: this is the location of the previous definition #define LE16TOH(x) HTOLE16(x) mednafen/psx/cpu.cpp:3099:0: warning: "HTOLE16" redefined # define HTOLE16(x) __builtin_bswap16(x) In file included from /usr/include/macppc/endian.h:3:0, 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:0: note: this is the location of the previous definition #define HTOLE16(x) (x) = bswap16(__CAST(uint16_t, (x))) CXX mednafen/psx/cpu.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/gte.cpp:23: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/gte.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/cdc.cpp:51: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/cdc.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/spu.cpp:69: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/spu.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/gpu.cpp:18: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/gpu.cpp In file included from mednafen/psx/../mednafen.h:6:0, from mednafen/psx/psx.h:4, from mednafen/psx/mdec.cpp:56: mednafen/psx/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/mdec.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/gamepad.cpp:1: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/gamepad.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/dualanalog.cpp:1: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/dualanalog.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/dualshock.cpp:18: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/dualshock.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/justifier.cpp:18: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/justifier.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/guncon.cpp:18: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/guncon.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/negcon.cpp:18: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/negcon.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/memcard.cpp:20: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/memcard.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/multitap.cpp:18: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/multitap.cpp In file included from mednafen/psx/input/../../mednafen.h:6:0, from mednafen/psx/input/../psx.h:4, from mednafen/psx/input/mouse.cpp:1: mednafen/psx/input/../../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/psx/input/mouse.cpp In file included from mednafen/cdrom/../mednafen.h:6:0, from mednafen/cdrom/CDAccess.cpp:26: mednafen/cdrom/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess.cpp In file included from mednafen/cdrom/../mednafen.h:6:0, from mednafen/cdrom/CDAccess_Image.cpp:36: mednafen/cdrom/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess_Image.cpp In file included from mednafen/cdrom/../mednafen.h:6:0, from mednafen/cdrom/CDAccess_CCD.cpp:18: mednafen/cdrom/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess_CCD.cpp In file included from mednafen/cdrom/../mednafen.h:6:0, from mednafen/cdrom/CDAccess_PBP.cpp:21: mednafen/cdrom/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess_PBP.cpp In file included from mednafen/cdrom/../mednafen.h:6:0, from mednafen/cdrom/audioreader.cpp:24: mednafen/cdrom/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/cdrom/audioreader.cpp CXX mednafen/cdrom/misc.cpp In file included from mednafen/cdrom/../mednafen.h:6:0, from mednafen/cdrom/cdromif.cpp:18: mednafen/cdrom/../mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/cdrom/cdromif.cpp In file included from mednafen/mednafen.h:6:0, from mednafen/error.cpp:18: mednafen/mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/error.cpp In file included from mednafen/mednafen.h:6:0, from mednafen/settings.cpp:23: mednafen/mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/settings.cpp In file included from mednafen/mednafen.h:6:0, from mednafen/general.cpp:27: mednafen/mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/general.cpp In file included from mednafen/mednafen.h:6:0, from mednafen/FileStream.cpp:20: mednafen/mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/FileStream.cpp In file included from mednafen/mednafen.h:6:0, from mednafen/Stream.h:8, from mednafen/MemoryStream.h:23, from mednafen/MemoryStream.cpp:2: mednafen/mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/MemoryStream.cpp In file included from mednafen/mednafen.h:6:0, from mednafen/Stream.cpp:20: mednafen/mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: note: this is the location of the previous definition CXX mednafen/Stream.cpp In file included from mednafen/mednafen.h:6:0, from mednafen/state.cpp:24: mednafen/mednafen-types.h:230:0: warning: "MSB_FIRST" redefined #define MSB_FIRST :0:0: 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 FlipByteOrder((uint8_t*)sf->v, bytesize); ^~~~~~~~~~~~~ mednafen/state.cpp:210:10: error: 'Endian_A64_LE_to_NE' was not declared in this scope Endian_A64_LE_to_NE(sf->v, bytesize / sizeof(uint64_t)); ^~~~~~~~~~~~~~~~~~~ mednafen/state.cpp:210:10: note: suggested alternative: 'Endian_A64_NE_BE' 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 Endian_A32_LE_to_NE(sf->v, bytesize / sizeof(uint32_t)); ^~~~~~~~~~~~~~~~~~~ mednafen/state.cpp:212:10: note: suggested alternative: 'Endian_A32_NE_BE' 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 Endian_A16_LE_to_NE(sf->v, bytesize / sizeof(uint16_t)); ^~~~~~~~~~~~~~~~~~~ mednafen/state.cpp:214:10: note: suggested alternative: 'Endian_A16_NE_BE' 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 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 Endian_A64_LE_to_NE(tmp->v, expected_size / sizeof(uint64_t)); ^~~~~~~~~~~~~~~~~~~ mednafen/state.cpp:387:16: note: suggested alternative: 'Endian_A64_NE_BE' 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 Endian_A32_LE_to_NE(tmp->v, expected_size / sizeof(uint32_t)); ^~~~~~~~~~~~~~~~~~~ mednafen/state.cpp:389:16: note: suggested alternative: 'Endian_A32_NE_BE' 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 Endian_A16_LE_to_NE(tmp->v, expected_size / sizeof(uint16_t)); ^~~~~~~~~~~~~~~~~~~ mednafen/state.cpp:391:16: note: suggested alternative: 'Endian_A16_NE_BE' 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 FlipByteOrder((uint8_t*)tmp->v, expected_size); ^~~~~~~~~~~~~ gmake: *** [Makefile:660: mednafen/state.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/emulators/libretro-beetle-psx *** Error code 1 Stop. make: stopped in /usr/pkgsrc/emulators/libretro-beetle-psx