+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mimetex.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TJcl8a + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mimetex-1.74 + /usr/bin/mkdir -p mimetex-1.74 + cd mimetex-1.74 + /usr/bin/unzip -qq /builddir/build/SOURCES/mimetex.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a8pBSI + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DAA mimetex.c gifsave.c -lm -o mimetex.cgi mimetex.c: In function 'new_raster': mimetex.c:1048:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] { fprintf(msgfp,"new_raster> rp=malloc(%d) returned (%s)\n", ~^ %ld mimetex.c: In function 'rastsmash': mimetex.c:2228:26: warning: variable 'ymin' set but not used [-Wunused-but-set-variable] int smin=9999, xmin=9999,ymin=9999; /* min separation (s=x+y) */ ^~~~ mimetex.c: In function 'isbrace': mimetex.c:5610:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( gotbrace && /* found a brace */ ^~ mimetex.c:5613:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ) return ( 1 ); return ( 0 ); /* return 1,0 accordingly */ ^~~~~~ mimetex.c: In function 'mimeprep': mimetex.c:6058:11: warning: variable 'isamp' set but not used [-Wunused-but-set-variable] istag=0, isamp=0, /* true for , &char; symbols */ ^~~~~ mimetex.c:1000:43: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ ^ mimetex.c:6220:9: note: in expansion of macro 'strsqueeze' { strsqueeze((tokptr+1),(lrlen-1));/*so squeeze out "left" or "right"*/ ^~~~~~~~~~ mimetex.c:6221:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' expptr = tokptr+2; } /* and resume search past brace */ ^~~~~~ mimetex.c:1000:43: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ ^ mimetex.c:6228:8: note: in expansion of macro 'strsqueeze' { strsqueeze((tokptr+1),(lrlen+symlen-2)); /*squeeze out delim*/ ^~~~~~~~~~ mimetex.c:6229:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' *(tokptr+1) = *(lrto[isymbol]); /* last char now 1-char delim*/ ^ mimetex.c: In function 'evalterm': mimetex.c:6953:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case '/': if ( rightval != 0 ) /* guard against divide by zero */ ^~ mimetex.c:6954:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' termval = leftval/rightval; break; /* integer division */ ^~~~~ mimetex.c:6955:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case '%': if ( rightval != 0 ) /* guard against divide by zero */ ^~ mimetex.c:6956:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' termval = leftval%rightval; break; /*left modulo right */ ^~~~~ mimetex.c: In function 'rastscripts': mimetex.c:7708:2: warning: variable 'isbase' set but not used [-Wunused-but-set-variable] isbase=0; /* true if we have base symbol */ ^~~~~~ mimetex.c:7704:25: warning: variable 'supln' set but not used [-Wunused-but-set-variable] supht=0, supwidth=0, supln=0, /* height,width,baseline of sup */ ^~~~~ mimetex.c:7703:25: warning: variable 'subln' set but not used [-Wunused-but-set-variable] subht=0, subwidth=0, subln=0, /* height,width,baseline of sub */ ^~~~~ mimetex.c: In function 'rastleft': mimetex.c:7940:5: warning: variable 'isleftscript' set but not used [-Wunused-but-set-variable] int isleftscript=0, isrightscript=0; /* true if delims are scripted */ ^~~~~~~~~~~~ mimetex.c: In function 'rastflags': mimetex.c:8442:23: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ( *expression != '\000' ) /* ill-formed expression */ ^~ mimetex.c:8442:11: note: did you mean to dereference the pointer? if ( *expression != '\000' ) /* ill-formed expression */ ^ mimetex.c: In function 'rastfrac': mimetex.c:9101:15: warning: variable 'baseln' set but not used [-Wunused-but-set-variable] int baseht=0, baseln=0; /* height,baseline of base symbol */ ^~~~~~ mimetex.c:9101:5: warning: variable 'baseht' set but not used [-Wunused-but-set-variable] int baseht=0, baseln=0; /* height,baseline of base symbol */ ^~~~~~ mimetex.c: In function 'rastfont': mimetex.c:9618:5: warning: variable 'family' set but not used [-Wunused-but-set-variable] int family = 0, /* fontinfo[ifontnum].family */ ^~~~~~ mimetex.c: In function 'rastarray': mimetex.c:10161:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (colglobal) gjustify[irow] = justify[irow]; break; ^~ mimetex.c:10161:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (colglobal) gjustify[irow] = justify[irow]; break; ^~~~~ mimetex.c:10163:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (colglobal) gjustify[irow] = justify[irow]; break; ^~ mimetex.c:10163:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (colglobal) gjustify[irow] = justify[irow]; break; ^~~~~ mimetex.c:10165:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (colglobal) gjustify[irow] = justify[irow]; break; ^~ mimetex.c:10165:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (colglobal) gjustify[irow] = justify[irow]; break; ^~~~~ mimetex.c:10172:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rowglobal) growcenter[irow] = rowcenter[irow]; break; ^~ mimetex.c:10172:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rowglobal) growcenter[irow] = rowcenter[irow]; break; ^~~~~ mimetex.c:10024:25: warning: variable 'subptr' set but not used [-Wunused-but-set-variable] subtok[MAXTOKNSZ+1], *subptr=subtok, /* &,\\ inside { } not a delim*/ ^~~~~~ mimetex.c: In function 'rastinput': mimetex.c:11669:5: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status, rastreadfile(); /* read input file */ ^~~~~~ mimetex.c: In function 'aapattern1124': mimetex.c:13928:2: warning: variable 'cornval' set but not used [-Wunused-but-set-variable] cornval=0, diagval=0; /* vert+horzcorn, top+botdiag */ ^~~~~~~ mimetex.c: In function 'aawtpixel': mimetex.c:15215:7: warning: variable 'iscenter' set but not used [-Wunused-but-set-variable] int iscenter = 0; /* set true if center point black */ ^~~~~~~~ mimetex.c: In function 'main': mimetex.c:15604:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else pbm_outfile = argv[argnum]; break; /*next arg is filename*/ ^~~~ mimetex.c:15604:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else pbm_outfile = argv[argnum]; break; /*next arg is filename*/ ^~~~~ mimetex.c:15423:2: warning: variable 'isqempty' set but not used [-Wunused-but-set-variable] isqempty = 0, /* true if query string empty */ ^~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fqjMrX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64 + cd mimetex-1.74 + install -pDm755 mimetex.cgi /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64/var/www/cgi-bin/mimetex.cgi + install -pDm644 mimetex.html /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64/var/www/html/mimetex.html + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mimetex-1.74-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QDMjzB + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + DOCDIR=/builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64/usr/share/doc/mimetex + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64/usr/share/doc/mimetex + cp -pr COPYING /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64/usr/share/doc/mimetex + cp -pr README /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64/usr/share/doc/mimetex + exit 0 Provides: mimetex = 1.74-10.fc28 mimetex(riscv-64) = 1.74-10.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/mimetex-1.74-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mimetex-1.74-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oOuKfv + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mimetex-1.74-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff