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/kcc.spec'], chrootPath='/var/lib/mock/f33-build-309728-57248/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/kcc.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/kcc-2.3-50.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/kcc.spec'], chrootPath='/var/lib/mock/f33-build-309728-57248/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/kcc.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.7IQ5Ih + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kcc + /usr/bin/gzip -dc /builddir/build/SOURCES/kcc.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kcc + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (kcc-2.3-dontstrip.patch):' Patch #0 (kcc-2.3-dontstrip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dontstrip --fuzz=0 patching file Makefile Patch #1 (kcc-2.3-varargs.patch): + echo 'Patch #1 (kcc-2.3-varargs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .varargs --fuzz=0 patching file kcc.c Patch #2 (kcc-2.3-fix-segv.patch): + echo 'Patch #2 (kcc-2.3-fix-segv.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .segv --fuzz=0 patching file kcc.c + echo 'Patch #3 (kcc-2.3-timestamp.patch):' Patch #3 (kcc-2.3-timestamp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .timestamp --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x7KZyf + umask 022 + cd /builddir/build/BUILD + cd kcc + make 'CFLAGS=-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' cc -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 -c -o kcc.o kcc.c kcc.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] 148 | main(c, v) | ^~~~ kcc.c: In function 'main': kcc.c:181:18: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 181 | if ((size = atoi(*v)) <= 0) | ^~~~ kcc.c:306:10: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] 306 | if (isatty(fileno(stdin)) && feof(stdin)) | ^~~~~~ kcc.c: In function 'error': kcc.c:378:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 378 | exit(1); | ^~~~ kcc.c:378:5: warning: incompatible implicit declaration of built-in function 'exit' kcc.c:368:1: note: include '' or provide a declaration of 'exit' 367 | #include +++ |+#include 368 | kcc.c: In function 'filter': kcc.c:419:18: warning: implicit declaration of function 'getstr' [-Wimplicit-function-declaration] 419 | while (len = getstr(str, sizeof str, fp)) { | ^~~~~~ kcc.c:419:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 419 | while (len = getstr(str, sizeof str, fp)) { | ^~~ kcc.c:420:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 420 | if (!(code & NONASCII) && code & BIT8 || | ^ kcc.c: In function 'check': kcc.c:476:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 476 | while (len = getstr(str, sizeof str, fp)) { | ^~~ kcc.c: In function 'buffalloc': kcc.c:640:36: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 640 | if ((bufp = holdbuf = (char *) malloc(len)) == NULL) | ^~~~~~ kcc.c:640:36: warning: incompatible implicit declaration of built-in function 'malloc' kcc.c:640:36: note: include '' or provide a declaration of 'malloc' kcc.c: In function 'guess': kcc.c:101:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ~~~~^~~~~ kcc.c:724:11: note: in expansion of macro 'bitflag' 724 | insi |= bitflag(((u_char *) s)[2]); | ^~~~~~~ kcc.c:101:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ^~ kcc.c:728:11: note: in expansion of macro 'bitflag' 728 | innj |= bitflag('B'); | ^~~~~~~ kcc.c:101:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ~~~~^~~~~ kcc.c:733:11: note: in expansion of macro 'bitflag' 733 | inso |= bitflag(((u_char *) s)[2]); | ^~~~~~~ kcc.c:101:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ^~ kcc.c:737:11: note: in expansion of macro 'bitflag' 737 | inso |= bitflag('I'); | ^~~~~~~ kcc.c:101:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ^~ kcc.c:741:11: note: in expansion of macro 'bitflag' 741 | ingj |= bitflag('D'); | ^~~~~~~ kcc.c:775:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 775 | if (0xa0 < *(u_char *) s && *(u_char *) s < 0xff || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ kcc.c:780:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 780 | if (extend) | ^ kcc.c: In function 'out': kcc.c:101:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ~~~~^~~~~ kcc.c:902:11: note: in expansion of macro 'bitflag' 902 | insi |= bitflag(((u_char *) s)[2]); | ^~~~~~~ kcc.c:101:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ^~ kcc.c:906:11: note: in expansion of macro 'bitflag' 906 | innj |= bitflag('B'); | ^~~~~~~ kcc.c:101:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ~~~~^~~~~ kcc.c:911:11: note: in expansion of macro 'bitflag' 911 | inso |= bitflag(((u_char *) s)[2]); | ^~~~~~~ kcc.c:101:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ^~ kcc.c:915:11: note: in expansion of macro 'bitflag' 915 | inso |= bitflag('I'); | ^~~~~~~ kcc.c:101:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 101 | #define bitflag(c) (1L << (c) - '@') | ^~ kcc.c:919:11: note: in expansion of macro 'bitflag' 919 | ingj |= bitflag('D'); | ^~~~~~~ kcc.c:941:3: warning: enumeration value 'M_ASCII' not handled in switch [-Wswitch] 941 | switch (inmode) { | ^~~~~~ kcc.c:1003:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1003 | ((u_char *) s)[0] != SS2 && | ^ kcc.c:1014:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1014 | if (!(code & SJIS) || 0xa0 < ((u_char *) s)[0] && | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1015 | ((u_char *) s)[0] < 0xe0) | ~~~~~~~~~~~~~~~~~~~~~~~~ kcc.c:957:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 957 | } else if (((u_char *) s)[0] & 0x80) | ^ kcc.c: In function 'jiskana': kcc.c:1197:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1197 | putchar(!nogaiji || 0x20 < c && c < 0x60 ? c : HANPAD); | ~~~~~~~~~^~~~~~~~~~~ kcc.c: In function 'jiskanak': kcc.c:1211:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1211 | putchar(!nogaiji || 0x20 < c && c < 0x60 ? c : HANPAD); | ~~~~~~~~~^~~~~~~~~~~ kcc.c: In function 'jiskana8': kcc.c:1225:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1225 | putchar((!nogaiji || 0x20 < c && c < 0x60 ? c : HANPAD) | 0x80); | ~~~~~~~~~^~~~~~~~~~~ kcc.c: In function 'eucgaiji': kcc.c:1248:24: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1248 | putchar(ZENPAD & 0xff | 0x80); | ^ kcc.c: In function 'euckana': kcc.c:1264:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1264 | putchar((!nogaiji || 0x20 < c && c < 0x60 ? c : HANPAD) | 0x80); | ~~~~~~~~~^~~~~~~~~~~ kcc.c: In function 'sjiskanji': kcc.c:1274:17: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 1274 | putchar((c1 - 1 >> 1) + (c1 <= 0x5e ? 0x71 : 0xb1)); | ~~~^~~ kcc.c: In function 'sjisgaiji': kcc.c:1292:26: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 1292 | putchar(c1 < 0x3b ? (c1 - 1 >> 1) + 0xe0 : 0xfc); | ~~~^~~ kcc.c: In function 'decgaiji': kcc.c:1353:24: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1353 | putchar(ZENPAD & 0xff | 0x80); | ^ At top level: kcc.c:26:13: warning: 'copyright' defined but not used [-Wunused-variable] 26 | static char copyright[] = "@(#)Copyright (c) 1992 Yasuhiro Tonooka"; | ^~~~~~~~~ kcc.c:25:13: warning: 'sccsid' defined but not used [-Wunused-variable] 25 | static char sccsid[] = "@(#)kcc.c 2.3 (Y.Tonooka) 7/1/94"; | ^~~~~~ kcc.c: In function 'main': kcc.c:339:19: warning: 'dev' may be used uninitialized in this function [-Wmaybe-uninitialized] 339 | sbuf.st_dev == dev && sbuf.st_ino == ino) { | ~~~~~~~~~~~~^~~~~~ cc -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 -o kcc kcc.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MqAvIi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64 + cd kcc + rm -rf /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/ja/man1 + mkdir -p /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/man1 + make BINPATH=/builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/bin install make kcc make[1]: Entering directory '/builddir/build/BUILD/kcc' make[1]: 'kcc' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/kcc' install -p kcc /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/bin `make install' done. Run `make install.man' to install a manual. + make MANPATH=/builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man JMANDIR=ja install.man install -m 644 -p kcc.jman /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/ja/man1/kcc.1 ++ find /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/ja -type f + for i in `find $RPM_BUILD_ROOT/usr/share/man/ja -type f` + iconv -f euc-jp -t utf-8 /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/ja/man1/kcc.1 + mv -f /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/ja/man1/kcc.1.new /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/ja/man1/kcc.1 + chmod 444 /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/ja/man1/kcc.1 + install -m0644 -p /builddir/build/SOURCES/kcc.1 /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/man1/ + gzip -9 /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/man/man1/kcc.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3-50.fc33 --unique-debug-suffix -2.3-50.fc33.riscv64 --unique-debug-src-base kcc-2.3-50.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/kcc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/bin/kcc extracting debug info from /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/bin/kcc original debug info size: 204kB, size after compression: 204kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 70 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: kcc-2.3-50.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xqLHuf + umask 022 + cd /builddir/build/BUILD + cd kcc + DOCDIR=/builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/doc/kcc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/doc/kcc + cp -pr README /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/doc/kcc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.loQNEi + umask 022 + cd /builddir/build/BUILD + cd kcc + LICENSEDIR=/builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/licenses/kcc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/licenses/kcc + cp -pr COPYING /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64/usr/share/licenses/kcc + RPM_EC=0 ++ jobs -p + exit 0 Provides: kcc = 2.3-50.fc33 kcc(riscv-64) = 2.3-50.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) rtld(GNU_HASH) Processing files: kcc-debugsource-2.3-50.fc33.riscv64 Provides: kcc-debugsource = 2.3-50.fc33 kcc-debugsource(riscv-64) = 2.3-50.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: kcc-debuginfo-2.3-50.fc33.riscv64 Provides: debuginfo(build-id) = c006a10d8cfeaafd593b7527bb02005d216f2051 kcc-debuginfo = 2.3-50.fc33 kcc-debuginfo(riscv-64) = 2.3-50.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: kcc-debugsource(riscv-64) = 2.3-50.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64 Wrote: /builddir/build/RPMS/kcc-debugsource-2.3-50.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/kcc-2.3-50.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/kcc-debuginfo-2.3-50.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CFbLci + umask 022 + cd /builddir/build/BUILD + cd kcc + /usr/bin/rm -rf /builddir/build/BUILDROOT/kcc-2.3-50.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0