<86>Jun 6 07:16:54 userdel[2545186]: delete user 'rooter' <86>Jun 6 07:16:54 userdel[2545186]: removed group 'rooter' owned by 'rooter' <86>Jun 6 07:16:54 userdel[2545186]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 6 07:16:54 groupadd[2545243]: group added to /etc/group: name=rooter, GID=2588 <86>Jun 6 07:16:54 groupadd[2545243]: group added to /etc/gshadow: name=rooter <86>Jun 6 07:16:54 groupadd[2545243]: new group: name=rooter, GID=2588 <86>Jun 6 07:16:54 useradd[2545292]: new user: name=rooter, UID=2588, GID=2588, home=/root, shell=/bin/bash, from=none <86>Jun 6 07:16:54 userdel[2545349]: delete user 'builder' <86>Jun 6 07:16:54 userdel[2545349]: removed group 'builder' owned by 'builder' <86>Jun 6 07:16:54 userdel[2545349]: removed shadow group 'builder' owned by 'builder' <86>Jun 6 07:16:54 groupadd[2545414]: group added to /etc/group: name=builder, GID=2589 <86>Jun 6 07:16:54 groupadd[2545414]: group added to /etc/gshadow: name=builder <86>Jun 6 07:16:54 groupadd[2545414]: new group: name=builder, GID=2589 <86>Jun 6 07:16:54 useradd[2545458]: new user: name=builder, UID=2589, GID=2589, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/mimetex-1.76-alt1.src.rpm: The use of such a license name is ambiguous: GPL warning: Macro %webserver_cgibindir not found warning: Macro %webserver_cgibindir not found <13>Jun 6 07:16:56 rpmi: rpm-macros-webserver-common-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <13>Jun 6 07:16:56 rpmi: rpm-build-webserver-common-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/mimetex-1.76-alt1.nosrc.rpm (w1.gzdio) Installing mimetex-1.76-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.81401 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mimetex-1.76 + echo 'Source #0 (mimetex-1.76.tar):' Source #0 (mimetex-1.76.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/mimetex-1.76.tar + cd mimetex-1.76 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (mimetex_manual.diff):' Patch #1 (mimetex_manual.diff): + /usr/bin/patch -p1 patching file mimetex.html + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.81401 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mimetex-1.76 + gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DAA mimetex.c gifsave.c -lm -o mimetex.cgi mimetex.c:433:10: error: conflicting types for 'strcasestr'; have 'char *(void)' 433 | char *strcasestr(); /* non-standard extension */ | ^~~~~~~~~~ In file included from mimetex.c:432: /usr/include/string.h:380:14: note: previous declaration of 'strcasestr' with type 'char *(const char *, const char *)' 380 | extern char *strcasestr (const char *__haystack, const char *__needle) | ^~~~~~~~~~ mimetex.c: In function 'rastcat': mimetex.c:2055:9: error: conflicting types for 'rastsmash'; have 'int(void)' 2055 | rastsmash(), isblank=0, nsmash=0, /* #cols to smash */ | ^~~~~~~~~ In file included from mimetex.c:586: mimetex.h:532:21: note: previous declaration of 'rastsmash' with type 'int(struct subraster_struct *, struct subraster_struct *)' 532 | FUNCSCOPE int rastsmash ( subraster *sp1, subraster *sp2 ); | ^~~~~~~~~ mimetex.c:2093:20: error: too many arguments to function 'rastsmash'; expected 0, have 2 2093 | int maxsmash = rastsmash(sp1,sp2), /* calculate max smash space */ | ^~~~~~~~~ ~~~ mimetex.c:2055:9: note: declared here 2055 | rastsmash(), isblank=0, nsmash=0, /* #cols to smash */ | ^~~~~~~~~ mimetex.c: In function 'rastsmash': mimetex.c:2409:30: warning: variable 'ymin' set but not used [-Wunused-but-set-variable] 2409 | int smin=9999, xmin=9999,ymin=9999; /* min separation (s=x+y) */ | ^~~~ mimetex.c: In function 'border_raster': mimetex.c:3533:9: error: conflicting types for 'delete_raster'; have 'int(void)' 3533 | int delete_raster(); /* free input rp if isfree is true */ | ^~~~~~~~~~~~~ mimetex.c:1308:15: note: previous definition of 'delete_raster' with type 'int(struct raster_struct *)' 1308 | FUNCSCOPE int delete_raster ( raster *rp ) | ^~~~~~~~~~~~~ mimetex.c:3599:3: error: too many arguments to function 'delete_raster'; expected 0, have 1 3599 | delete_raster(rp); /* so free it for him */ | ^~~~~~~~~~~~~ ~~ mimetex.c:3533:9: note: declared here 3533 | int delete_raster(); /* free input rp if isfree is true */ | ^~~~~~~~~~~~~ mimetex.c: In function 'get_symdef': mimetex.c:4506:19: error: conflicting types for 'get_ligature'; have 'int(void)' 4506 | int ligdef=0, get_ligature(); /* or we may have a ligature */ | ^~~~~~~~~~~~ mimetex.h:569:21: note: previous declaration of 'get_ligature' with type 'int(char *, int)' 569 | FUNCSCOPE int get_ligature ( char *expression, int family ); | ^~~~~~~~~~~~ mimetex.c:4541:15: error: too many arguments to function 'get_ligature'; expected 0, have 2 4541 | if ( (ligdef=get_ligature(subexprptr,family)) /* check for ligature */ | ^~~~~~~~~~~~ ~~~~~~~~~~ mimetex.c:4506:19: note: declared here 4506 | int ligdef=0, get_ligature(); /* or we may have a ligature */ | ^~~~~~~~~~~~ mimetex.c: In function 'texsubexpr': mimetex.c:5583:9: error: conflicting types for 'isbrace'; have 'int(void)' 5583 | int isbrace(); /* check for left,right braces */ | ^~~~~~~ mimetex.h:584:21: note: previous declaration of 'isbrace' with type 'int(char *, char *, int)' 584 | FUNCSCOPE int isbrace ( char *expression, char *braces, int isescape ); | ^~~~~~~ mimetex.c:5612:7: error: too many arguments to function 'isbrace'; expected 0, have 3 5612 | if ( !isbrace(expression,left,isescape) ) { /* not a left{ */ | ^~~~~~~ ~~~~~~~~~~ mimetex.c:5583:9: note: declared here 5583 | int isbrace(); /* check for left,right braces */ | ^~~~~~~ mimetex.c: In function 'isbrace': mimetex.c:5922:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5922 | if ( gotbrace && /* found a brace */ | ^~ mimetex.c:5925:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5925 | ) return ( 1 ); return ( 0 ); /* return 1,0 accordingly */ | ^~~~~~ mimetex.c: In function 'mimeprep': mimetex.c:6375:18: warning: variable 'isamp' set but not used [-Wunused-but-set-variable] 6375 | istag=0, isamp=0, /* true for , &char; symbols */ | ^~~~~ mimetex.c:1102:50: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1102 | else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ | ^~~~ mimetex.c:6541:9: note: in expansion of macro 'strsqueeze' 6541 | { strsqueeze((tokptr+1),(lrlen-1));/*so squeeze out "left" or "right"*/ | ^~~~~~~~~~ mimetex.c:6542:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 6542 | expptr = tokptr+2; } /* and resume search past brace */ | ^~~~~~ mimetex.c:1102:50: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1102 | else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ | ^~~~ mimetex.c:6549:15: note: in expansion of macro 'strsqueeze' 6549 | { strsqueeze((tokptr+1),(lrlen+symlen-2)); /*squeeze out delim*/ | ^~~~~~~~~~ mimetex.c:6550:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 6550 | *(tokptr+1) = *(lrto[isymbol]); /* last char now 1-char delim*/ | ^ mimetex.c: In function 'evalterm': mimetex.c:7227:10: error: conflicting types for 'strpspn'; have 'char *(void)' 7227 | char *strpspn(); /* span delims */ | ^~~~~~~ mimetex.h:600:22: note: previous declaration of 'strpspn' with type 'char *(char *, char *, char *)' 600 | FUNCSCOPE char *strpspn ( char *s, char *reject, char *segment ); | ^~~~~~~ mimetex.c:7228:9: error: conflicting types for 'getstore'; have 'int(void)' 7228 | int getstore(); /* lookup variables */ | ^~~~~~~~ mimetex.h:597:21: note: previous declaration of 'getstore' with type 'int(struct store_struct *, char *)' 597 | FUNCSCOPE int getstore ( STORE *store, char *identifier ); | ^~~~~~~~ mimetex.c:7229:9: error: conflicting types for 'isnumeric'; have 'int(void)' 7229 | int isnumeric(); /* numeric=constant, else variable */ | ^~~~~~~~~ mimetex.c:7175:15: note: previous definition of 'isnumeric' with type 'int(char *)' 7175 | FUNCSCOPE int isnumeric ( char *s ) | ^~~~~~~~~ mimetex.c:7242:9: error: too many arguments to function 'strpspn'; expected 0, have 3 7242 | delim = strpspn(term,"?",token); /* chars preceding ? outside () */ | ^~~~~~~ ~~~~ mimetex.c:7227:10: note: declared here 7227 | char *strpspn(); /* span delims */ | ^~~~~~~ mimetex.c:7251:13: error: too many arguments to function 'strpspn'; expected 0, have 3 7251 | delim = strpspn(delim,":",token); /* chars preceding : outside () */ | ^~~~~~~ ~~~~~ mimetex.c:7227:10: note: declared here 7227 | char *strpspn(); /* span delims */ | ^~~~~~~ mimetex.c:7262:8: error: too many arguments to function 'strpspn'; expected 0, have 3 7262 | term = strpspn(term,"/+-*%",token); /* chars preceding /+-*% outside ()*/ | ^~~~~~~ ~~~~ mimetex.c:7227:10: note: declared here 7227 | char *strpspn(); /* span delims */ | ^~~~~~~ mimetex.c:7276:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7276 | case '/': if ( rightval != 0 ) /* guard against divide by zero */ | ^~ mimetex.c:7277:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7277 | termval = leftval/rightval; break; /* integer division */ | ^~~~~ mimetex.c:7278:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7278 | case '%': if ( rightval != 0 ) /* guard against divide by zero */ | ^~ mimetex.c:7279:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7279 | termval = leftval%rightval; break; /*left modulo right */ | ^~~~~ mimetex.c:7306:8: error: too many arguments to function 'isnumeric'; expected 0, have 1 7306 | if ( isnumeric(token) ) /* have a constant */ | ^~~~~~~~~ ~~~~~ mimetex.c:7229:9: note: declared here 7229 | int isnumeric(); /* numeric=constant, else variable */ | ^~~~~~~~~ mimetex.c:7309:15: error: too many arguments to function 'getstore'; expected 0, have 2 7309 | termval = getstore(store,token); } /* look up token */ | ^~~~~~~~ ~~~~~ mimetex.c:7228:9: note: declared here 7228 | int getstore(); /* lookup variables */ | ^~~~~~~~ mimetex.c: In function 'getdirective': mimetex.c:7450:7: error: too many arguments to function 'strcasestr'; expected 0, have 2 7450 | strcasestr(pfirst,directive)); /* case-insensistive match */ | ^~~~~~~~~~ ~~~~~~ mimetex.c:433:10: note: declared here 433 | char *strcasestr(); /* non-standard extension */ | ^~~~~~~~~~ mimetex.c: In function 'unescape_url': mimetex.c:7779:9: error: conflicting types for 'strreplace'; have 'int(void)' 7779 | int strreplace(); /* replace + with blank, if needed */ | ^~~~~~~~~~ mimetex.c:6680:15: note: previous definition of 'strreplace' with type 'int(char *, char *, char *, int)' 6680 | FUNCSCOPE int strreplace ( char *string, char *from, char *to, int nreplace ) | ^~~~~~~~~~ mimetex.c:7836:9: error: too many arguments to function 'strreplace'; expected 0, have 4 7836 | strreplace(url,plusses,xlateto[xlateplus],0); /* xlate +++'s */ | ^~~~~~~~~~ ~~~ mimetex.c:7779:9: note: declared here 7779 | int strreplace(); /* replace + with blank, if needed */ | ^~~~~~~~~~ mimetex.c: In function 'rasterize': mimetex.c:8043:11: error: too many arguments to function 'symdef->handler'; expected 0, have 6 8043 | (*(symdef->handler))(&expression,size,prevsp,arg1,arg2,arg3))==NULL) | ~^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ mimetex.h:289:11: note: declared here 289 | HANDLER handler; /* e.g., rastfrac() for \frac's */ | ^~~~~~~ mimetex.c: In function 'rastscripts': mimetex.c:8412:9: warning: variable 'isbase' set but not used [-Wunused-but-set-variable] 8412 | isbase=0; /* true if we have base symbol */ | ^~~~~~ mimetex.c:8408:32: warning: variable 'supln' set but not used [-Wunused-but-set-variable] 8408 | supht=0, supwidth=0, supln=0, /* height,width,baseline of sup */ | ^~~~~ mimetex.c:8407:32: warning: variable 'subln' set but not used [-Wunused-but-set-variable] 8407 | subht=0, subwidth=0, subln=0, /* height,width,baseline of sub */ | ^~~~~ mimetex.c: In function 'rastleft': mimetex.c:8644:9: warning: variable 'isleftscript' set but not used [-Wunused-but-set-variable] 8644 | int isleftscript=0, isrightscript=0; /* true if delims are scripted */ | ^~~~~~~~~~~~ mimetex.c: In function 'rastflags': mimetex.c:9042:26: error: conflicting types for 'strtod'; have 'double(void)' 9042 | double dblvalue=(-99.), strtod(); /*convert ascii {valuearg} to double*/ | ^~~~~~ In file included from mimetex.c:429: /usr/include/stdlib.h:118:15: note: previous declaration of 'strtod' with type 'double(const char * restrict, char ** restrict)' 118 | extern double strtod (const char *__restrict __nptr, | ^~~~~~ mimetex.c:9108:28: error: too many arguments to function 'strtod'; expected 0, have 2 9108 | dblvalue = strtod(valuearg,NULL); break; } /* or to double */ | ^~~~~~ ~~~~~~~~ mimetex.c:9042:26: note: declared here 9042 | double dblvalue=(-99.), strtod(); /*convert ascii {valuearg} to double*/ | ^~~~~~ mimetex.c:9148:30: warning: comparison between pointer and zero character constant [-Wpointer-compare] 9148 | if ( *expression != '\000' ) /* ill-formed expression */ | ^~ mimetex.c:9148:18: note: did you mean to dereference the pointer? 9148 | if ( *expression != '\000' ) /* ill-formed expression */ | ^ mimetex.c:9251:24: error: too many arguments to function 'strtod'; expected 0, have 2 9251 | unitlength = strtod(valuearg,NULL); } /* convert to double */ | ^~~~~~ ~~~~~~~~ mimetex.c:9042:26: note: declared here 9042 | double dblvalue=(-99.), strtod(); /*convert ascii {valuearg} to double*/ | ^~~~~~ mimetex.c: In function 'rastfrac': mimetex.c:9814:19: warning: variable 'baseln' set but not used [-Wunused-but-set-variable] 9814 | int baseht=0, baseln=0; /* height,baseline of base symbol */ | ^~~~~~ mimetex.c:9814:9: warning: variable 'baseht' set but not used [-Wunused-but-set-variable] 9814 | int baseht=0, baseln=0; /* height,baseline of base symbol */ | ^~~~~~ mimetex.c: In function 'rastfont': mimetex.c:10355:9: warning: variable 'family' set but not used [-Wunused-but-set-variable] 10355 | int family = 0, /* fontinfo[ifontnum].family */ | ^~~~~~ mimetex.c: In function 'rastarray': mimetex.c:10834:9: error: conflicting types for 'rastput'; have 'int(void)' 10834 | int rastput(); /* embed tokens/cells in array */ | ^~~~~~~ mimetex.c:1809:15: note: previous definition of 'rastput' with type 'int(struct raster_struct *, struct raster_struct *, int, int, int)' 1809 | FUNCSCOPE int rastput ( raster *target, raster *source, | ^~~~~~~ mimetex.c:10898:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10898 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~ mimetex.c:10898:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 10898 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~~~~ mimetex.c:10900:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10900 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~ mimetex.c:10900:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 10900 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~~~~ mimetex.c:10902:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10902 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~ mimetex.c:10902:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 10902 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~~~~ mimetex.c:10909:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10909 | if (rowglobal) growcenter[irow] = rowcenter[irow]; break; | ^~ mimetex.c:10909:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 10909 | if (rowglobal) growcenter[irow] = rowcenter[irow]; break; | ^~~~~ mimetex.c:11204:7: error: too many arguments to function 'rastput'; expected 0, have 5 11204 | rastput(arrayrp,tsp->image, /* overlay cell token in array */ | ^~~~~~~ ~~~~~~~ mimetex.c:10834:9: note: declared here 10834 | int rastput(); /* embed tokens/cells in array */ | ^~~~~~~ mimetex.c:10761:32: warning: variable 'subptr' set but not used [-Wunused-but-set-variable] 10761 | subtok[MAXTOKNSZ+1], *subptr=subtok, /* &,\\ inside { } not a delim*/ | ^~~~~~ mimetex.c: In function 'rastbezier': mimetex.c:11838:12: error: conflicting types for 'new_subraster'; have 'struct subraster_struct *(void)' 11838 | subraster *new_subraster(), *bezsp=NULL; /* subraster for bezier */ | ^~~~~~~~~~~~~ mimetex.c:1208:22: note: previous definition of 'new_subraster' with type 'struct subraster_struct *(int, int, int)' 1208 | FUNCSCOPE subraster *new_subraster ( int width, int height, int pixsz ) | ^~~~~~~~~~~~~ mimetex.c:11907:13: error: too many arguments to function 'new_subraster'; expected 0, have 3 11907 | if ( (bezsp=new_subraster(width,height,pixsz)) /* allocate new subraster */ | ^~~~~~~~~~~~~ ~~~~~ mimetex.c:11838:12: note: declared here 11838 | subraster *new_subraster(), *bezsp=NULL; /* subraster for bezier */ | ^~~~~~~~~~~~~ mimetex.c: In function 'rastinput': mimetex.c:12546:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 12546 | int status /*, rastreadfile()*/; /* read input file */ | ^~~~~~ mimetex.c: In function 'rastreadfile': mimetex.c:1068:74: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1068 | { char *p; while((p=strchr((s),(c)))!=NULL) {strsqueeze(p,1);} } else | ^~~~ mimetex.c:13481:5: note: in expansion of macro 'compress' 13481 | compress(tag1,' '); compress(tag2,' '); /* remove embedded blanks */ | ^~~~~~~~ mimetex.c:1067:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1067 | #define compress(s,c) if((s)!=NULL) /* remove embedded c's from s */ \ | ^~ mimetex.c:13481:25: note: in expansion of macro 'compress' 13481 | compress(tag1,' '); compress(tag2,' '); /* remove embedded blanks */ | ^~~~~~~~ mimetex.c: In function 'rastwritefile': mimetex.c:1068:74: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1068 | { char *p; while((p=strchr((s),(c)))!=NULL) {strsqueeze(p,1);} } else | ^~~~ mimetex.c:13577:5: note: in expansion of macro 'compress' 13577 | compress(tag1,' '); compress(tag2,' '); } /* remove embedded blanks */ | ^~~~~~~~ mimetex.c:1067:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1067 | #define compress(s,c) if((s)!=NULL) /* remove embedded c's from s */ \ | ^~ mimetex.c:13577:25: note: in expansion of macro 'compress' 13577 | compress(tag1,' '); compress(tag2,' '); } /* remove embedded blanks */ | ^~~~~~~~ mimetex.c: In function 'calendar': mimetex.c:13685:41: error: conflicting types for 'localtime'; have 'struct tm *(void)' 13685 | struct tm *tmstruct=(struct tm *)NULL, *localtime(); /* interpret time_val */ | ^~~~~~~~~ In file included from mimetex.c:436: /usr/include/time.h:136:19: note: previous declaration of 'localtime' with type 'struct tm *(const time_t *)' {aka 'struct tm *(const long int *)'} 136 | extern struct tm *localtime (const time_t *__timer) __THROW; | ^~~~~~~~~ mimetex.c:13687:24: error: conflicting types for 'daynumber'; have 'int(void)' 13687 | int idd=1, iday=0, daynumber(); /* day-of-week for idd=1...31 */ | ^~~~~~~~~ mimetex.h:699:21: note: previous declaration of 'daynumber' with type 'int(int, int, int)' 699 | FUNCSCOPE int daynumber ( int year, int month, int day ); | ^~~~~~~~~ mimetex.c:13700:12: error: too many arguments to function 'localtime'; expected 0, have 1 13700 | tmstruct = localtime((time_t *)(&time_val)); /* interpret time_val */ | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ mimetex.c:13685:41: note: declared here 13685 | struct tm *tmstruct=(struct tm *)NULL, *localtime(); /* interpret time_val */ | ^~~~~~~~~ mimetex.c:13729:15: error: too many arguments to function 'daynumber'; expected 0, have 3 13729 | iday = 1 + (daynumber(year,month,idd)%7); /* 1=Monday...7=Sunday */ | ^~~~~~~~~ ~~~~ mimetex.c:13687:24: note: declared here 13687 | int idd=1, iday=0, daynumber(); /* day-of-week for idd=1...31 */ | ^~~~~~~~~ mimetex.c: In function 'timestamp': mimetex.c:13803:12: error: too many arguments to function 'localtime'; expected 0, have 1 13803 | tmstruct = localtime((time_t *)(&time_val)); /* interpret time_val */ | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ mimetex.c:13785:41: note: declared here 13785 | struct tm *tmstruct=(struct tm *)NULL, *localtime(); /* interpret time_val */ | ^~~~~~~~~ mimetex.c: In function 'dbltoa': mimetex.c:14276:9: error: conflicting types for 'floor'; have 'double(void)' 14276 | double floor(); /* integer which is glb(double) */ | ^~~~~ In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mimetex.c:428: /usr/include/bits/mathcalls.h:180:1: note: previous declaration of 'floor' with type 'double(double)' 180 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ mimetex.c:14292:25: error: too many arguments to function 'floor'; expected 0, have 1 14292 | dbldigit = dblval-floor(dblval); /* fractional part as double */ | ^~~~~ ~~~~~~ mimetex.c:14276:9: note: declared here 14276 | double floor(); /* integer which is glb(double) */ | ^~~~~ mimetex.c:14305:10: error: too many arguments to function 'floor'; expected 0, have 1 14305 | dblval = floor(dblval); /* get rid of fractional part */ | ^~~~~ ~~~~~~ mimetex.c:14276:9: note: declared here 14276 | double floor(); /* integer which is glb(double) */ | ^~~~~ mimetex.c:14307:18: error: too many arguments to function 'floor'; expected 0, have 1 14307 | { dbldigit = floor(dblval/10.0); /* shift out next digit */ | ^~~~~ ~~~~~~~~~~~ mimetex.c:14276:9: note: declared here 14276 | double floor(); /* integer which is glb(double) */ | ^~~~~ mimetex.c: In function 'aapnmlookup': mimetex.c:14772:9: error: conflicting types for 'aapatterns'; have 'int(void)' 14772 | int aapatterns(); /* to antialias special patterns */ | ^~~~~~~~~~ mimetex.h:710:21: note: previous declaration of 'aapatterns' with type 'int(struct raster_struct *, int, int, int, int, int)' 710 | FUNCSCOPE int aapatterns ( raster *rp, int irow, int icol, | ^~~~~~~~~~ mimetex.c:14841:21: error: too many arguments to function 'aapatterns'; expected 0, have 6 14841 | if ( (aabyteval = aapatterns(rp,irow,icol,gridnum,patternum,grayscale)) | ^~~~~~~~~~ ~~ mimetex.c:14772:9: note: declared here 14772 | int aapatterns(); /* to antialias special patterns */ | ^~~~~~~~~~ mimetex.c: In function 'aapattern1124': mimetex.c:15019:9: warning: variable 'cornval' set but not used [-Wunused-but-set-variable] 15019 | cornval=0, diagval=0; /* vert+horzcorn, top+botdiag */ | ^~~~~~~ mimetex.c: In function 'aawtpixel': mimetex.c:16508:9: warning: variable 'iscenter' set but not used [-Wunused-but-set-variable] 16508 | int iscenter = 0; /* set true if center point black */ | ^~~~~~~~ mimetex.c: In function 'main': mimetex.c:17041:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 17041 | else pbm_outfile = argv[argnum]; break; /*next arg is filename*/ | ^~~~ mimetex.c:17041:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 17041 | else pbm_outfile = argv[argnum]; break; /*next arg is filename*/ | ^~~~~ mimetex.c:17321:5: warning: variable 'whundredths' set but not used [-Wunused-but-set-variable] 17321 | whundredths = 0; /* or wait hundredths of a sec */ | ^~~~~~~~~~~ mimetex.c:17712:20: error: too many arguments to function 'GIF_Create'; expected 0, have 5 17712 | { int status = GIF_Create(gif_outfile, | ^~~~~~~~~~ ~~~~~~~~~~~ mimetex.c:16897:9: note: declared here 16897 | int GIF_Create(),GIF_CompressImage(),GIF_Close(); /* prototypes for... */ | ^~~~~~~~~~ mimetex.c:17728:3: error: too many arguments to function 'GIF_SetColor'; expected 0, have 4 17728 | GIF_SetColor(0,bgred,bggreen,bgblue); /* background white if all 255 */ | ^~~~~~~~~~~~ ~ mimetex.c:16898:9: note: declared here 16898 | void GIF_SetColor(),GIF_SetTransparent(); /* ...gifsave enntry points */ | ^~~~~~~~~~~~ mimetex.c:17730:7: error: too many arguments to function 'GIF_SetColor'; expected 0, have 4 17730 | { GIF_SetColor(1,fgred,fggreen,fgblue); /* foreground black if all 0 */ | ^~~~~~~~~~~~ ~ mimetex.c:16898:9: note: declared here 16898 | void GIF_SetColor(),GIF_SetTransparent(); /* ...gifsave enntry points */ | ^~~~~~~~~~~~ mimetex.c:17743:7: error: too many arguments to function 'GIF_SetColor'; expected 0, have 4 17743 | GIF_SetColor(igray, red,green,blue); /*set gray,grayer,...,0=black*/ | ^~~~~~~~~~~~ ~~~~~ mimetex.c:16898:9: note: declared here 16898 | void GIF_SetColor(),GIF_SetTransparent(); /* ...gifsave enntry points */ | ^~~~~~~~~~~~ mimetex.c:17747:5: error: too many arguments to function 'GIF_SetTransparent'; expected 0, have 1 17747 | GIF_SetTransparent(0); /* set transparent background */ | ^~~~~~~~~~~~~~~~~~ ~ mimetex.c:16898:24: note: declared here 16898 | void GIF_SetColor(),GIF_SetTransparent(); /* ...gifsave enntry points */ | ^~~~~~~~~~~~~~~~~~ mimetex.c:17750:3: error: too many arguments to function 'GIF_CompressImage'; expected 0, have 5 17750 | GIF_CompressImage(0, 0, -1, -1, GetPixel); /* emit gif */ | ^~~~~~~~~~~~~~~~~ ~ mimetex.c:16897:22: note: declared here 16897 | int GIF_Create(),GIF_CompressImage(),GIF_Close(); /* prototypes for... */ | ^~~~~~~~~~~~~~~~~ mimetex.c:17784:24: warning: the comparison will always evaluate as 'true' for the address of 'gif_buffer' will never be NULL [-Waddress] 17784 | if ( 0 && gif_buffer != NULL ) free(gif_buffer); /* free malloced buffer */ | ^~ mimetex.c:16901:9: note: 'gif_buffer' declared here 16901 | gif_buffer[MAXGIFSZ] = "\000", /* or gif written in memory buffer */ | ^~~~~~~~~~ mimetex.c:16865:10: warning: unused variable 'pdirective' [-Wunused-variable] 16865 | *pdirective = NULL; /* ptr to char after \directive */ | ^~~~~~~~~~ mimetex.c:16857:9: warning: variable 'isqempty' set but not used [-Wunused-but-set-variable] 16857 | isqempty = 0, /* true if query string empty */ | ^~~~~~~~ mimetex.c: In function 'CreateGifFromEq': mimetex.c:17836:9: error: conflicting types for 'main'; have 'int(void)' 17836 | int main(); /* main() akways returns an int */ | ^~~~ mimetex.c:16839:9: note: previous definition of 'main' with type 'int(int, char **, char **)' 16839 | int main ( int argc, char *argv[] | ^~~~ mimetex.c:17848:9: error: too many arguments to function 'main'; expected 0, have 3 17848 | return main ( argc, argv | ^~~~ ~~~~ mimetex.c:17836:9: note: declared here 17836 | int main(); /* main() akways returns an int */ | ^~~~ mimetex.c: In function 'ismonth': mimetex.c:17896:12: error: too many arguments to function 'localtime'; expected 0, have 1 17896 | tmstruct = localtime((time_t *)(&time_val)); /* interpret time_val */ | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ mimetex.c:17878:41: note: declared here 17878 | struct tm *tmstruct=(struct tm *)NULL, *localtime(); /* interpret time_val */ | ^~~~~~~~~ mimetex.c: At top level: mimetex.c:18450:9: error: conflicting types for 'GetPixel'; have 'int(int, int)' 18450 | int GetPixel ( int x, int y ) | ^~~~~~~~ mimetex.c:16896:9: note: previous declaration of 'GetPixel' with type 'int(void)' 16896 | int GetPixel(); /* feed pixels to gifsave library */ | ^~~~~~~~ mimetex.c:16464:15: warning: 'aawtpixel' defined but not used [-Wunused-function] 16464 | FUNCSCOPE int aawtpixel(raster *image, int ipixel, raster *weights, int rotate) | ^~~~~~~~~ mimetex.c:14935:15: warning: 'aapatterns' defined but not used [-Wunused-function] 14935 | FUNCSCOPE int aapatterns ( raster *rp, int irow, int icol, | ^~~~~~~~~~ mimetex.c:8874:22: warning: 'rastright' defined but not used [-Wunused-function] 8874 | FUNCSCOPE subraster *rastright(char **expression, int size, subraster *basesp, | ^~~~~~~~~ mimetex.c:7337:15: warning: 'getstore' defined but not used [-Wunused-function] 7337 | FUNCSCOPE int getstore ( STORE *store, char *identifier ) | ^~~~~~~~ mimetex.c:7175:15: warning: 'isnumeric' defined but not used [-Wunused-function] 7175 | FUNCSCOPE int isnumeric ( char *s ) | ^~~~~~~~~ mimetex.c:4200:15: warning: 'cstruct_chardef' defined but not used [-Wunused-function] 4200 | FUNCSCOPE int cstruct_chardef ( chardef *cp, FILE *fp, int col1 ) | ^~~~~~~~~~~~~~~ mimetex.c:3892:15: warning: 'xbitmap_raster' defined but not used [-Wunused-function] 3892 | FUNCSCOPE int xbitmap_raster ( raster *rp, FILE *fp ) | ^~~~~~~~~~~~~~ mimetex.c:2390:15: warning: 'rastsmash' defined but not used [-Wunused-function] 2390 | FUNCSCOPE int rastsmash ( subraster *sp1, subraster *sp2 ) | ^~~~~~~~~ mimetex.c:2325:19: warning: 'rastile' defined but not used [-Wunused-function] 2325 | FUNCSCOPE raster *rastile ( subraster *tiles, int ntiles ) | ^~~~~~~ mimetex.c:1364:15: warning: 'delete_chardef' defined but not used [-Wunused-function] 1364 | FUNCSCOPE int delete_chardef ( chardef *cp ) | ^~~~~~~~~~~~~~ mimetex.c:1268:20: warning: 'new_chardef' defined but not used [-Wunused-function] 1268 | FUNCSCOPE chardef *new_chardef ( ) | ^~~~~~~~~~~ error: Bad exit status from /usr/src/tmp/rpm-tmp.81401 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.81401 (%build) Command exited with non-zero status 1 0.24user 0.04system 0:00.28elapsed 101%CPU (0avgtext+0avgdata 51964maxresident)k 0inputs+0outputs (0major+26252minor)pagefaults 0swaps hsh-rebuild: rebuild of `mimetex-1.76-alt1.src.rpm' failed. Command exited with non-zero status 1 2.60user 0.69system 0:04.27elapsed 77%CPU (0avgtext+0avgdata 143928maxresident)k 8inputs+0outputs (0major+186240minor)pagefaults 0swaps