<86>May 7 08:27:10 userdel[17415]: delete user 'rooter' <86>May 7 08:27:10 userdel[17415]: removed shadow group 'rooter' owned by 'rooter' <86>May 7 08:27:10 groupadd[17509]: group added to /etc/group: name=rooter, GID=675 <86>May 7 08:27:10 groupadd[17509]: group added to /etc/gshadow: name=rooter <86>May 7 08:27:10 groupadd[17509]: new group: name=rooter, GID=675 <86>May 7 08:27:10 useradd[17517]: new user: name=rooter, UID=675, GID=675, home=/root, shell=/bin/bash <86>May 7 08:27:10 userdel[17541]: delete user 'builder' <86>May 7 08:27:10 userdel[17541]: removed group 'builder' owned by 'builder' <86>May 7 08:27:10 groupadd[17551]: group added to /etc/group: name=builder, GID=676 <86>May 7 08:27:10 groupadd[17551]: group added to /etc/gshadow: name=builder <86>May 7 08:27:10 groupadd[17551]: new group: name=builder, GID=676 <86>May 7 08:27:10 useradd[17563]: new user: name=builder, UID=676, GID=676, home=/usr/src, shell=/bin/bash Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/fairymax-4.8j-alt1.qa1.nosrc.rpm Installing fairymax-4.8j-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.99221 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + sed 's,fmax.ini",/usr/share/games/fairymax/&,' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.28118 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + make 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' fairymax make: Entering directory '/usr/src/RPM/BUILD' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic fairymax.c -o fairymax fairymax.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] pboard() ^~~~~~ fairymax.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] D(k,q,l,e,E,z,n) /* recursive minimax search, k=moving side, n=depth*/ ^ fairymax.c: In function 'D': fairymax.c:136:17: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] struct _*a=A+(J+(k+S)*E&U-1); /* lookup pos. in hash table*/ ~^~~~~~~~ fairymax.c:139:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if(a->K-Z|z&S | /* miss: other pos. or empty*/ ~~~~^~ fairymax.c:140:11: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ~^~ fairymax.c:140:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ~^~ fairymax.c:144:36: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] z&S&&K==I&&(GetTickCount()-Ticks beta unconsidered:static eval */ ~~^~ fairymax.c:152:9: warning: array subscript has type 'char' [-Wchar-subscripts] do{u=b[x]; /* scan board looking for */ ^ fairymax.c:155:9: warning: array subscript has type 'char' [-Wchar-subscripts] j=od[p]; /* first step vector f.piece*/ ^ fairymax.c:156:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] W(r=o[++j]) /* loop over directions o[] */ ^ fairymax.c:163:11: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if(y&S|(y&15)>=BW)break; /* board edge hit */ ~^~ fairymax.c:171:10: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] m=E<16|(E^112)<16&&flag&1&y-E<2&E-y<2?I:m; /* bad castling */ ~^~~ fairymax.c:171:36: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] m=E<16|(E^112)<16&&flag&1&y-E<2&E-y<2?I:m; /* bad castling */ ~~~^~ fairymax.c:171:42: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] m=E<16|(E^112)<16&&flag&1&y-E<2&E-y<2?I:m; /* bad castling */ ~~~^~ fairymax.c:172:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(p<3&y==E)H=z&127; /* shift capt.sqr. H if e.p.*/ ~^~ fairymax.c:173:10: warning: array subscript has type 'char' [-Wchar-subscripts] t=b[H]; ^ fairymax.c:174:16: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] if(flag&1+!t) /* mode (capt/nonc) allowed?*/ ~^~~ fairymax.c:178:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(m>=l&d>1)goto C; /* abort on fail high */ ~^~~ fairymax.c:181:16: warning: array subscript has type 'char' [-Wchar-subscripts] {v=centr[p]?b[x+257]-b[y+257]:0; /* center positional pts. */ ^ fairymax.c:182:15: warning: array subscript has type 'char' [-Wchar-subscripts] b[G]=b[H]=b[x]=0;b[y]=u|32; /* do move, set non-virgin */ ^ fairymax.c:182:20: warning: array subscript has type 'char' [-Wchar-subscripts] b[G]=b[H]=b[x]=0;b[y]=u|32; /* do move, set non-virgin */ ^ fairymax.c:182:27: warning: array subscript has type 'char' [-Wchar-subscripts] b[G]=b[H]=b[x]=0;b[y]=u|32; /* do move, set non-virgin */ ^ fairymax.c:184:13: warning: array subscript has type 'char' [-Wchar-subscripts] v-=w[p]>0|R0|R>' [-Wparentheses] +(R-76>>2); /* end-game Pawn-push bonus */ ~^~~ fairymax.c:190:11: warning: array subscript has type 'char' [-Wchar-subscripts] b[y]+=V=y+r+1&S?647-p:2*(u&y+16&32); /* upgrade P or convert to Q*/ ^ fairymax.c:190:21: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] b[y]+=V=y+r+1&S?647-p:2*(u&y+16&32); /* upgrade P or convert to Q*/ ~~~^~ fairymax.c:190:38: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] b[y]+=V=y+r+1&S?647-p:2*(u&y+16&32); /* upgrade P or convert to Q*/ ~^~~ fairymax.c:106:21: warning: array subscript has type 'char' [-Wchar-subscripts] #define J(A) K(y+A,b[y])-K(x+A,u)-K(H+A,t) ^ fairymax.c:105:31: note: in definition of macro 'K' #define K(A,B) *(int*)(T+A+S*(B&31)) ^ fairymax.c:194:12: note: in expansion of macro 'J' J+=J(0);Z+=J(4)+G-S; ^ fairymax.c:106:21: warning: array subscript has type 'char' [-Wchar-subscripts] #define J(A) K(y+A,b[y])-K(x+A,u)-K(H+A,t) ^ fairymax.c:105:31: note: in definition of macro 'K' #define K(A,B) *(int*)(T+A+S*(B&31)) ^ fairymax.c:194:20: note: in expansion of macro 'J' J+=J(0);Z+=J(4)+G-S; ^ fairymax.c:197:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] C=d-1-(d>5&p>2&!t&!h); /* nw depth, reduce non-cpt.*/ ~^~ fairymax.c:198:17: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] C=R2|v>V?-D(16-k,-l,-V,-v,/*** futility, recursive eval. of reply */ ~^~ fairymax.c:202:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] W(s>q&++C2&& /* no P & no lateral K move,*/ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (b[G=r<0?x&~15:BW-1|x&112]-k-6 /* no virgin R in corner G, */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ||b[G^1]|b[G^2]|b[FF=r<0?G+3:G-2]) /* no 2 empty sq. next to R */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fairymax.c:234:23: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] if((++x&15)>=BW)x=x+16&112; /* next sqr. of board, wrap */ ~^~~ fairymax.c:236:12: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] C:FMAX( m=m+I|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~^~ fairymax.c:67:21: note: in definition of macro 'FMAX' # define FMAX(x) x ^ fairymax.c: In function 'PrintResult': fairymax.c:292:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] HistoryBoards[HistPtr-j&1023][k] ) ~~~~~~~^~ fairymax.c:285:13: warning: unused variable 'i' [-Wunused-variable] int i, j, k, cnt=0; ^ fairymax.c: At top level: fairymax.c:337:1: warning: return type defaults to 'int' [-Wimplicit-int] InitEngine() ^~~~~~~~~~ fairymax.c: In function 'InitEngine': fairymax.c:339:9: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ fairymax.c:339:6: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ fairymax.c: At top level: fairymax.c:345:1: warning: return type defaults to 'int' [-Wimplicit-int] InitGame() ^~~~~~~~ fairymax.c: In function 'InitGame': fairymax.c:347:8: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ fairymax.c: In function 'CopyBoard': fairymax.c:362:22: warning: unused variable 'cnt' [-Wunused-variable] int i, j, k, cnt=0; ^~~ fairymax.c:362:19: warning: unused variable 'k' [-Wunused-variable] int i, j, k, cnt=0; ^ fairymax.c: In function 'PrintVariants': fairymax.c:373:16: warning: unused variable 'j' [-Wunused-variable] int i, j, count=0; char c, buf[80]; ^ fairymax.c:373:13: warning: unused variable 'i' [-Wunused-variable] int i, j, count=0; char c, buf[80]; ^ fairymax.c: In function 'LoadGame': fairymax.c:426:20: warning: 'return' with no value, in function returning non-void return; /* keep old settings */ ^~~~~~ fairymax.c:404:5: note: declared here int LoadGame(char *name) ^~~~~~~~ fairymax.c:450:100: warning: "/*" within comment [-Wcomment] /* printf("# c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c?c:' ',i,od[i],j,o[j-1],of[j-1]); /**/ fairymax.c:407:20: warning: variable 'currentVariant' set but not used [-Wunused-but-set-variable] static int currentVariant; ^~~~~~~~~~~~~~ fairymax.c: In function 'main': fairymax.c:525:54: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] CopyBoard(HistPtr=HistPtr+1&1023); ~~~~~~~^~ fairymax.c:538:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ fairymax.c:458:5: note: declared here int main(int argc, char **argv) ^~~~ fairymax.c:590:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ fairymax.c:458:5: note: declared here int main(int argc, char **argv) ^~~~ fairymax.c:675:46: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] MovesLeft = -(GamePtr+(Side==WHITE)>>1); ~~~~~~~^~~~~~~~~~~~~~ fairymax.c:691:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!strcmp(command, "undo") && (nr=1) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ fairymax.c:701:57: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] HistoryBoards[HistPtr+nr+1&1023][m] = 0; ~~~~~~~~~~^~ fairymax.c:764:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(m==BW>>1 && color==BLACK || ^ fairymax.c:770:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((m==0x00 || m==BW-1 ) && color==BLACK || ^ fairymax.c:794:28: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] m = line[0]<'a' | line[0]>='a'+BW | line[1]<'1' | line[1]>='1'+BH | ~~~~~~~^~~~ fairymax.c:794:60: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] m = line[0]<'a' | line[0]>='a'+BW | line[1]<'1' | line[1]>='1'+BH | ~~~~~~~^~~~ fairymax.c:794:74: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] m = line[0]<'a' | line[0]>='a'+BW | line[1]<'1' | line[1]>='1'+BH | ~~~~~~~^~~~~~~~ fairymax.c:795:28: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] line[2]<'a' | line[2]>='a'+BW | line[3]<'1' | line[3]>='1'+BH; ~~~~~~~^~~~ fairymax.c:795:42: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] line[2]<'a' | line[2]>='a'+BW | line[3]<'1' | line[3]>='1'+BH; ~~~~~~~^~~~~~~~ fairymax.c:795:60: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] line[2]<'a' | line[2]>='a'+BW | line[3]<'1' | line[3]>='1'+BH; ~~~~~~~^~~~ fairymax.c:795:74: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] line[2]<'a' | line[2]>='a'+BW | line[3]<'1' | line[3]>='1'+BH; ~~~~~~~^~~~~~~~ fairymax.c:809:50: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] CopyBoard(HistPtr=HistPtr+1&1023); ~~~~~~~^~ fairymax.c:463:15: warning: unused variable 'f' [-Wunused-variable] FILE *f; ^ fairymax.c:461:42: warning: unused variable 'cc' [-Wunused-variable] char line[256], command[256], c, cc; ^~ fairymax.c:461:39: warning: unused variable 'c' [-Wunused-variable] char line[256], command[256], c, cc; ^ fairymax.c:460:59: warning: unused variable 'j' [-Wunused-variable] int Computer, MaxTime, MaxMoves, TimeInc, sec, i, j; ^ fairymax.c: In function 'pboard': fairymax.c:128:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c: In function 'InitEngine': fairymax.c:343:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c: In function 'InitGame': fairymax.c:358:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c: In function 'LoadGame': fairymax.c:436:29: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] for(i=0; i