=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ketm-0.0.6nb8 gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o main.o main.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o particle.o particle.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o font.o font.c In file included from main.c:1: In file included from ./main.h:12: In file included from ./thegame.h:14: ./score.h:1:9: warning: '_SCORE_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _SCORE_H_ ^~~~~~~~~ font.c:29:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ./score.h:2:9: strcpy(fonts[FONT04].charorder,FONT04CHARS); ^~~~~~~~~~~ ./font.h:26:103: note: '_SCROE_H_' is defined here; did you mean '_SCORE_H_'? note: expanded from macro 'FONT04CHARS' #define _SCROE_H_ ^~~~~~~~~ _SCORE_H_ #define FONT04CHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@(){},.-;:_#*+?=!\"<A7>$%&/<F6><E4><FC><D6><C4>ܵ^<B0>'`<B4><DF>\\<>| " ^~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o sprite.o sprite.c 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o bonus.o bonus.c sprite.c:201:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!s->flags&SP_FLAG_NOCACHE) { ^ ~ sprite.c:201:7: note: add parentheses after the '!' to evaluate the bitwise operator first if(!s->flags&SP_FLAG_NOCACHE) { ^ ( ) sprite.c:201:7: note: add parentheses around left hand side expression to silence this warning if(!s->flags&SP_FLAG_NOCACHE) { ^ ( ) gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy.o enemy.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_greeter.o enemy_greeter.c enemy_greeter.c:66:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!s->flags&SP_FLAG_VISIBLE) ^ ~ enemy_greeter.c:66:7: note: add parentheses after the '!' to evaluate the bitwise operator first if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) enemy_greeter.c:66:7: note: add parentheses around left hand side expression to silence this warning if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_curver.o enemy_curver.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_crusher.o enemy_crusher.c enemy_curver.c:64:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!s->flags&SP_FLAG_VISIBLE) ^ ~ enemy_curver.c:64:7: note: add parentheses after the '!' to evaluate the bitwise operator first if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) enemy_curver.c:64:7: note: add parentheses around left hand side expression to silence this warning if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_cube.o enemy_cube.c enemy_crusher.c:60:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!s->flags&SP_FLAG_VISIBLE) ^ ~ enemy_crusher.c:60:7: note: add parentheses after the '!' to evaluate the bitwise operator first if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) enemy_crusher.c:60:7: note: add parentheses around left hand side expression to silence this warning if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_drager.o enemy_drager.c 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_eyefo.o enemy_eyefo.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_xev.o enemy_xev.c enemy_eyefo.c:63:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!s->flags&SP_FLAG_VISIBLE) ^ ~ enemy_eyefo.c:63:7: note: add parentheses after the '!' to evaluate the bitwise operator first if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) enemy_eyefo.c:63:7: note: add parentheses around left hand side expression to silence this warning if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_mine.o enemy_mine.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_rwingx.o enemy_rwingx.c 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_cir.o enemy_cir.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_zatak.o enemy_zatak.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_badguy.o enemy_badguy.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_proball.o enemy_proball.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_plasmaball.o enemy_plasmaball.c enemy_proball.c:59:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!s->flags&SP_FLAG_VISIBLE) ^ ~ enemy_proball.c:59:7: note: add parentheses after the '!' to evaluate the bitwise operator first if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) enemy_proball.c:59:7: note: add parentheses around left hand side expression to silence this warning if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_ming.o enemy_ming.c 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_boss01.o enemy_boss01.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_boss02.o enemy_boss02.c enemy_ming.c:111:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(!s->flags&SP_FLAG_VISIBLE) ^ ~ enemy_ming.c:111:7: note: add parentheses after the '!' to evaluate the bitwise operator first if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) enemy_ming.c:111:7: note: add parentheses around left hand side expression to silence this warning if(!s->flags&SP_FLAG_VISIBLE) ^ ( ) enemy_boss02.c:335:19: warning: variable 'd' set but not used [-Wunused-but-set-variable] BOSS02_ICE_DATA *d; ^ 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_boss03.o enemy_boss03.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o enemy_gametext.o enemy_gametext.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o support.o support.c 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o intro.o intro.c support.c:74:17: warning: passing arguments to 'display_vidinfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_vidinfo(screen); ^ gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o thegame.o thegame.c In file included from thegame.c:1: In file included from ./thegame.h:14: ./score.h:1:9: warning: '_SCORE_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _SCORE_H_ ^~~~~~~~~ ./score.h:2:9: note: '_SCROE_H_' is defined here; did you mean '_SCORE_H_'? #define _SCROE_H_ ^~~~~~~~~ _SCORE_H_ thegame.c:64:18: warning: passing arguments to 'thegame_level' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thegame_level(l); ^ In file included from thegame.c:1: ./thegame.h:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void thegame_level(); ^ thegame.c:116:6: note: conflicting prototype is here void thegame_level(LEVELENTRY *l) ^ gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o loadlv.o loadlv.c 3 warnings generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o score.o score.c In file included from score.c:1: ./score.h:1:9: warning: '_SCORE_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _SCORE_H_ ^~~~~~~~~ ./score.h:2:9: note: '_SCROE_H_' is defined here; did you mean '_SCORE_H_'? #define _SCROE_H_ ^~~~~~~~~ _SCORE_H_ 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o player.o player.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o menu.o menu.c 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o startintro.o startintro.c startintro.c:43:24: warning: passing arguments to 'startintro_centerimg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startintro_centerimg(badblocks,scale); ^ startintro.c:52:24: warning: passing arguments to 'startintro_centerimg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startintro_centerimg(presents,scale); ^ startintro.c:61:24: warning: passing arguments to 'startintro_centerimg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startintro_centerimg(ketm,scale); ^ In file included from startintro.c:1: ./startintro.h:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void startintro_centerimg(); ^ startintro.c:89:6: note: conflicting prototype is here void startintro_centerimg(SDL_Surface *src, double scale) ^ 4 warnings generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o gameover.o gameover.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o hiscore.o hiscore.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o fps.o fps.c gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -I/opt/pkg/include/SDL -I/opt/pkg/include -c -o bg.o bg.c In file included from hiscore.c:1: ./hiscore.h:51:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void hsc_show_move(); ^ hiscore.c:139:6: note: conflicting prototype is here void hsc_show_move(SPRITE *s) ^ 1 warning generated. gcc -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -Wall -O2 -D_REENTRANT -o ketm main.o particle.o font.o sprite.o bonus.o enemy.o enemy_greeter.o enemy_curver.o enemy_crusher.o enemy_cube.o enemy_drager.o enemy_eyefo.o enemy_xev.o enemy_mine.o enemy_rwingx.o enemy_cir.o enemy_zatak.o enemy_badguy.o enemy_proball.o enemy_plasmaball.o enemy_ming.o enemy_boss01.o enemy_boss02.o enemy_boss03.o enemy_gametext.o support.o intro.o thegame.o loadlv.o score.o player.o menu.o startintro.o gameover.o hiscore.o fps.o bg.o -L/opt/pkg/lib -lSDL -lpthread ld: Undefined symbols: _main, referenced from: <initial-undefines> clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile:43: ketm] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/games/ketm *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/games/ketm