>>> Building on localhost under emulators/gambatte BDEPENDS = [devel/sdl;graphics/png] DIST = [emulators/gambatte:gambatte_src-r571.tar.gz] FULLPKGNAME = gambatte-0.5.0.571p8 RDEPENDS = [devel/sdl] (Junk lock obtained for localhost at 1779826826.07) >>> Running depends in emulators/gambatte at 1779826826.12 last junk was in emulators/openmsx /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 was: /usr/sbin/pkg_add -aI -Drepair png-1.6.58 sdl-1.2.15p12 /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 >>> Running show-prepare-results in emulators/gambatte at 1779826829.43 ===> emulators/gambatte ===> Building from scratch gambatte-0.5.0.571p8 ===> gambatte-0.5.0.571p8 depends on: png-* -> png-1.6.58 ===> gambatte-0.5.0.571p8 depends on: sdl-* -> sdl-1.2.15p12 ===> Verifying specs: c++ c++abi pthread SDL c m z ===> found c++.12.0 c++abi.9.0 pthread.28.1 SDL.8.0 c.103.0 m.10.1 z.7.2 png-1.6.58 sdl-1.2.15p12 Don't run junk because nojunk in net/validns (Junk lock released for localhost at 1779826830.97) distfiles size=522199 >>> Running build in emulators/gambatte at 1779826831.01 ===> emulators/gambatte ===> Checking files for gambatte-0.5.0.571p8 `/usr/ports/distfiles/gambatte_src-r571.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for gambatte-0.5.0.571p8 ===> Patching for gambatte-0.5.0.571p8 ===> Applying OpenBSD patch patch-gambatte_qt_src_framework_src_SDL_Joystick_src_SDL_joystick_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |https://github.com/sinamas/gambatte/pull/7 |--- gambatte_qt/src/framework/src/SDL_Joystick/src/SDL_joystick.c.orig Sun Dec 20 05:16:46 2015 |+++ gambatte_qt/src/framework/src/SDL_Joystick/src/SDL_joystick.c Sun Dec 20 05:16:51 2015 -------------------------- Patching file gambatte_qt/src/framework/src/SDL_Joystick/src/SDL_joystick.c using Plan A... Hunk #1 succeeded at 376. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for gambatte-0.5.0.571p8 ===> Configuring for gambatte-0.5.0.571p8 ===> Building for gambatte-0.5.0.571p8 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/audiosink.cpp -o gambatte_sdl/src/audiosink.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/blitterwrapper.cpp -o gambatte_sdl/src/blitterwrapper.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/gambatte_sdl.cpp -o gambatte_sdl/src/gambatte_sdl.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 gambatte_sdl/src/gambatte_sdl.cpp:603:22: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] 603 | std::bind1st(std::mem_fun(&Parser::add), &parser)); | ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:49:1: note: 'mem_fun' has been explicitly marked deprecated here 49 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) { | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ gambatte_sdl/src/gambatte_sdl.cpp:603:9: warning: 'bind1st, Parser *>' is deprecated [-Wdeprecated-declarations] 603 | std::bind1st(std::mem_fun(&Parser::add), &parser)); | ^ /usr/include/c++/v1/__functional/binder1st.h:45:1: note: 'bind1st, Parser *>' has been explicitly marked deprecated here 45 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI binder1st<_Operation> | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/parser.cpp -o gambatte_sdl/src/parser.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/sdlblitter.cpp -o gambatte_sdl/src/sdlblitter.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/str_to_sdlkey.cpp -o gambatte_sdl/src/str_to_sdlkey.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c gambatte_sdl/src/usec.cpp -o gambatte_sdl/src/usec.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/adaptivesleep.cpp -o common/adaptivesleep.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/chainresampler.cpp -o common/resample/src/chainresampler.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/i0.cpp -o common/resample/src/i0.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/kaiser50sinc.cpp -o common/resample/src/kaiser50sinc.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/kaiser70sinc.cpp -o common/resample/src/kaiser70sinc.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/makesinckernel.cpp -o common/resample/src/makesinckernel.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/resamplerinfo.cpp -o common/resample/src/resamplerinfo.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/resample/src/u48div.cpp -o common/resample/src/u48div.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/rateest.cpp -o common/rateest.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/skipsched.cpp -o common/skipsched.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/rgb32conv.cpp -o common/videolink/rgb32conv.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilterinfo.cpp -o common/videolink/vfilterinfo.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/catrom2x.cpp -o common/videolink/vfilters/catrom2x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/catrom3x.cpp -o common/videolink/vfilters/catrom3x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/kreed2xsai.cpp -o common/videolink/vfilters/kreed2xsai.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/maxsthq2x.cpp -o common/videolink/vfilters/maxsthq2x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c common/videolink/vfilters/maxsthq3x.cpp -o common/videolink/vfilters/maxsthq3x.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/bitmap_font.cpp -o libgambatte/src/bitmap_font.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/cpu.cpp -o libgambatte/src/cpu.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/cpu.cpp:19: In file included from libgambatte/src/cpu.h:22: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/gambatte.cpp -o libgambatte/src/gambatte.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/gambatte.cpp:20: In file included from libgambatte/src/cpu.h:22: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/initstate.cpp -o libgambatte/src/initstate.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/interrupter.cpp -o libgambatte/src/interrupter.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/interrupter.cpp:20: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/interruptrequester.cpp -o libgambatte/src/interruptrequester.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/loadres.cpp -o libgambatte/src/loadres.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/memory.cpp -o libgambatte/src/memory.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 In file included from libgambatte/src/memory.cpp:19: In file included from libgambatte/src/memory.h:27: libgambatte/src/video.h:89:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:89:52: note: place parentheses around the '&' expression to silence this warning 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:89:52: note: place parentheses around the '?:' expression to evaluate it first 89 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? bgpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ libgambatte/src/video.h:93:52: note: place parentheses around the '&' expression to silence this warning 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) libgambatte/src/video.h:93:52: note: place parentheses around the '?:' expression to evaluate it first 93 | return ppu_.cgb() & cgbpAccessible(cycleCounter) ? objpData_[index] : 0xFF; | ^ | ( ) 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/sound.cpp -o libgambatte/src/sound.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/state_osd_elements.cpp -o libgambatte/src/state_osd_elements.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/statesaver.cpp -o libgambatte/src/statesaver.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 libgambatte/src/statesaver.cpp:98:21: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] 98 | std::bind1st(std::mem_fun(&std::ofstream::put), &file)); | ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:49:1: note: 'mem_fun' has been explicitly marked deprecated here 49 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI mem_fun1_t<_Sp, _Tp, _Ap> mem_fun(_Sp (_Tp::*__f)(_Ap)) { | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ libgambatte/src/statesaver.cpp:98:8: warning: 'bind1st, std::ofstream *>' is deprecated [-Wdeprecated-declarations] 98 | std::bind1st(std::mem_fun(&std::ofstream::put), &file)); | ^ /usr/include/c++/v1/__functional/binder1st.h:45:1: note: 'bind1st, std::ofstream *>' has been explicitly marked deprecated here 45 | _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_HIDE_FROM_ABI binder1st<_Operation> | ^ /usr/include/c++/v1/__config:711:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 711 | # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED | ^ /usr/include/c++/v1/__config:688:49: note: expanded from macro '_LIBCPP_DEPRECATED' 688 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__)) | ^ 2 warnings generated. c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/tima.cpp -o libgambatte/src/tima.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 c++ -Ilibgambatte/src -Ilibgambatte/include -Igambatte_sdl/src -Icommon -O2 -pipe -std=c++14 -DHAVE_STDINT_H -c libgambatte/src/file/file_zip.cpp -o libgambatte/src/file/file_zip.o -DGAMBATTE_SDL_VERSION_STR=\"r571\" -DHAVE_STDINT_H -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/libpng16 cc -O2 -pipe -DHAVE_USBHID_H -DUSBHID_UCR_DATA -DUSBHID_NEW -c libgambatte/src/file/unzip/unzip.c -o libgambatte/src/file/unzip/unzip.o libgambatte/src/file/unzip/unzip.c:171:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | local int unzlocal_getByte(pzlib_filefunc_def,filestream,pi) | ^ libgambatte/src/file/unzip/unzip.c:201:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX) | ^ libgambatte/src/file/unzip/unzip.c:229:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX) | ^ libgambatte/src/file/unzip/unzip.c:262:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | local int strcmpcasenosensitive_internal (fileName1,fileName2) | ^ libgambatte/src/file/unzip/unzip.c:305:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | extern int ZEXPORT unzStringFileNameCompare (fileName1,fileName2,iCaseSensitivity) | ^ libgambatte/src/file/unzip/unzip.c:331:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream) | ^ libgambatte/src/file/unzip/unzip.c:397:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | extern unzFile ZEXPORT unzOpen2 (path, pzlib_filefunc_def) | ^ libgambatte/src/file/unzip/unzip.c:500:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | extern unzFile ZEXPORT unzOpen (path) | ^ libgambatte/src/file/unzip/unzip.c:511:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | extern int ZEXPORT unzClose (file) | ^ libgambatte/src/file/unzip/unzip.c:532:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | extern int ZEXPORT unzGetGlobalInfo (file,pglobal_info) | ^ libgambatte/src/file/unzip/unzip.c:548:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | local void unzlocal_DosDateToTmuDate (ulDosDate, ptm) | ^ libgambatte/src/file/unzip/unzip.c:577:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | local int unzlocal_GetCurrentFileInfoInternal (file, | ^ libgambatte/src/file/unzip/unzip.c:750:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | extern int ZEXPORT unzGetCurrentFileInfo (file, | ^ libgambatte/src/file/unzip/unzip.c:774:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | extern int ZEXPORT unzGoToFirstFile (file) | ^ libgambatte/src/file/unzip/unzip.c:796:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | extern int ZEXPORT unzGoToNextFile (file) | ^ libgambatte/src/file/unzip/unzip.c:830:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | extern int ZEXPORT unzLocateFile (file, szFileName, iCaseSensitivity) | ^ libgambatte/src/file/unzip/unzip.c:909:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | extern int ZEXPORT unzGetFilePos(file, file_pos) | ^ libgambatte/src/file/unzip/unzip.c:927:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | extern int ZEXPORT unzGoToFilePos(file, file_pos) | ^ libgambatte/src/file/unzip/unzip.c:963:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | local int unzlocal_CheckCurrentFileCoherencyHeader (s,piSizeVar, | ^ libgambatte/src/file/unzip/unzip.c:1055:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password) | ^ libgambatte/src/file/unzip/unzip.c:1178:24: error: incompatible pointer types assigning to 'const unsigned long *' from 'const z_crc_t *' (aka 'const unsigned int *') [-Wincompatible-pointer-types] 1178 | s->pcrc_32_tab = get_crc_table(); | ^ ~~~~~~~~~~~~~~~ libgambatte/src/file/unzip/unzip.c:1200:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | extern int ZEXPORT unzOpenCurrentFile (file) | ^ libgambatte/src/file/unzip/unzip.c:1206:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | extern int ZEXPORT unzOpenCurrentFilePassword (file, password) | ^ libgambatte/src/file/unzip/unzip.c:1213:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | extern int ZEXPORT unzOpenCurrentFile2 (file,method,level,raw) | ^ libgambatte/src/file/unzip/unzip.c:1232:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | extern int ZEXPORT unzReadCurrentFile (file, buf, len) | ^ libgambatte/src/file/unzip/unzip.c:1250:46: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1250 | if ((pfile_in_zip_read_info->read_buffer == NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ libgambatte/src/file/unzip/unzip.c:1250:46: note: remove extraneous parentheses around the comparison to silence this warning 1250 | if ((pfile_in_zip_read_info->read_buffer == NULL)) | ~ ^ ~ libgambatte/src/file/unzip/unzip.c:1250:46: note: use '=' to turn this equality comparison into an assignment 1250 | if ((pfile_in_zip_read_info->read_buffer == NULL)) | ^~ | = libgambatte/src/file/unzip/unzip.c:1393:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | extern z_off_t ZEXPORT unztell (file) | ^ libgambatte/src/file/unzip/unzip.c:1413:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | extern int ZEXPORT unzeof (file) | ^ libgambatte/src/file/unzip/unzip.c:1446:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | extern int ZEXPORT unzGetLocalExtrafield (file,buf,len) | ^ libgambatte/src/file/unzip/unzip.c:1497:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | extern int ZEXPORT unzCloseCurrentFile (file) | ^ libgambatte/src/file/unzip/unzip.c:1540:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf) | ^ libgambatte/src/file/unzip/unzip.c:1571:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | extern uLong ZEXPORT unzGetOffset (file) | ^ libgambatte/src/file/unzip/unzip.c:1587:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | extern int ZEXPORT unzSetOffset (file, pos) | ^ 32 warnings and 1 error generated. *** Error 1 in /usr/obj/ports/gambatte-0.5.0.571/gambatte_src-r571 (/usr/ports/emulators/gambatte/files/Makefile:88 'libgambatte/src/file/unzip/unzip.o') *** Error 2 in emulators/gambatte (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/gambatte-0.5.0.571/.build_done': @cd /usr/o...) *** Error 2 in emulators/gambatte (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=gambatte-0.5.0.571p8; export _LOCKS_HELD=" ...) ===> Exiting emulators/gambatte with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1779826896.96 max_stuck=1.53/depends=3.31/show-prepare-results=1.59/build=65.98 Error: job failed with 512 on localhost at 1779826896