=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for knightcap-3.6nb8 --- knightcap.o --- --- trackball.o --- --- move.o --- --- knightcap.o --- gcc -pipe -Os -I/opt/pkg/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -c knightcap.c --- trackball.o --- gcc -pipe -Os -I/opt/pkg/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -c trackball.c --- move.o --- gcc -pipe -Os -I/opt/pkg/include -O2 -fshort-enums -Wall -DTB_DIR=\"/opt/pkg/share/egtb\" -I/opt/pkg/include -I/opt/pkg/include -DRENDERED_DISPLAY=1 -I/opt/pkg/include -c move.c In file included from move.c:2: ./knightcap.h:234:9: warning: 'INFINITY' macro redefined [-Wmacro-redefined] --- knightcap.o --- In file included from knightcap.c:7: --- move.o --- #define INFINITY (40.50*STATIC_PAWN_VALUE) ^ --- knightcap.o --- ./knightcap.h:234:9: warning: 'INFINITY' macro redefined [-Wmacro-redefined] --- move.o --- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/math.h:68:9: note: previous definition is here --- knightcap.o --- #define INFINITY (40.50*STATIC_PAWN_VALUE) ^ --- move.o --- #define INFINITY HUGE_VALF ^ --- knightcap.o --- /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/math.h:68:9: note: previous definition is here #define INFINITY HUGE_VALF ^ --- move.o --- In file included from move.c:2: ./knightcap.h:664:21: error: static declaration of 'fmin' follows non-static declaration static inline float fmin(float i1, float i2) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/math.h:536:15: note: previous declaration is here extern double fmin(double, double); ^ In file included from move.c:2: ./knightcap.h:669:21: error: static declaration of 'fmax' follows non-static declaration static inline float fmax(float i1, float i2) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/math.h:532:15: note: previous declaration is here extern double fmax(double, double); ^ --- knightcap.o --- In file included from knightcap.c:7: ./knightcap.h:664:21: error: static declaration of 'fmin' follows non-static declaration static inline float fmin(float i1, float i2) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/math.h:536:15: note: previous declaration is here extern double fmin(double, double); ^ In file included from knightcap.c:7: ./knightcap.h:669:21: error: static declaration of 'fmax' follows non-static declaration static inline float fmax(float i1, float i2) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/math.h:532:15: note: previous declaration is here extern double fmax(double, double); ^ --- move.o --- move.c:46:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ --- knightcap.o --- knightcap.c:362:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (on == 0) { ^ --- move.o --- move.c:1564:6: warning: variable 'count_alpha' set but not used [-Wunused-but-set-variable] int count_alpha=0; ^ --- knightcap.o --- 2 warnings and 2 errors generated. --- move.o --- 3 warnings and 2 errors generated. --- knightcap.o --- *** [knightcap.o] Error code 1 bmake: stopped in /Users/pbulk/build/games/knightcap/work/Export --- move.o --- *** [move.o] Error code 1 bmake: stopped in /Users/pbulk/build/games/knightcap/work/Export 2 errors bmake: stopped in /Users/pbulk/build/games/knightcap/work/Export *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/games/knightcap *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/games/knightcap