=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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-vba-next-20200106 sh: git: not found c++ -c -o src/sound.o src/sound.cpp -O2 -D_FORTIFY_SOURCE=2 -DBYTE_ORDER=BIG_ENDIAN -DWORDS_BIGENDIAN -DMSB_FIRST -DHAVE_POSIX_MEMALIGN=1 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -fPIC -D__LIBRETRO__ -DINLINE=inline -DHAVE_HLE_BIOS -DFRONTEND_SUPPORTS_RGB565 -DUSE_CHEATS -DTILED_RENDERING -DHAVE_STDINT_H -DHAVE_INTTYPES_H -I. -I./libretro-common/include c++ -c -o src/memory.o src/memory.cpp -O2 -D_FORTIFY_SOURCE=2 -DBYTE_ORDER=BIG_ENDIAN -DWORDS_BIGENDIAN -DMSB_FIRST -DHAVE_POSIX_MEMALIGN=1 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -fPIC -D__LIBRETRO__ -DINLINE=inline -DHAVE_HLE_BIOS -DFRONTEND_SUPPORTS_RGB565 -DUSE_CHEATS -DTILED_RENDERING -DHAVE_STDINT_H -DHAVE_INTTYPES_H -I. -I./libretro-common/include c++ -c -o src/gba.o src/gba.cpp -O2 -D_FORTIFY_SOURCE=2 -DBYTE_ORDER=BIG_ENDIAN -DWORDS_BIGENDIAN -DMSB_FIRST -DHAVE_POSIX_MEMALIGN=1 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -fPIC -D__LIBRETRO__ -DINLINE=inline -DHAVE_HLE_BIOS -DFRONTEND_SUPPORTS_RGB565 -DUSE_CHEATS -DTILED_RENDERING -DHAVE_STDINT_H -DHAVE_INTTYPES_H -I. -I./libretro-common/include c++ -c -o src/system.o src/system.cpp -O2 -D_FORTIFY_SOURCE=2 -DBYTE_ORDER=BIG_ENDIAN -DWORDS_BIGENDIAN -DMSB_FIRST -DHAVE_POSIX_MEMALIGN=1 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -fPIC -D__LIBRETRO__ -DINLINE=inline -DHAVE_HLE_BIOS -DFRONTEND_SUPPORTS_RGB565 -DUSE_CHEATS -DTILED_RENDERING -DHAVE_STDINT_H -DHAVE_INTTYPES_H -I. -I./libretro-common/include c++ -c -o libretro/libretro.o libretro/libretro.cpp -O2 -D_FORTIFY_SOURCE=2 -DBYTE_ORDER=BIG_ENDIAN -DWORDS_BIGENDIAN -DMSB_FIRST -DHAVE_POSIX_MEMALIGN=1 -I/usr/include -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -fPIC -D__LIBRETRO__ -DINLINE=inline -DHAVE_HLE_BIOS -DFRONTEND_SUPPORTS_RGB565 -DUSE_CHEATS -DTILED_RENDERING -DHAVE_STDINT_H -DHAVE_INTTYPES_H -I. -I./libretro-common/include distcc[5614] ERROR: compile src/sound.cpp on 10.1.1.1:3642 failed distcc[5614] (dcc_build_somewhere) Warning: remote compilation of 'src/sound.cpp' failed, retrying locally distcc[5614] Warning: failed to distribute src/sound.cpp to 10.1.1.1:3642, running locally instead gcc -c -o libretro-common/memalign.o libretro-common/memalign.c -O2 -D_FORTIFY_SOURCE=2 -DBYTE_ORDER=BIG_ENDIAN -DWORDS_BIGENDIAN -DMSB_FIRST -DHAVE_POSIX_MEMALIGN=1 -I/usr/include -O2 -DNDEBUG -fPIC -D__LIBRETRO__ -DINLINE=inline -DHAVE_HLE_BIOS -DFRONTEND_SUPPORTS_RGB565 -DUSE_CHEATS -DTILED_RENDERING -DHAVE_STDINT_H -DHAVE_INTTYPES_H -I. -I./libretro-common/include In file included from src/sound.cpp:24:0: src/sound.cpp: In function 'void soundEvent_u16(uint32_t, uint16_t)': src/port.h:81:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1890:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem [SGCNT0_H], data & 0x770F ); ^~~~~~~~~ src/port.h:81:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1890:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem [SGCNT0_H], data & 0x770F ); ^~~~~~~~~ src/port.h:81:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1903:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem[address], data ); ^~~~~~~~~ src/port.h:81:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1903:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem[address], data ); ^~~~~~~~~ src/port.h:81:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1912:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem[address], data ); ^~~~~~~~~ src/port.h:81:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1912:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem[address], data ); ^~~~~~~~~ src/port.h:81:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1917:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem[address], data ); ^~~~~~~~~ src/port.h:81:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:1917:4: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem[address], data ); ^~~~~~~~~ src/sound.cpp: In function 'void soundReadGameMem(const uint8_t*&, int)': src/port.h:79:58: error: expected ')' before ';' token #define READ16LE(x) (*((u16 *)(x))<<8)|(*((u16 *)(x))>>8); ^ src/sound.cpp:2147:14: note: in expansion of macro 'READ16LE' int data = (READ16LE( &ioMem [SGCNT0_H] ) & 0x770F); ^~~~~~~~ src/sound.cpp:2147:46: error: lvalue required as unary '&' operand int data = (READ16LE( &ioMem [SGCNT0_H] ) & 0x770F); ^~~~~~ In file included from src/sound.cpp:24:0: src/port.h:81:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:2148:2: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem [SGCNT0_H], data & 0x770F ); ^~~~~~~~~ src/port.h:81:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define WRITE16LE(x,v) *((u16 *)(x)) = (*((u16 *)(v))<<8)|(*((u16 *)(v))>>8); ^ src/sound.cpp:2148:2: note: in expansion of macro 'WRITE16LE' WRITE16LE( &ioMem [SGCNT0_H], data & 0x770F ); ^~~~~~~~~ distcc[5614] ERROR: compile src/sound.cpp on localhost failed gmake: *** [Makefile.libretro:622: src/sound.o] Error 1 gmake: *** Waiting for unfinished jobs.... distcc[28109] ERROR: compile src/gba.cpp on 10.1.1.1:3642 failed distcc[28109] (dcc_build_somewhere) Warning: remote compilation of 'src/gba.cpp' failed, retrying locally distcc[28109] Warning: failed to distribute src/gba.cpp to 10.1.1.1:3642, running locally instead In file included from src/gba.cpp:16:0: src/gba.cpp: In function 'u32 CPUReadMemory(u32)': src/port.h:80:90: error: expression cannot be used as a function #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:872:14: note: in expansion of macro 'READ32LE' value = READ32LE(((u32 *)&biosProtected)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:872:14: note: in expansion of macro 'READ32LE' value = READ32LE(((u32 *)&biosProtected)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:872:14: note: in expansion of macro 'READ32LE' value = READ32LE(((u32 *)&biosProtected)); ^~~~~~~~ src/gba.cpp:873:5: error: expected '}' before 'else' else goto unreadable; ^~~~ src/gba.cpp:875:4: error: 'else' without a previous 'if' else ^~~~ In file included from src/gba.cpp:16:0: src/port.h:80:90: error: expression cannot be used as a function #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:876:13: note: in expansion of macro 'READ32LE' value = READ32LE(bios + (address & 0x3FFC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:876:13: note: in expansion of macro 'READ32LE' value = READ32LE(bios + (address & 0x3FFC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:876:13: note: in expansion of macro 'READ32LE' value = READ32LE(bios + (address & 0x3FFC)); ^~~~~~~~ src/gba.cpp:877:4: error: break statement not within loop or switch break; ^~~~~ src/gba.cpp:878:3: error: case label '2' not within a switch statement case 0x02: ^~~~ In file included from src/gba.cpp:16:0: src/port.h:80:90: error: expression cannot be used as a function #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:880:12: note: in expansion of macro 'READ32LE' value = READ32LE(workRAM + (address & 0x3FFFC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:880:12: note: in expansion of macro 'READ32LE' value = READ32LE(workRAM + (address & 0x3FFFC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:880:12: note: in expansion of macro 'READ32LE' value = READ32LE(workRAM + (address & 0x3FFFC)); ^~~~~~~~ src/gba.cpp:881:4: error: break statement not within loop or switch break; ^~~~~ src/gba.cpp:882:3: error: case label '3' not within a switch statement case 0x03: ^~~~ In file included from src/gba.cpp:16:0: src/port.h:80:90: error: expression cannot be used as a function #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:884:12: note: in expansion of macro 'READ32LE' value = READ32LE(internalRAM + (address & 0x7ffC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:884:12: note: in expansion of macro 'READ32LE' value = READ32LE(internalRAM + (address & 0x7ffC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:884:12: note: in expansion of macro 'READ32LE' value = READ32LE(internalRAM + (address & 0x7ffC)); ^~~~~~~~ src/gba.cpp:885:4: error: break statement not within loop or switch break; ^~~~~ src/gba.cpp:886:3: error: case label '4' not within a switch statement case 0x04: ^~~~ In file included from src/gba.cpp:16:0: src/port.h:80:90: error: expression cannot be used as a function #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:891:14: note: in expansion of macro 'READ32LE' value = READ32LE(ioMem + (address & 0x3fC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:891:14: note: in expansion of macro 'READ32LE' value = READ32LE(ioMem + (address & 0x3fC)); ^~~~~~~~ src/port.h:80:123: error: expected ')' before ';' token #define READ32LE(x) (*((u32 *)(x))<<24)|((*((u32 *)(x))<<8)&0xff0000)|((((*((u32 *)(x))(x)>>8)&0xff00)|(*((u32 *)(x))>>24); ^ src/gba.cpp:891:14: note: in expansion of macro 'READ32LE' value = READ32LE(ioMem + (address & 0x3fC)); ^~~~~~~~ src/gba.cpp:892:5: error: expected '}' before 'else' else ^~~~ src/gba.cpp:873:15: error: label 'unreadable' used but not defined else goto unreadable; ^~~~~~~~~~ src/gba.cpp: At global scope: src/gba.cpp:895:4: error: expected unqualified-id before 'else' else ^~~~ src/gba.cpp:897:4: error: expected unqualified-id before 'break' break; ^~~~~ src/gba.cpp:898:3: error: expected unqualified-id before 'case' case 0x05: ^~~~ src/gba.cpp:901:4: error: expected unqualified-id before 'break' break; ^~~~~ src/gba.cpp:902:3: error: expected unqualified-id before 'case' case 0x06: { ^~~~ src/gba.cpp:913:5: error: expected unqualified-id before 'break' } break; ^~~~~ src/gba.cpp:914:3: error: expected unqualified-id before 'case' case 0x07: ^~~~ src/gba.cpp:917:4: error: expected unqualified-id before 'break' break; ^~~~~ src/gba.cpp:918:3: error: expected unqualified-id before 'case' case 0x08: ^~~~ src/gba.cpp:925:4: error: expected unqualified-id before 'break' break; ^~~~~ src/gba.cpp:926:3: error: expected unqualified-id before 'case' case 0x0D: ^~~~ src/gba.cpp:928:10: error: expected unqualified-id before 'break' break; ^~~~~ src/gba.cpp:929:3: error: expected unqualified-id before 'case' case 14: ^~~~ src/gba.cpp:932:13: error: expected unqualified-id before 'break' break; ^~~~~ src/gba.cpp:933:3: error: expected unqualified-id before 'default' default: ^~~~~~~ src/gba.cpp:937:13: error: expected unqualified-id before 'else' else ^~~~ src/gba.cpp:938:58: error: expected unqualified-id before '|' token value = CPUReadHalfWordQuick(bus.reg[15].I) | CPUReadHalfWordQuick(bus.reg[15].I) << 16; ^ src/gba.cpp:938:96: error: expected unqualified-id before '<<' token value = CPUReadHalfWordQuick(bus.reg[15].I) | CPUReadHalfWordQuick(bus.reg[15].I) << 16; ^~ src/gba.cpp:939:2: error: expected declaration before '}' token } ^ distcc[28109] ERROR: compile src/gba.cpp on localhost failed gmake: *** [Makefile.libretro:622: src/gba.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/emulators/libretro-vba-next *** Error code 1 Stop. make: stopped in /usr/pkgsrc/emulators/libretro-vba-next