Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/AGReader.spec'], chrootPath='/var/lib/mock/f31-build-64246-29516/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/AGReader.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=1563926400 Wrote: /builddir/build/SRPMS/AGReader-1.2-23.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/AGReader.spec'], chrootPath='/var/lib/mock/f31-build-64246-29516/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/AGReader.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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vSCOdu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf AGReader + /usr/bin/bzip2 -dc /builddir/build/SOURCES/AGReader.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd AGReader + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ibdqqw + umask 022 + cd /builddir/build/BUILD + cd AGReader + make -C Sources -j4 'CFLAGS=-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' BUILDSTDERR: IO_tty.c: In function 'raw_mode': BUILDSTDERR: IO_tty.c:51:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 51 | if (old_st == on) return; old_st = on; BUILDSTDERR: | ^~ BUILDSTDERR: IO_tty.c:51:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 51 | if (old_st == on) return; old_st = on; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: IO_tty.c:48:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 48 | int i; /* silence warnings */ BUILDSTDERR: | ^ BUILDSTDERR: AGObj.c: In function 'CreateAGLink': BUILDSTDERR: AGObj.c:45:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 45 | for(p=format; *p!='\"'; p++); *p='\0'; BUILDSTDERR: | ^~~ BUILDSTDERR: AGObj.c:45:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 45 | for(p=format; *p!='\"'; p++); *p='\0'; BUILDSTDERR: | ^ BUILDSTDERR: AG_lib.c: In function 'GetAGString': BUILDSTDERR: AG_lib.c:68:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 68 | while(*src!='\n') *src++ = '\0'; *src=0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: AG_lib.c:68:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: 68 | while(*src!='\n') *src++ = '\0'; *src=0; BUILDSTDERR: | ^ BUILDSTDERR: AG_lib.c: In function 'FindNodeNames': BUILDSTDERR: AG_lib.c:87:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 87 | if(*src=='\"') eos='\"',src++; node->name=src; BUILDSTDERR: | ^~ BUILDSTDERR: AG_lib.c:87:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 87 | if(*src=='\"') eos='\"',src++; node->name=src; BUILDSTDERR: | ^~~~ BUILDSTDERR: AG_lib.c: In function 'CreateAGNodes': BUILDSTDERR: AG_lib.c:234:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 234 | if( lst==NULL ) *p='\0'; break; BUILDSTDERR: | ^~ BUILDSTDERR: AG_lib.c:234:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 234 | if( lst==NULL ) *p='\0'; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: AG_lib.c:237:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 237 | else wrap = WRAP_LINE; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: AG_lib.c:237:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 237 | else wrap = WRAP_LINE; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: AG_lib.c:240:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 240 | else wrap = WRAP_SMART; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: AG_lib.c:240:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 240 | else wrap = WRAP_SMART; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: AG_lib.c: In function 'CreateAGWords': BUILDSTDERR: AG_lib.c:423:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 423 | while(*buf != '}') buf++; *buf='\0'; p = buf+1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: AG_lib.c:423:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: 423 | while(*buf != '}') buf++; *buf='\0'; p = buf+1; BUILDSTDERR: | ^ BUILDSTDERR: AG_lib.c: In function 'RenderLine': BUILDSTDERR: AG_lib.c:612:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 612 | if (i >= start) goto big_break; cp++; BUILDSTDERR: | ^~ BUILDSTDERR: AG_lib.c:612:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 612 | if (i >= start) goto big_break; cp++; BUILDSTDERR: | ^~ BUILDSTDERR: AG_lib.c:652:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 652 | if(!cp) cp=word->data; for(; idata; for(; i buffer) fputs(p = buffer,stdout); printf(""); BUILDSTDERR: | ^~ BUILDSTDERR: AG_lib.c:665:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 665 | if(p > buffer) fputs(p = buffer,stdout); printf(""); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: Input.c: In function 'Prompt': BUILDSTDERR: Input.c:26:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 26 | if(str == NULL) str = node->name; plen = strlen(str); BUILDSTDERR: | ^~ BUILDSTDERR: Input.c:26:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 26 | if(str == NULL) str = node->name; plen = strlen(str); BUILDSTDERR: | ^~~~ BUILDSTDERR: Input.c: In function 'ThrowError': BUILDSTDERR: Input.c:86:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 86 | int i; /* silence warnings */ BUILDSTDERR: | ^ BUILDSTDERR: Input.c: In function 'ProcessKeys': BUILDSTDERR: Input.c:247:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 247 | else HistoryBack( &terminfo ); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: Input.c:247:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 247 | else HistoryBack( &terminfo ); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: Navigate.c: In function 'ToEnv': BUILDSTDERR: Navigate.c:180:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 180 | for(p=dest; *src && *src!=eos; *p++ = toupper(*src),src++); *p='\0'; BUILDSTDERR: | ^~~ BUILDSTDERR: Navigate.c:180:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 180 | for(p=dest; *src && *src!=eos; *p++ = toupper(*src),src++); *p='\0'; BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc main.c -c -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 -O2 gcc IO_tty.c -c -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 -O2 gcc AG_lib.c -c -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 -O2 gcc AGObj.c -c -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 -O2 gcc Input.c -c -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 -O2 gcc Navigate.c -c -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 -O2 gcc Text.c -c -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 -O2 gcc main.o IO_tty.o AG_lib.o AGObj.o Input.o Navigate.o Text.o -o agr make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nTteKx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64 + cd AGReader + rm -rf /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/man/man1 + install -m0644 /builddir/build/SOURCES/agr.1 /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/man/man1 + install -m0755 Sources/agr /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2-23.fc31 --unique-debug-suffix -1.2-23.fc31.riscv64 --unique-debug-src-base AGReader-1.2-23.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/AGReader BUILDSTDERR: 159 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/bin/agr extracting debug info from /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/bin/agr original debug info size: 180kB, size after compression: 168kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: AGReader-1.2-23.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WQYyOv + umask 022 + cd /builddir/build/BUILD + cd AGReader + DOCDIR=/builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/doc/AGReader + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/doc/AGReader + cp -pr Docs/agr.guide /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/doc/AGReader + cp -pr Docs/test.guide /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/doc/AGReader + cp -pr Docs/agr.html /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/doc/AGReader + cp -pr README /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64/usr/share/doc/AGReader + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: AGReader = 1.2-23.fc31 AGReader(riscv-64) = 1.2-23.fc31 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: AGReader-debugsource-1.2-23.fc31.riscv64 Provides: AGReader-debugsource = 1.2-23.fc31 AGReader-debugsource(riscv-64) = 1.2-23.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: AGReader-debuginfo-1.2-23.fc31.riscv64 Provides: AGReader-debuginfo = 1.2-23.fc31 AGReader-debuginfo(riscv-64) = 1.2-23.fc31 debuginfo(build-id) = d196865068edb34372186f2e33e4de14b27e7cb3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: AGReader-debugsource(riscv-64) = 1.2-23.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64 Wrote: /builddir/build/RPMS/AGReader-debugsource-1.2-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/AGReader-1.2-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/AGReader-debuginfo-1.2-23.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.znMDCu + umask 022 + cd /builddir/build/BUILD + cd AGReader + /usr/bin/rm -rf /builddir/build/BUILDROOT/AGReader-1.2-23.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0