Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mimetex.spec'], chrootPath='/var/lib/mock/f33-build-299362-56330/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mimetex.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/mimetex-1.74-16.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mimetex.spec'], chrootPath='/var/lib/mock/f33-build-299362-56330/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mimetex.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GY5VWp + 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DngVDo + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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=] 1048 | { fprintf(msgfp,"new_raster> rp=malloc(%d) returned (%s)\n", | ~^ | | | int | %ld 1049 | sizeof(raster),(rp==NULL?"null ptr":"success")); fflush(msgfp); } | ~~~~~~~~~~~~~~ | | | long unsigned int mimetex.c: In function 'rastsmash': mimetex.c:2228:26: warning: variable 'ymin' set but not used [-Wunused-but-set-variable] 2228 | 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] 5610 | 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' 5613 | ) 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] 6058 | istag=0, isamp=0, /* true for , &char; symbols */ | ^~~~~ mimetex.c:1000:43: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1000 | else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ | ^~~~ mimetex.c:6220:9: note: in expansion of macro 'strsqueeze' 6220 | { 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' 6221 | expptr = tokptr+2; } /* and resume search past brace */ | ^~~~~~ mimetex.c:1000:43: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1000 | else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ | ^~~~ mimetex.c:6228:8: note: in expansion of macro 'strsqueeze' 6228 | { 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' 6229 | *(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] 6953 | 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' 6954 | termval = leftval/rightval; break; /* integer division */ | ^~~~~ mimetex.c:6955:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6955 | 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' 6956 | 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] 7708 | isbase=0; /* true if we have base symbol */ | ^~~~~~ mimetex.c:7704:25: warning: variable 'supln' set but not used [-Wunused-but-set-variable] 7704 | 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] 7703 | 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] 7940 | 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] 8442 | if ( *expression != '\000' ) /* ill-formed expression */ | ^~ mimetex.c:8442:11: note: did you mean to dereference the pointer? 8442 | 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] 9101 | 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] 9101 | 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] 9618 | int family = 0, /* fontinfo[ifontnum].family */ | ^~~~~~ mimetex.c: In function 'rastarray': mimetex.c:10161:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10161 | 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' 10161 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~~~~ mimetex.c:10163:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10163 | 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' 10163 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~~~~ mimetex.c:10165:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10165 | 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' 10165 | if (colglobal) gjustify[irow] = justify[irow]; break; | ^~~~~ mimetex.c:10172:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10172 | 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' 10172 | if (rowglobal) growcenter[irow] = rowcenter[irow]; break; | ^~~~~ mimetex.c:10024:25: warning: variable 'subptr' set but not used [-Wunused-but-set-variable] 10024 | 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] 11669 | 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] 13928 | 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] 15215 | 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] 15604 | 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' 15604 | 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] 15423 | isqempty = 0, /* true if query string empty */ | ^~~~~~~~ mimetex.c: In function 'dbltoa': mimetex.c:13337:23: warning: '%0*d' directive writing between 1 and 2147483647 bytes into a region of size 254 [-Wformat-overflow=] 13337 | sprintf(finptr,"%0*d",npts,ifrac); /* convert to string */ | ^~~~ mimetex.c:13337:22: note: directive argument in the range [-2147483648, 2147483646] 13337 | sprintf(finptr,"%0*d",npts,ifrac); /* convert to string */ | ^~~~~~ In file included from /usr/include/stdio.h:866, from mimetex.c:413: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 2 and 2147483648 bytes into a destination of size 254 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Xn9Tgn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64 + cd mimetex-1.74 + install -pDm755 mimetex.cgi /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/var/www/cgi-bin/mimetex.cgi + install -pDm644 mimetex.html /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/var/www/html/mimetex.html + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.74-16.fc33 --unique-debug-suffix -1.74-16.fc33.riscv64 --unique-debug-src-base mimetex-1.74-16.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mimetex-1.74 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/var/www/cgi-bin/mimetex.cgi extracting debug info from /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/var/www/cgi-bin/mimetex.cgi original debug info size: 2264kB, size after compression: 2252kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 13798 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mimetex-1.74-16.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LosMum + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + DOCDIR=/builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/usr/share/doc/mimetex + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/usr/share/doc/mimetex + cp -pr COPYING /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/usr/share/doc/mimetex + cp -pr README /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64/usr/share/doc/mimetex + RPM_EC=0 ++ jobs -p + exit 0 Provides: mimetex = 1.74-16.fc33 mimetex(riscv-64) = 1.74-16.fc33 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) Processing files: mimetex-debugsource-1.74-16.fc33.riscv64 Provides: mimetex-debugsource = 1.74-16.fc33 mimetex-debugsource(riscv-64) = 1.74-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mimetex-debuginfo-1.74-16.fc33.riscv64 Provides: debuginfo(build-id) = 3fd23313a39677aa8490fcd6292e441cde1a2d9c mimetex-debuginfo = 1.74-16.fc33 mimetex-debuginfo(riscv-64) = 1.74-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mimetex-debugsource(riscv-64) = 1.74-16.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64 Wrote: /builddir/build/RPMS/mimetex-debuginfo-1.74-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mimetex-1.74-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/mimetex-debugsource-1.74-16.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oY8gDm + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mimetex-1.74-16.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0