=> 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-20200610nb1 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 | : 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/timer.cpp:18: mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined 230 | #define MSB_FIRST | : 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/dma.cpp:18: mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined 230 | #define MSB_FIRST | : note: this is the location of the previous definition CXX mednafen/psx/irq.cpp 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 | : note: this is the location of the previous definition CXX mednafen/psx/timer.cpp 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 | : note: this is the location of the previous definition CXX mednafen/psx/dma.cpp 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 | : 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/machine/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/machine/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/machine/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/machine/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/sio.cpp 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 | : note: this is the location of the previous definition CXX mednafen/psx/frontio.cpp 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 | : note: this is the location of the previous definition CXX mednafen/psx/gte.cpp CXX mednafen/psx/cdc.cpp 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 | : 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/spu.cpp:69: mednafen/psx/../mednafen-types.h:230: warning: "MSB_FIRST" redefined 230 | #define MSB_FIRST | : note: this is the location of the previous definition CXX mednafen/psx/cpu.cpp 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 | : note: this is the location of the previous definition CXX mednafen/psx/mdec.cpp 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 | : 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, 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 | : 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, 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 | : 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, 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 | : 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, 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 | : 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, 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 | : 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, 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 | : 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, 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 | : 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, 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 | : note: this is the location of the previous definition CXX mednafen/psx/input/mouse.cpp 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 | : note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess.cpp 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 | : note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess_Image.cpp 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 | : note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess_CCD.cpp 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 | : note: this is the location of the previous definition CXX mednafen/cdrom/CDAccess_PBP.cpp CXX mednafen/psx/spu.cpp 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 | : note: this is the location of the previous definition CXX mednafen/cdrom/misc.cpp 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 | : note: this is the location of the previous definition CXX mednafen/cdrom/audioreader.cpp 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 | : note: this is the location of the previous definition CXX mednafen/error.cpp 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 | : note: this is the location of the previous definition CXX mednafen/cdrom/cdromif.cpp 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 | : note: this is the location of the previous definition CXX mednafen/settings.cpp 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 | : note: this is the location of the previous definition CXX mednafen/general.cpp 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 | : note: this is the location of the previous definition CXX mednafen/FileStream.cpp CXX mednafen/MemoryStream.cpp 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 | : note: this is the location of the previous definition 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 | : note: this is the location of the previous definition CXX mednafen/Stream.cpp distcc[19020] ERROR: compile mednafen/state.cpp on 10.0.20.122:3760 failed distcc[19020] (dcc_build_somewhere) Warning: remote compilation of 'mednafen/state.cpp' failed, retrying locally distcc[19020] Warning: failed to distribute mednafen/state.cpp to 10.0.20.122:3760, running locally instead In file included from mednafen/mednafen.h:6, from mednafen/mempatcher.cpp:29: mednafen/mednafen-types.h:230: warning: "MSB_FIRST" redefined 230 | #define MSB_FIRST | : note: this is the location of the previous definition 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 | : 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[19020] ERROR: compile mednafen/state.cpp on localhost failed gmake: *** [Makefile:660: mednafen/state.o] Error 1 gmake: *** Waiting for unfinished jobs.... CXX mednafen/mempatcher.cpp CXX mednafen/psx/gpu.cpp *** 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