printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild connect4 2>&1 WARNING: your info file index has not been updated for 20 days. You should run 'fink selfupdate' to get the latest package descriptions. The package 'connect4' will be built without being installed. Reading build dependency for connect4-1.2-1011... Reading dependency for connect4-1.2-1011... Reading build conflict for connect4-1.2-1011... The following package will be rebuilt: connect4 Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-connect4-1.2-1011 /sw/build.build dpkg-deb: building package `fink-buildlock-connect4-1.2-1011' in `/sw/build.build/fink-buildlock-connect4-1.2-1011_2014.08.14-00.05.12_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-connect4-1.2-1011_2014.08.14-00.05.12_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-connect4-1.2-1011. (Reading database ... 14148 files and directories currently installed.) Unpacking fink-buildlock-connect4-1.2-1011 (from .../fink-buildlock-connect4-1.2-1011_2014.08.14-00.05.12_darwin-x86_64.deb) ... Setting up fink-buildlock-connect4-1.2-1011 (2014.08.14-00.05.12) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.an4ML env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/connect4v1.2.tar.gz connect4v1.2/ connect4v1.2/bd_string.cpp connect4v1.2/bd_string.h connect4v1.2/board.cpp connect4v1.2/board.h connect4v1.2/break.h connect4v1.2/compile connect4v1.2/debug.h connect4v1.2/heuristic.cpp connect4v1.2/main.cpp connect4v1.2/README.txt connect4v1.2/square.h connect4v1.2/heuristic.h sudo -u fink-bld [ENV] sh -c /tmp/fink.w90sQ [ -r /sw/fink/dists/stable/main/finkinfo/games/connect4.patch ] sudo -u fink-bld [ENV] sh -c /tmp/fink.9jXyX patch -p1 < /sw/fink/dists/stable/main/finkinfo/games/connect4.patch patching file bd_string.cpp patching file bd_string.h patching file board.cpp patching file heuristic.cpp patching file main.cpp sudo -u fink-bld [ENV] sh -c /tmp/fink.hmiFd c++ *.cpp -O2 -ffast-math -fomit-frame-pointer -finline-functions -o connect4 bd_string.cpp:354:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!isdigit(tempString[iter]) && tempString[iter]!='.' || tempString[iter]=='.' && decimal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ~~ bd_string.cpp:354:33: note: place parentheses around the '&&' expression to silence this warning if(!isdigit(tempString[iter]) && tempString[iter]!='.' || tempString[iter]=='.' && decimal) ^ ( ) bd_string.cpp:354:83: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!isdigit(tempString[iter]) && tempString[iter]!='.' || tempString[iter]=='.' && decimal) ~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ bd_string.cpp:354:83: note: place parentheses around the '&&' expression to silence this warning if(!isdigit(tempString[iter]) && tempString[iter]!='.' || tempString[iter]=='.' && decimal) ^ ( ) bd_string.cpp:654:87: warning: '&&' within '||' [-Wlogical-op-parentheses] return (unsigned char)cString[0]>(unsigned char)contrastMe || cString[0]==contrastMe && cString[1]; ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ bd_string.cpp:654:87: note: place parentheses around the '&&' expression to silence this warning return (unsigned char)cString[0]>(unsigned char)contrastMe || cString[0]==contrastMe && cString[1]; ^ ( ) bd_string.cpp:748:87: warning: '&&' within '||' [-Wlogical-op-parentheses] return (unsigned char)cString[0]<(unsigned char)contrastMe || cString[0]==contrastMe && !cString[1]; ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ bd_string.cpp:748:87: note: place parentheses around the '&&' expression to silence this warning return (unsigned char)cString[0]<(unsigned char)contrastMe || cString[0]==contrastMe && !cString[1]; ^ ( ) 4 warnings generated. board.cpp:1:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. In file included from heuristic.cpp:9: ./heuristic.h:129:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->rows[iter1][iter2]) ^ ./heuristic.h:154:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:179:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->diags[iter1][iter2]) ^ ./heuristic.h:273:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:398:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:523:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:648:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:773:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:898:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:1023:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ 10 warnings generated. In file included from main.cpp:10: ./heuristic.h:129:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->rows[iter1][iter2]) ^ ./heuristic.h:154:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:179:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->diags[iter1][iter2]) ^ ./heuristic.h:273:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:398:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:523:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:648:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:773:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:898:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ ./heuristic.h:1023:11: warning: enumeration values 'sqEmpty' and 'sqNull' not handled in switch [-Wswitch] switch(*board->cols[iter1][iter2]) ^ 10 warnings generated. tail -n 4 README.txt >> LICENSE /bin/rm -rf /sw/build.build/root-connect4-1.2-1011 /bin/mkdir -p /sw/build.build/root-connect4-1.2-1011/sw /bin/mkdir -p /sw/build.build/root-connect4-1.2-1011/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-connect4-1.2-1011 sudo -u fink-bld [ENV] sh -c /tmp/fink.vMYZS mkdir -p /sw/build.build/root-connect4-1.2-1011/sw/bin/ install -s connect4 /sw/build.build/root-connect4-1.2-1011/sw/bin/ sudo -u fink-bld [ENV] sh -c /tmp/fink.5cYOB /usr/bin/install -d -m 700 /sw/build.build/root-connect4-1.2-1011/sw/share/doc/connect4 /bin/cp -r README.txt /sw/build.build/root-connect4-1.2-1011/sw/share/doc/connect4/ /bin/cp -r LICENSE /sw/build.build/root-connect4-1.2-1011/sw/share/doc/connect4/ /bin/chmod -R go=u-w /sw/build.build/root-connect4-1.2-1011/sw/share/doc/connect4 /bin/rm -f /sw/build.build/root-connect4-1.2-1011/sw/info/dir /sw/build.build/root-connect4-1.2-1011/sw/info/dir.old /sw/build.build/root-connect4-1.2-1011/sw/share/info/dir /sw/build.build/root-connect4-1.2-1011/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-connect4-1.2-1011 /sw/fink/10.9/stable/main/binary-darwin-x86_64/games dpkg-deb: building package `connect4' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/games/connect4_1.2-1011_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-connect4-1.2-1011 (Reading database ... 14149 files and directories currently installed.) Removing fink-buildlock-connect4-1.2-1011 ...