Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mimetex.spec'], chrootPath='/var/lib/mock/f29-build-24951-13012/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Wrote: /builddir/build/SRPMS/mimetex-1.74-12.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mimetex.spec'], chrootPath='/var/lib/mock/f29-build-24951-13012/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I3rKKZ + 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.hSOZ46 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DAA mimetex.c gifsave.c -lm -o mimetex.cgi BUILDSTDERR: mimetex.c: In function 'new_raster': BUILDSTDERR: mimetex.c:1048:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: { fprintf(msgfp,"new_raster> rp=malloc(%d) returned (%s)\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: sizeof(raster),(rp==NULL?"null ptr":"success")); fflush(msgfp); } BUILDSTDERR: ~~~~~~~~~~~~~~ BUILDSTDERR: mimetex.c: In function 'rastsmash': BUILDSTDERR: mimetex.c:2228:26: warning: variable 'ymin' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int smin=9999, xmin=9999,ymin=9999; /* min separation (s=x+y) */ BUILDSTDERR: ^~~~ BUILDSTDERR: mimetex.c: In function 'isbrace': BUILDSTDERR: mimetex.c:5610:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if ( gotbrace && /* found a brace */ BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:5613:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: ) return ( 1 ); return ( 0 ); /* return 1,0 accordingly */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c: In function 'mimeprep': BUILDSTDERR: mimetex.c:6058:11: warning: variable 'isamp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: istag=0, isamp=0, /* true for , &char; symbols */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:1000:43: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ BUILDSTDERR: ^~~~ BUILDSTDERR: mimetex.c:6220:9: note: in expansion of macro 'strsqueeze' BUILDSTDERR: { strsqueeze((tokptr+1),(lrlen-1));/*so squeeze out "left" or "right"*/ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mimetex.c:6221:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: expptr = tokptr+2; } /* and resume search past brace */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c:1000:43: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else memmove(s,s+(n),1+thislen3-(n)); }} else/*user supplies final;*/ BUILDSTDERR: ^~~~ BUILDSTDERR: mimetex.c:6228:8: note: in expansion of macro 'strsqueeze' BUILDSTDERR: { strsqueeze((tokptr+1),(lrlen+symlen-2)); /*squeeze out delim*/ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mimetex.c:6229:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: *(tokptr+1) = *(lrto[isymbol]); /* last char now 1-char delim*/ BUILDSTDERR: ^ BUILDSTDERR: mimetex.c: In function 'evalterm': BUILDSTDERR: mimetex.c:6953:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: case '/': if ( rightval != 0 ) /* guard against divide by zero */ BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:6954:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: termval = leftval/rightval; break; /* integer division */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:6955:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: case '%': if ( rightval != 0 ) /* guard against divide by zero */ BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:6956:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: termval = leftval%rightval; break; /*left modulo right */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c: In function 'rastscripts': BUILDSTDERR: mimetex.c:7708:2: warning: variable 'isbase' set but not used [-Wunused-but-set-variable] BUILDSTDERR: isbase=0; /* true if we have base symbol */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c:7704:25: warning: variable 'supln' set but not used [-Wunused-but-set-variable] BUILDSTDERR: supht=0, supwidth=0, supln=0, /* height,width,baseline of sup */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:7703:25: warning: variable 'subln' set but not used [-Wunused-but-set-variable] BUILDSTDERR: subht=0, subwidth=0, subln=0, /* height,width,baseline of sub */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c: In function 'rastleft': BUILDSTDERR: mimetex.c:7940:5: warning: variable 'isleftscript' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int isleftscript=0, isrightscript=0; /* true if delims are scripted */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: mimetex.c: In function 'rastflags': BUILDSTDERR: mimetex.c:8442:23: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: if ( *expression != '\000' ) /* ill-formed expression */ BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:8442:11: note: did you mean to dereference the pointer? BUILDSTDERR: if ( *expression != '\000' ) /* ill-formed expression */ BUILDSTDERR: ^ BUILDSTDERR: mimetex.c: In function 'rastfrac': BUILDSTDERR: mimetex.c:9101:15: warning: variable 'baseln' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int baseht=0, baseln=0; /* height,baseline of base symbol */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c:9101:5: warning: variable 'baseht' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int baseht=0, baseln=0; /* height,baseline of base symbol */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c: In function 'rastfont': BUILDSTDERR: mimetex.c:9618:5: warning: variable 'family' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int family = 0, /* fontinfo[ifontnum].family */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c: In function 'rastarray': BUILDSTDERR: mimetex.c:10161:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (colglobal) gjustify[irow] = justify[irow]; break; BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:10161:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (colglobal) gjustify[irow] = justify[irow]; break; BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:10163:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (colglobal) gjustify[irow] = justify[irow]; break; BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:10163:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (colglobal) gjustify[irow] = justify[irow]; break; BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:10165:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (colglobal) gjustify[irow] = justify[irow]; break; BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:10165:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (colglobal) gjustify[irow] = justify[irow]; break; BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:10172:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (rowglobal) growcenter[irow] = rowcenter[irow]; break; BUILDSTDERR: ^~ BUILDSTDERR: mimetex.c:10172:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (rowglobal) growcenter[irow] = rowcenter[irow]; break; BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:10024:25: warning: variable 'subptr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: subtok[MAXTOKNSZ+1], *subptr=subtok, /* &,\\ inside { } not a delim*/ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c: In function 'rastinput': BUILDSTDERR: mimetex.c:11669:5: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int status, rastreadfile(); /* read input file */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: mimetex.c: In function 'aapattern1124': BUILDSTDERR: mimetex.c:13928:2: warning: variable 'cornval' set but not used [-Wunused-but-set-variable] BUILDSTDERR: cornval=0, diagval=0; /* vert+horzcorn, top+botdiag */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mimetex.c: In function 'aawtpixel': BUILDSTDERR: mimetex.c:15215:7: warning: variable 'iscenter' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int iscenter = 0; /* set true if center point black */ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: mimetex.c: In function 'main': BUILDSTDERR: mimetex.c:15604:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else pbm_outfile = argv[argnum]; break; /*next arg is filename*/ BUILDSTDERR: ^~~~ BUILDSTDERR: mimetex.c:15604:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: else pbm_outfile = argv[argnum]; break; /*next arg is filename*/ BUILDSTDERR: ^~~~~ BUILDSTDERR: mimetex.c:15423:2: warning: variable 'isqempty' set but not used [-Wunused-but-set-variable] BUILDSTDERR: isqempty = 0, /* true if query string empty */ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: mimetex.c: In function 'cstruct_raster': BUILDSTDERR: mimetex.c:3954:37: warning: '%s' directive writing up to 63 bytes into a region of size between 11 and 46 [-Wformat-overflow=] BUILDSTDERR: sprintf(field,"{ %2d, %3d,%2d,%2d, %s\n", /* format width,height,pixsz */ BUILDSTDERR: ^~ BUILDSTDERR: rp->width,rp->height,rp->format,rp->pixsz,typecast); BUILDSTDERR: ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from mimetex.c:413: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 118 bytes into a destination of size 64 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mimetex.c: In function 'dbltoa': BUILDSTDERR: mimetex.c:13337:23: warning: '%0*d' directive writing between 1 and 2147483647 bytes into a region of size 254 [-Wformat-overflow=] BUILDSTDERR: sprintf(finptr,"%0*d",npts,ifrac); /* convert to string */ BUILDSTDERR: ^~~~ BUILDSTDERR: mimetex.c:13337:22: note: directive argument in the range [-2147483648, 2147483646] BUILDSTDERR: sprintf(finptr,"%0*d",npts,ifrac); /* convert to string */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from mimetex.c:413: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 2147483648 bytes into a destination of size 254 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YBGTo6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64 + cd mimetex-1.74 + install -pDm755 mimetex.cgi /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64/var/www/cgi-bin/mimetex.cgi + install -pDm644 mimetex.html /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64/var/www/html/mimetex.html + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.74-12.fc29 --unique-debug-suffix -1.74-12.fc29.riscv64 --unique-debug-src-base mimetex-1.74-12.fc29.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-12.fc29.riscv64/var/www/cgi-bin/mimetex.cgi extracting debug info from /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64/var/www/cgi-bin/mimetex.cgi /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 13798 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mimetex-1.74-12.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pjyZzn + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + DOCDIR=/builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64/usr/share/doc/mimetex + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64/usr/share/doc/mimetex + cp -pr COPYING /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64/usr/share/doc/mimetex + cp -pr README /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64/usr/share/doc/mimetex + exit 0 Provides: mimetex = 1.74-12.fc29 mimetex(riscv-64) = 1.74-12.fc29 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-12.fc29.riscv64 Provides: mimetex-debugsource = 1.74-12.fc29 mimetex-debugsource(riscv-64) = 1.74-12.fc29 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-12.fc29.riscv64 Provides: debuginfo(build-id) = f2ce00d568812247ad288889d4cfff1d574ae603 mimetex-debuginfo = 1.74-12.fc29 mimetex-debuginfo(riscv-64) = 1.74-12.fc29 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-12.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64 Wrote: /builddir/build/RPMS/mimetex-1.74-12.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mimetex-debugsource-1.74-12.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mimetex-debuginfo-1.74-12.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LArHB9 + umask 022 + cd /builddir/build/BUILD + cd mimetex-1.74 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mimetex-1.74-12.fc29.riscv64 + exit 0 Child return code was: 0