Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/AGReader.spec'], chrootPath='/var/lib/mock/f30-build-37995-21890/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/AGReader-1.2-21.fc30.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/f30-build-37995-21890/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PldMUP + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.izmLaC + 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' 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 BUILDSTDERR: IO_tty.c: In function 'raw_mode': BUILDSTDERR: IO_tty.c:51:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: 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: 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: for(p=format; *p!='\"'; p++); *p='\0'; BUILDSTDERR: ^ 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 BUILDSTDERR: AG_lib.c: In function 'GetAGString': BUILDSTDERR: AG_lib.c:68:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: 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: 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: 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: if( lst==NULL ) *p='\0'; break; BUILDSTDERR: ^~~~~ BUILDSTDERR: AG_lib.c:237:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: else wrap = WRAP_LINE; break; BUILDSTDERR: ^~~~~ BUILDSTDERR: AG_lib.c:240:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: 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: 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: 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: if (i >= start) goto big_break; cp++; BUILDSTDERR: ^~ BUILDSTDERR: AG_lib.c:652:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: if(p > buffer) fputs(p = buffer,stdout); printf(""); BUILDSTDERR: ^~~~~~ 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 BUILDSTDERR: Input.c: In function 'Prompt': BUILDSTDERR: Input.c:26:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: 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: 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: 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: 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: for(p=dest; *src && *src!=eos; *p++ = toupper(*src),src++); *p='\0'; BUILDSTDERR: ^ 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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yC4WFP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64 + cd AGReader + rm -rf /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/man/man1 + install -m0644 /builddir/build/SOURCES/agr.1 /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/man/man1 + install -m0755 Sources/agr /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2-21.fc30 --unique-debug-suffix -1.2-21.fc30.riscv64 --unique-debug-src-base AGReader-1.2-21.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/AGReader explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/bin/agr extracting debug info from /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/bin/agr /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 159 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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: AGReader-1.2-21.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eWovPQ + umask 022 + cd /builddir/build/BUILD + cd AGReader + DOCDIR=/builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/doc/AGReader + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/doc/AGReader + cp -pr Docs/agr.guide /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/doc/AGReader + cp -pr Docs/test.guide /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/doc/AGReader + cp -pr Docs/agr.html /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/doc/AGReader + cp -pr README /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64/usr/share/doc/AGReader + exit 0 Provides: AGReader = 1.2-21.fc30 AGReader(riscv-64) = 1.2-21.fc30 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-21.fc30.riscv64 Provides: AGReader-debugsource = 1.2-21.fc30 AGReader-debugsource(riscv-64) = 1.2-21.fc30 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-21.fc30.riscv64 Provides: AGReader-debuginfo = 1.2-21.fc30 AGReader-debuginfo(riscv-64) = 1.2-21.fc30 debuginfo(build-id) = 39837a5d10017b134c5ab623d28058a11d45bf8a 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-21.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64 Wrote: /builddir/build/RPMS/AGReader-1.2-21.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/AGReader-debugsource-1.2-21.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/AGReader-debuginfo-1.2-21.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9nmb1V + umask 022 + cd /builddir/build/BUILD + cd AGReader + /usr/bin/rm -rf /builddir/build/BUILDROOT/AGReader-1.2-21.fc30.riscv64 + exit 0 Child return code was: 0