=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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 nestopia-1.50nb2
--- source/core/.dirstamp ---
--- source/core/.deps/.dirstamp ---
--- source/core/input/.dirstamp ---
--- source/core/input/.deps/.dirstamp ---
--- source/core/vssystem/.dirstamp ---
--- source/core/vssystem/.deps/.dirstamp ---
--- source/core/api/.dirstamp ---
--- source/core/api/.deps/.dirstamp ---
--- source/core/board/.dirstamp ---
--- source/core/board/.deps/.dirstamp ---
--- source/common/.dirstamp ---
--- source/common/.deps/.dirstamp ---
--- source/sdl/.dirstamp ---
--- source/sdl/.deps/.dirstamp ---
--- source/gtkui/.dirstamp ---
--- source/gtkui/.deps/.dirstamp ---
--- source/core/api/nestopia-NstApiVideo.o ---
--- source/core/api/nestopia-NstApiCheats.o ---
--- source/core/api/nestopia-NstApiHomebrew.o ---
--- source/core/api/nestopia-NstApiCheats.o ---
  CXX      source/core/api/nestopia-NstApiCheats.o
--- source/core/api/nestopia-NstApiVideo.o ---
  CXX      source/core/api/nestopia-NstApiVideo.o
--- source/core/api/nestopia-NstApiHomebrew.o ---
  CXX      source/core/api/nestopia-NstApiHomebrew.o
--- source/core/api/nestopia-NstApiCartridge.o ---
  CXX      source/core/api/nestopia-NstApiCartridge.o
--- source/core/api/nestopia-NstApiMovie.o ---
  CXX      source/core/api/nestopia-NstApiMovie.o
--- source/core/api/nestopia-NstApiTapeRecorder.o ---
  CXX      source/core/api/nestopia-NstApiTapeRecorder.o
--- source/core/api/nestopia-NstApiEmulator.o ---
  CXX      source/core/api/nestopia-NstApiEmulator.o
--- source/core/api/nestopia-NstApiRewinder.o ---
  CXX      source/core/api/nestopia-NstApiRewinder.o
--- source/core/api/nestopia-NstApiCheats.o ---
source/core/api/NstApiCheats.cpp:46:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.value   >>  0 & 0x7U) | (code.value   >> 4 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:46:5: note: insert an explicit cast to silence this issue
                                (code.value   >>  0 & 0x7U) | (code.value   >> 4 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                      )
source/core/api/NstApiCheats.cpp:47:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.value   >>  4 & 0x7U) | (code.address >> 4 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:47:5: note: insert an explicit cast to silence this issue
                                (code.value   >>  4 & 0x7U) | (code.address >> 4 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                      )
source/core/api/NstApiCheats.cpp:48:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.address >>  4 & 0x7U) | (code.useCompare   ? 0x8U : 0x0U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:48:5: note: insert an explicit cast to silence this issue
                                (code.address >>  4 & 0x7U) | (code.useCompare   ? 0x8U : 0x0U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                             )
source/core/api/NstApiCheats.cpp:49:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.address >> 12 & 0x7U) | (code.address >> 0 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:49:5: note: insert an explicit cast to silence this issue
                                (code.address >> 12 & 0x7U) | (code.address >> 0 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                      )
source/core/api/NstApiCheats.cpp:50:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.address >>  0 & 0x7U) | (code.address >> 8 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:50:5: note: insert an explicit cast to silence this issue
                                (code.address >>  0 & 0x7U) | (code.address >> 8 & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                      )
source/core/api/NstApiCheats.cpp:51:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.address >>  8 & 0x7U) | ((code.useCompare ? code.compare : code.value) & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:51:5: note: insert an explicit cast to silence this issue
                                (code.address >>  8 & 0x7U) | ((code.useCompare ? code.compare : code.value) & 0x8U),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                                                  )
source/core/api/NstApiCheats.cpp:52:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.useCompare ? ((code.compare >> 0 & 0x7U) | (code.compare >> 4 & 0x8U)) : 0),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:52:5: note: insert an explicit cast to silence this issue
                                (code.useCompare ? ((code.compare >> 0 & 0x7U) | (code.compare >> 4 & 0x8U)) : 0),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                                               )
source/core/api/NstApiCheats.cpp:53:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
                                (code.useCompare ? ((code.compare >> 4 & 0x7U) | (code.value   >> 0 & 0x8U)) : 0)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/core/api/NstApiCheats.cpp:53:5: note: insert an explicit cast to silence this issue
                                (code.useCompare ? ((code.compare >> 4 & 0x7U) | (code.value   >> 0 & 0x8U)) : 0)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                static_cast<byte>(                                                               )
8 errors generated.
*** [source/core/api/nestopia-NstApiCheats.o] Error code 1

make: stopped in /data/scratch/emulators/nestopia/work/nestopia-1.50
1 error

make: stopped in /data/scratch/emulators/nestopia/work/nestopia-1.50
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/emulators/nestopia
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/emulators/nestopia