printf ' ' | fink --no-use-binary-dist --yes rebuild crafty 2>&1 The package 'crafty' will be built without being installed. Reading build dependency for crafty-23.4-1... Reading dependency for crafty-23.4-1... Reading build conflict for crafty-23.4-1... The following package will be rebuilt: crafty Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-crafty-23.4-1 /sw/build.build dpkg-deb: building package `fink-buildlock-crafty-23.4-1' in `/sw/build.build/fink-buildlock-crafty-23.4-1_2014.07.30-07.45.34_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-crafty-23.4-1_2014.07.30-07.45.34_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-crafty-23.4-1. (Reading database ... 4296 files and directories currently installed.) Unpacking fink-buildlock-crafty-23.4-1 (from .../fink-buildlock-crafty-23.4-1_2014.07.30-07.45.34_darwin-x86_64.deb) ... Setting up fink-buildlock-crafty-23.4-1 (2014.07.30-07.45.34) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.IH1c7 unzip -o /sw/src/crafty-23.4.zip Archive: /sw/src/crafty-23.4.zip creating: crafty-23.4/ inflating: crafty-23.4/bench.c inflating: crafty-23.4/quiesce.c inflating: crafty-23.4/make.c inflating: crafty-23.4/next.c inflating: crafty-23.4/output.c inflating: crafty-23.4/interupt.c inflating: crafty-23.4/tbdecode.h inflating: crafty-23.4/inline64.h inflating: crafty-23.4/analyze.c inflating: crafty-23.4/chess.h inflating: crafty-23.4/evaluate.c inflating: crafty-23.4/probe.c inflating: crafty-23.4/hash.c inflating: crafty-23.4/Makefile.xp inflating: crafty-23.4/resign.c inflating: crafty-23.4/time.c inflating: crafty-23.4/speak inflating: crafty-23.4/inline32.h inflating: crafty-23.4/init.c inflating: crafty-23.4/search.c inflating: crafty-23.4/vcinline.h inflating: crafty-23.4/input.c inflating: crafty-23.4/main.c inflating: crafty-23.4/boolean.c inflating: crafty-23.4/option.c inflating: crafty-23.4/epdglue.h inflating: crafty-23.4/iterate.c inflating: crafty-23.4/edit.c inflating: crafty-23.4/thread.c inflating: crafty-23.4/movgen.c inflating: crafty-23.4/setboard.c inflating: crafty-23.4/test.c inflating: crafty-23.4/learn.c inflating: crafty-23.4/epddefs.h inflating: crafty-23.4/drawn.c inflating: crafty-23.4/data.h inflating: crafty-23.4/egtb.cpp inflating: crafty-23.4/data.c inflating: crafty-23.4/epd.c inflating: crafty-23.4/epdglue.c inflating: crafty-23.4/evtest.c inflating: crafty-23.4/attacks.c inflating: crafty-23.4/annotate.c inflating: crafty-23.4/epd.h inflating: crafty-23.4/crafty.c inflating: crafty-23.4/book.c inflating: crafty-23.4/Makefile inflating: crafty-23.4/repeat.c inflating: crafty-23.4/utility.c inflating: crafty-23.4/swap.c inflating: crafty-23.4/root.c inflating: crafty-23.4/unmake.c inflating: crafty-23.4/ponder.c inflating: crafty-23.4/crafty.hlp inflating: crafty-23.4/killer.c inflating: crafty-23.4/validate.c inflating: crafty-23.4/lock.h sudo -u fink-bld [ENV] sh -c /tmp/fink.0QB2b cp /sw/src/crafty.doc.ascii . sudo -u fink-bld [ENV] sh -c /tmp/fink.nh_ms cp /sw/src/crafty.doc.ps . sudo -u fink-bld [ENV] sh -c /tmp/fink.zd2Ug unzip -o /sw/src/medium.zip Archive: /sw/src/medium.zip inflating: book.txt sudo -u fink-bld [ENV] sh -c /tmp/fink.HCSZ2 cp /sw/src/start.pgn . sudo -u fink-bld [ENV] sh -c /tmp/fink.KfMdT [ -r /sw/fink/dists/stable/main/finkinfo/games/crafty.patch ] sudo -u fink-bld [ENV] sh -c /tmp/fink.yTlSK patch -p1 README sudo -u fink-bld [ENV] sh -c /tmp/fink.bVQao /tmp/fink.YpxaO /Applications/Xcode.app/Contents/Developer/usr/bin/make target=FreeBSD \ CC=gcc CXX=g++ \ CFLAGS='-arch i386 -arch x86_64 -DCPUS=8 -Wall -pipe -O3' \ CXFLAGS='-arch i386 -arch x86_64 -DCPUS=8 -Wall -pipe -O3' \ LDFLAGS='-L/sw/lib -arch i386 -arch x86_64' \ LIBS='-lstdc++' \ opt='-DBOOKDIR=\"/sw/lib/crafty\" -DTBDIR=\"/sw/lib/crafty/TB\"' \ crafty-make gcc -arch i386 -arch x86_64 -DCPUS=8 -Wall -pipe -O3 -DBOOKDIR=\"/sw/lib/crafty\" -DTBDIR=\"/sw/lib/crafty/TB\" -DFreeBSD -c crafty.c g++ -c -arch i386 -arch x86_64 -DCPUS=8 -Wall -pipe -O3 -DBOOKDIR=\"/sw/lib/crafty\" -DTBDIR=\"/sw/lib/crafty/TB\" -DFreeBSD egtb.cpp egtb.cpp:334:61: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf ("*** Cannot allocate %d bytes of memory\n", cb); ~~ ^~ %lu egtb.cpp:1011:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1011:40: note: place parentheses around the '&&' expression to silence this warning 0 != TbColumn (sq) && sqKing == sq+7 || ^ ( ) egtb.cpp:1012:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1012:40: note: place parentheses around the '&&' expression to silence this warning 7 != TbColumn (sq) && sqKing == sq+9 ^ ( ) egtb.cpp:1018:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 2 && TbColumn (sq) >= 1 && sqKing == sq-17 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1018:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 2 && TbColumn (sq) >= 1 && sqKing == sq-17 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1019:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 2 && TbColumn (sq) <= 6 && sqKing == sq-15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1019:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 2 && TbColumn (sq) <= 6 && sqKing == sq-15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1020:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 1 && TbColumn (sq) >= 2 && sqKing == sq-10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1020:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 1 && TbColumn (sq) >= 2 && sqKing == sq-10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1021:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 1 && TbColumn (sq) <= 5 && sqKing == sq-6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1021:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 1 && TbColumn (sq) <= 5 && sqKing == sq-6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1022:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 6 && TbColumn (sq) >= 2 && sqKing == sq+6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1022:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 6 && TbColumn (sq) >= 2 && sqKing == sq+6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1023:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 6 && TbColumn (sq) <= 5 && sqKing == sq+10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1023:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 6 && TbColumn (sq) <= 5 && sqKing == sq+10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1024:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 5 && TbColumn (sq) >= 1 && sqKing == sq+15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1024:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 5 && TbColumn (sq) >= 1 && sqKing == sq+15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1025:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 5 && TbColumn (sq) <= 6 && sqKing == sq+17 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1025:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 5 && TbColumn (sq) <= 6 && sqKing == sq+17 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1031:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1031:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ^ ( ) egtb.cpp:1032:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1032:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ^ ( ) egtb.cpp:1033:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1033:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ^ ( ) egtb.cpp:1034:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1034:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ^ ( ) egtb.cpp:1040:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbColumn (sq) && sqKing == sq-1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1040:40: note: place parentheses around the '&&' expression to silence this warning 0 != TbColumn (sq) && sqKing == sq-1 || ^ ( ) egtb.cpp:1041:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbColumn (sq) && sqKing == sq+1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1041:40: note: place parentheses around the '&&' expression to silence this warning 7 != TbColumn (sq) && sqKing == sq+1 || ^ ( ) egtb.cpp:1042:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && sqKing == sq-8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1042:37: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && sqKing == sq-8 || ^ ( ) egtb.cpp:1043:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && sqKing == sq+8 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1043:37: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && sqKing == sq+8 ^ ( ) egtb.cpp:1049:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbColumn (sq) && sqKing == sq-1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1049:40: note: place parentheses around the '&&' expression to silence this warning 0 != TbColumn (sq) && sqKing == sq-1 || ^ ( ) egtb.cpp:1050:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbColumn (sq) && sqKing == sq+1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1050:40: note: place parentheses around the '&&' expression to silence this warning 7 != TbColumn (sq) && sqKing == sq+1 || ^ ( ) egtb.cpp:1051:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && sqKing == sq-8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1051:37: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && sqKing == sq-8 || ^ ( ) egtb.cpp:1052:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && sqKing == sq+8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1052:37: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && sqKing == sq+8 || ^ ( ) egtb.cpp:1053:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1053:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ^ ( ) egtb.cpp:1054:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1054:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ^ ( ) egtb.cpp:1055:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1055:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ^ ( ) egtb.cpp:1056:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1056:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ^ ( ) egtb.cpp:1270:70: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] printf ("%c - %d enumerated positions\n", "pPNBRQ"[pi1], rgcSinglePawnPresent[pi1]); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %lu egtb.cpp:1274:83: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] printf ("pawnless %c - %d enumerated positions\n", "pPNBRQ"[pi1], rgcSinglePawnless[pi1]); ~~ ^~~~~~~~~~~~~~~~~~~~~~ %lu egtb.cpp:1281:29: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcPairPawnPresent[pi1][pi2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1288:29: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcPairPawnless[pi1][pi2]); ^~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1298:33: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcTriplePawnPresent[pi1][pi2][pi3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1307:33: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcTriplePawnless[pi1][pi2][pi3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1310:40: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("\nAllocated %dk\n\n", (cbAllocated + 1023)/1024); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %lu In file included from crafty.c:27: ./utility.c:715:31: warning: unused variable 'j' [-Wunused-variable] int i, t_move_number, type, j, dummy = 0; ^ ./utility.c:715:34: warning: unused variable 'dummy' [-Wunused-variable] int i, t_move_number, type, j, dummy = 0; ^ egtb.cpp:6303:21: warning: unused variable 'fWasError' [-Wunused-variable] int fWasError; ^ egtb.cpp:6304:22: warning: unused variable 'block' [-Wunused-variable] decode_block *block; ^ egtb.cpp:6305:21: warning: unused variable 'rgbBuffer' [-Wunused-variable] BYTE rgbBuffer[TB_CB_CACHE_CHUNK+32+4]; ^ In file included from crafty.c:29: ./book.c:1146:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(schar); ^~~~~ In file included from crafty.c:45: ./option.c:4011:15: warning: unused variable 'line' [-Wunused-variable] static char line[256]; ^ In file included from egtb.cpp:4474: ./tbdecode.h:774:12: warning: unused function 'comp_tell_blocks' [-Wunused-function] static int comp_tell_blocks(decode_info * info) ^ egtb.cpp:6092:25: warning: unused function 'TbtProbeTable' [-Wunused-function] static int TB_FASTCALL TbtProbeTable ^ 4 warnings generated. In file included from crafty.c:27: ./utility.c:715:31: warning: unused variable 'j' [-Wunused-variable] int i, t_move_number, type, j, dummy = 0; ^ ./utility.c:715:34: warning: unused variable 'dummy' [-Wunused-variable] int i, t_move_number, type, j, dummy = 0; ^ In file included from crafty.c:29: ./book.c:1146:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(schar); ^~~~~ In file included from crafty.c:45: ./option.c:4011:15: warning: unused variable 'line' [-Wunused-variable] static char line[256]; ^ 39 warnings generated. egtb.cpp:334:61: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf ("*** Cannot allocate %d bytes of memory\n", cb); ~~ ^~ %lu egtb.cpp:1011:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1011:40: note: place parentheses around the '&&' expression to silence this warning 0 != TbColumn (sq) && sqKing == sq+7 || ^ ( ) egtb.cpp:1012:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1012:40: note: place parentheses around the '&&' expression to silence this warning 7 != TbColumn (sq) && sqKing == sq+9 ^ ( ) egtb.cpp:1018:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 2 && TbColumn (sq) >= 1 && sqKing == sq-17 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1018:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 2 && TbColumn (sq) >= 1 && sqKing == sq-17 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1019:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 2 && TbColumn (sq) <= 6 && sqKing == sq-15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1019:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 2 && TbColumn (sq) <= 6 && sqKing == sq-15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1020:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 1 && TbColumn (sq) >= 2 && sqKing == sq-10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1020:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 1 && TbColumn (sq) >= 2 && sqKing == sq-10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1021:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) >= 1 && TbColumn (sq) <= 5 && sqKing == sq-6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1021:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) >= 1 && TbColumn (sq) <= 5 && sqKing == sq-6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1022:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 6 && TbColumn (sq) >= 2 && sqKing == sq+6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1022:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 6 && TbColumn (sq) >= 2 && sqKing == sq+6 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1023:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 6 && TbColumn (sq) <= 5 && sqKing == sq+10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1023:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 6 && TbColumn (sq) <= 5 && sqKing == sq+10 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1024:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 5 && TbColumn (sq) >= 1 && sqKing == sq+15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1024:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 5 && TbColumn (sq) >= 1 && sqKing == sq+15 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1025:59: warning: '&&' within '||' [-Wlogical-op-parentheses] TbRow (sq) <= 5 && TbColumn (sq) <= 6 && sqKing == sq+17 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1025:59: note: place parentheses around the '&&' expression to silence this warning TbRow (sq) <= 5 && TbColumn (sq) <= 6 && sqKing == sq+17 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ egtb.cpp:1031:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1031:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ^ ( ) egtb.cpp:1032:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1032:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ^ ( ) egtb.cpp:1033:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1033:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ^ ( ) egtb.cpp:1034:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1034:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ^ ( ) egtb.cpp:1040:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbColumn (sq) && sqKing == sq-1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1040:40: note: place parentheses around the '&&' expression to silence this warning 0 != TbColumn (sq) && sqKing == sq-1 || ^ ( ) egtb.cpp:1041:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbColumn (sq) && sqKing == sq+1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1041:40: note: place parentheses around the '&&' expression to silence this warning 7 != TbColumn (sq) && sqKing == sq+1 || ^ ( ) egtb.cpp:1042:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && sqKing == sq-8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1042:37: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && sqKing == sq-8 || ^ ( ) egtb.cpp:1043:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && sqKing == sq+8 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1043:37: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && sqKing == sq+8 ^ ( ) egtb.cpp:1049:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbColumn (sq) && sqKing == sq-1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ~~ egtb.cpp:1049:40: note: place parentheses around the '&&' expression to silence this warning 0 != TbColumn (sq) && sqKing == sq-1 || ^ ( ) egtb.cpp:1050:40: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbColumn (sq) && sqKing == sq+1 || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1050:40: note: place parentheses around the '&&' expression to silence this warning 7 != TbColumn (sq) && sqKing == sq+1 || ^ ( ) egtb.cpp:1051:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && sqKing == sq-8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1051:37: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && sqKing == sq-8 || ^ ( ) egtb.cpp:1052:37: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && sqKing == sq+8 || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1052:37: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && sqKing == sq+8 || ^ ( ) egtb.cpp:1053:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1053:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq-9 || ^ ( ) egtb.cpp:1054:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1054:59: note: place parentheses around the '&&' expression to silence this warning 0 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq-7 || ^ ( ) egtb.cpp:1055:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1055:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 0 != TbColumn (sq) && sqKing == sq+7 || ^ ( ) egtb.cpp:1056:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ egtb.cpp:1056:59: note: place parentheses around the '&&' expression to silence this warning 7 != TbRow (sq) && 7 != TbColumn (sq) && sqKing == sq+9 ^ ( ) egtb.cpp:1270:70: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] printf ("%c - %d enumerated positions\n", "pPNBRQ"[pi1], rgcSinglePawnPresent[pi1]); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %lu egtb.cpp:1274:83: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] printf ("pawnless %c - %d enumerated positions\n", "pPNBRQ"[pi1], rgcSinglePawnless[pi1]); ~~ ^~~~~~~~~~~~~~~~~~~~~~ %lu egtb.cpp:1281:29: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcPairPawnPresent[pi1][pi2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1288:29: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcPairPawnless[pi1][pi2]); ^~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1298:33: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcTriplePawnPresent[pi1][pi2][pi3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1307:33: warning: format specifies type 'int' but the argument has type 'ULONG' (aka 'unsigned long') [-Wformat] rgcTriplePawnless[pi1][pi2][pi3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ egtb.cpp:1310:40: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("\nAllocated %dk\n\n", (cbAllocated + 1023)/1024); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %lu egtb.cpp:6303:21: warning: unused variable 'fWasError' [-Wunused-variable] int fWasError; ^ egtb.cpp:6304:22: warning: unused variable 'block' [-Wunused-variable] decode_block *block; ^ egtb.cpp:6305:21: warning: unused variable 'rgbBuffer' [-Wunused-variable] BYTE rgbBuffer[TB_CB_CACHE_CHUNK+32+4]; ^ 4 warnings generated. In file included from egtb.cpp:4474: ./tbdecode.h:774:12: warning: unused function 'comp_tell_blocks' [-Wunused-function] static int comp_tell_blocks(decode_info * info) ^ egtb.cpp:6092:25: warning: unused function 'TbtProbeTable' [-Wunused-function] static int TB_FASTCALL TbtProbeTable ^ 39 warnings generated. gcc -L/sw/lib -arch i386 -arch x86_64 -o crafty crafty.o egtb.o -lm -lstdc++ unable to open book file [/sw/lib/crafty/book.bin]. book is disabled unable to open book file [/sw/lib/crafty/books.bin]. Crafty v23.4 (1 cpus) White(1): parsing pgn move file (100k moves/dot) /tmp/fink.YpxaO: line 5: 62726 Done echo "books create ../start.pgn 60" 62727 Abort trap: 6 | ./crafty unable to open book file [/sw/lib/crafty/book.bin]. book is disabled unable to open book file [/sw/lib/crafty/books.bin]. Crafty v23.4 (1 cpus) White(1): parsing pgn move file (100k moves/dot) /tmp/fink.YpxaO: line 6: 62728 Done echo "book create ../book.txt 60 2 50" 62729 Abort trap: 6 | ./crafty ### execution of /tmp/fink.YpxaO failed, exit code 134 ### execution of /tmp/fink.bVQao failed, exit code 134 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-crafty-23.4-1 (Reading database ... 4297 files and directories currently installed.) Removing fink-buildlock-crafty-23.4-1 ... Failed: phase compiling: crafty-23.4-1 failed Before reporting any errors, please run "fink selfupdate" and try again. Also try using "fink configure" to set your maximum build jobs to 1 and attempt to build the package again. If you continue to have issues, please check to see if the FAQ on Fink's website solves the problem. If not, ask on one (not both, please) of these mailing lists: The Fink Users List The Fink Beginners List , with a carbon copy to the maintainer: Matthias Neeracher Note that this is preferable to emailing just the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. Please try to include the complete error message in your report. This generally consists of a compiler line starting with e.g. "gcc" or "g++" followed by the actual error output from the compiler. Also include the following system information: Package manager version: 0.37.0 Distribution version: selfupdate-cvs Thu Jul 24 20:26:24 2014, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.1.1 Xcode command-line tools: 6.0.0.0.1.1405597879 Max. Fink build jobs: 8