<86>Dec 14 06:07:33 userdel[3539473]: delete user 'rooter' <86>Dec 14 06:07:33 userdel[3539473]: removed group 'rooter' owned by 'rooter' <86>Dec 14 06:07:33 userdel[3539473]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 14 06:07:33 groupadd[3539485]: group added to /etc/group: name=rooter, GID=1817 <86>Dec 14 06:07:33 groupadd[3539485]: group added to /etc/gshadow: name=rooter <86>Dec 14 06:07:33 groupadd[3539485]: new group: name=rooter, GID=1817 <86>Dec 14 06:07:33 useradd[3539495]: new user: name=rooter, UID=1817, GID=1817, home=/root, shell=/bin/bash, from=none <86>Dec 14 06:07:33 userdel[3539512]: delete user 'builder' <86>Dec 14 06:07:33 userdel[3539512]: removed group 'builder' owned by 'builder' <86>Dec 14 06:07:33 userdel[3539512]: removed shadow group 'builder' owned by 'builder' <86>Dec 14 06:07:33 groupadd[3539523]: group added to /etc/group: name=builder, GID=1818 <86>Dec 14 06:07:33 groupadd[3539523]: group added to /etc/gshadow: name=builder <86>Dec 14 06:07:33 groupadd[3539523]: new group: name=builder, GID=1818 <86>Dec 14 06:07:33 useradd[3539537]: new user: name=builder, UID=1818, GID=1818, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/fairymax-4.8j-alt1.qa1.src.rpm: license not found in '/usr/share/license' directory: Public /usr/src/in/srpm/fairymax-4.8j-alt1.qa1.src.rpm: license not found in '/usr/share/license' directory: domain Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/fairymax-4.8j-alt1.qa1.nosrc.rpm (w1.gzdio) 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.24438 + 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.24438 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + make 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' fairymax make: Entering directory '/usr/src/RPM/BUILD' cc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic fairymax.c -o fairymax fairymax.c:125:1: error: return type defaults to 'int' [-Wimplicit-int] 125 | pboard() | ^~~~~~ fairymax.c:131:1: error: return type defaults to 'int' [-Wimplicit-int] 131 | 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] 136 | 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] 139 | if(a->K-Z|z&S | /* miss: other pos. or empty*/ | ~~~~^~ fairymax.c:140:11: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 140 | !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ | ~^~ fairymax.c:140:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 140 | !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ | ~^~ fairymax.c:144:36: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 144 | z&S&&K==I&&(GetTickCount()-Ticks beta unconsidered:static eval */ | ~~^~ fairymax.c:152:9: warning: array subscript has type 'char' [-Wchar-subscripts] 152 | do{u=b[x]; /* scan board looking for */ | ^ fairymax.c:155:9: warning: array subscript has type 'char' [-Wchar-subscripts] 155 | j=od[p]; /* first step vector f.piece*/ | ^ fairymax.c:156:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 156 | W(r=o[++j]) /* loop over directions o[] */ | ^ fairymax.c:163:11: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 163 | if(y&S|(y&15)>=BW)break; /* board edge hit */ | ~^~ fairymax.c:171:10: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 171 | 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] 171 | 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] 171 | 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] 172 | 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] 173 | t=b[H]; | ^ fairymax.c:174:16: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 174 | if(flag&1+!t) /* mode (capt/nonc) allowed?*/ | ~^~~ fairymax.c:178:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 178 | if(m>=l&d>1)goto C; /* abort on fail high */ | ~^~~ fairymax.c:181:16: warning: array subscript has type 'char' [-Wchar-subscripts] 181 | {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] 182 | 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] 182 | 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] 182 | 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] 184 | v-=w[p]>0|R0|R>' [-Wparentheses] 189 | +(R-76>>2); /* end-game Pawn-push bonus */ | ~^~~ fairymax.c:190:11: warning: array subscript has type 'char' [-Wchar-subscripts] 190 | 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] 190 | 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] 190 | 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] 106 | #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' 105 | #define K(A,B) *(int*)(T+A+S*(B&31)) | ^ fairymax.c:194:12: note: in expansion of macro 'J' 194 | J+=J(0);Z+=J(4)+G-S; | ^ fairymax.c:106:21: warning: array subscript has type 'char' [-Wchar-subscripts] 106 | #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' 105 | #define K(A,B) *(int*)(T+A+S*(B&31)) | ^ fairymax.c:194:20: note: in expansion of macro 'J' 194 | J+=J(0);Z+=J(4)+G-S; | ^ fairymax.c:197:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 197 | 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] 198 | 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] 202 | W(s>q&++C2&& /* no P & no lateral K move,*/ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | (b[G=r<0?x&~15:BW-1|x&112]-k-6 /* no virgin R in corner G, */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 226 | ||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] 234 | 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] 236 | 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' 67 | # define FMAX(x) x | ^ fairymax.c: In function 'PrintResult': fairymax.c:292:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 292 | HistoryBoards[HistPtr-j&1023][k] ) | ~~~~~~~^~ fairymax.c:285:13: warning: unused variable 'i' [-Wunused-variable] 285 | int i, j, k, cnt=0; | ^ fairymax.c: At top level: fairymax.c:337:1: error: return type defaults to 'int' [-Wimplicit-int] 337 | InitEngine() | ^~~~~~~~~~ fairymax.c: In function 'InitEngine': fairymax.c:339:9: warning: unused variable 'j' [-Wunused-variable] 339 | int i, j; | ^ fairymax.c:339:6: warning: unused variable 'i' [-Wunused-variable] 339 | int i, j; | ^ fairymax.c: At top level: fairymax.c:345:1: error: return type defaults to 'int' [-Wimplicit-int] 345 | InitGame() | ^~~~~~~~ fairymax.c: In function 'InitGame': fairymax.c:347:8: warning: unused variable 'j' [-Wunused-variable] 347 | int i,j; | ^ fairymax.c: In function 'CopyBoard': fairymax.c:362:22: warning: unused variable 'cnt' [-Wunused-variable] 362 | int i, j, k, cnt=0; | ^~~ fairymax.c:362:19: warning: unused variable 'k' [-Wunused-variable] 362 | int i, j, k, cnt=0; | ^ fairymax.c: In function 'PrintVariants': fairymax.c:373:16: warning: unused variable 'j' [-Wunused-variable] 373 | int i, j, count=0; char c, buf[80]; | ^ fairymax.c:373:13: warning: unused variable 'i' [-Wunused-variable] 373 | int i, j, count=0; char c, buf[80]; | ^ fairymax.c: In function 'LoadGame': fairymax.c:426:20: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 426 | return; /* keep old settings */ | ^~~~~~ fairymax.c:404:5: note: declared here 404 | int LoadGame(char *name) | ^~~~~~~~ fairymax.c:450:100: warning: "/*" within comment [-Wcomment] 450 | /* 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] 407 | static int currentVariant; | ^~~~~~~~~~~~~~ fairymax.c: In function 'main': fairymax.c:525:54: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 525 | CopyBoard(HistPtr=HistPtr+1&1023); | ~~~~~~~^~ fairymax.c:538:25: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 538 | return; | ^~~~~~ fairymax.c:458:5: note: declared here 458 | int main(int argc, char **argv) | ^~~~ fairymax.c:590:25: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 590 | return; | ^~~~~~ fairymax.c:458:5: note: declared here 458 | int main(int argc, char **argv) | ^~~~ fairymax.c:675:46: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 675 | MovesLeft = -(GamePtr+(Side==WHITE)>>1); | ~~~~~~~^~~~~~~~~~~~~~ fairymax.c:691:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 691 | if (!strcmp(command, "undo") && (nr=1) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ fairymax.c:701:57: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 701 | HistoryBoards[HistPtr+nr+1&1023][m] = 0; | ~~~~~~~~~~^~ fairymax.c:764:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 764 | if(m==BW>>1 && color==BLACK || | ^ fairymax.c:770:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 770 | if((m==0x00 || m==BW-1 ) && color==BLACK || | ^ fairymax.c:794:28: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 794 | 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] 794 | 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] 794 | 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] 795 | 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] 795 | 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] 795 | 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] 795 | 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] 809 | CopyBoard(HistPtr=HistPtr+1&1023); | ~~~~~~~^~ fairymax.c:463:15: warning: unused variable 'f' [-Wunused-variable] 463 | FILE *f; | ^ fairymax.c:461:42: warning: unused variable 'cc' [-Wunused-variable] 461 | char line[256], command[256], c, cc; | ^~ fairymax.c:461:39: warning: unused variable 'c' [-Wunused-variable] 461 | char line[256], command[256], c, cc; | ^ fairymax.c:460:59: warning: unused variable 'j' [-Wunused-variable] 460 | 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] 128 | } | ^ fairymax.c: In function 'InitEngine': fairymax.c:343:1: warning: control reaches end of non-void function [-Wreturn-type] 343 | } | ^ fairymax.c: In function 'InitGame': fairymax.c:358:1: warning: control reaches end of non-void function [-Wreturn-type] 358 | } | ^ fairymax.c: In function 'LoadGame': fairymax.c:436:29: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 436 | for(i=0; i: fairymax] Error 1 make: Leaving directory '/usr/src/RPM/BUILD' error: Bad exit status from /usr/src/tmp/rpm-tmp.24438 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.24438 (%build) Command exited with non-zero status 1 0.04user 0.05system 0:00.09elapsed 104%CPU (0avgtext+0avgdata 16384maxresident)k 0inputs+0outputs (0major+7626minor)pagefaults 0swaps hsh-rebuild: rebuild of `fairymax-4.8j-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 0.56user 1.93system 0:04.71elapsed 53%CPU (0avgtext+0avgdata 10240maxresident)k 0inputs+0outputs (0major+87287minor)pagefaults 0swaps