Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/AGReader.spec'], chrootPath='/var/lib/mock/f34-build-25289307-2872038/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1611532800 Wrote: /builddir/build/SRPMS/AGReader-1.2-27.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/AGReader.spec'], chrootPath='/var/lib/mock/f34-build-25289307-2872038/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1611532800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YNioow + 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8R0pGj + umask 022 + cd /builddir/build/BUILD + cd AGReader + /usr/bin/make -O -j2 V=1 VERBOSE=1 -C Sources '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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc main.c -c -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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc IO_tty.c -c -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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' IO_tty.c: In function 'raw_mode': IO_tty.c:51:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 51 | if (old_st == on) return; old_st = on; | ^~ IO_tty.c:51:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 51 | if (old_st == on) return; old_st = on; | ^~~~~~ IO_tty.c:48:13: warning: variable 'i' set but not used [-Wunused-but-set-variable] 48 | int i; /* silence warnings */ | ^ make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc AGObj.c -c -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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' AGObj.c: In function 'CreateAGLink': AGObj.c:45:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 45 | for(p=format; *p!='\"'; p++); *p='\0'; | ^~~ AGObj.c:45:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 45 | for(p=format; *p!='\"'; p++); *p='\0'; | ^ AGObj.c:56:55: warning: 'MEM[(struct _AGLink *)new_32 + 40B].type' may be used uninitialized [-Wmaybe-uninitialized] 56 | new->fgpen = LinkColor[ (int)new->link->type ]; | ~~~~~~~~~^~~~~~ AGObj.c: In function 'NewIndent': AGObj.c:67:19: warning: array subscript 'struct _AGWord[0]' is partly outside array bounds of 'unsigned char[34]' [-Warray-bounds] 67 | PREV(new) = ins; AGObj.c:182:36: note: referencing an object of size 34 allocated by 'malloc' 182 | if( NULL != (new = (AGObj) malloc(sizeof(*new) + mem))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ AGObj.c:68:19: warning: array subscript 'struct _AGWord[0]' is partly outside array bounds of 'unsigned char[34]' [-Warray-bounds] 68 | NEXT(new) = NULL; AGObj.c:182:36: note: referencing an object of size 34 allocated by 'malloc' 182 | if( NULL != (new = (AGObj) malloc(sizeof(*new) + mem))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ AGObj.c: In function 'NewResetPara': AGObj.c:67:19: warning: array subscript 'struct _AGWord[0]' is partly outside array bounds of 'unsigned char[35]' [-Warray-bounds] 67 | PREV(new) = ins; AGObj.c:182:36: note: referencing an object of size 35 allocated by 'malloc' 182 | if( NULL != (new = (AGObj) malloc(sizeof(*new) + mem))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ AGObj.c:68:19: warning: array subscript 'struct _AGWord[0]' is partly outside array bounds of 'unsigned char[35]' [-Warray-bounds] 68 | NEXT(new) = NULL; AGObj.c:182:36: note: referencing an object of size 35 allocated by 'malloc' 182 | if( NULL != (new = (AGObj) malloc(sizeof(*new) + mem))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc Input.c -c -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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' Input.c: In function 'Prompt': Input.c:26:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 26 | if(str == NULL) str = node->name; plen = strlen(str); | ^~ Input.c:26:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 26 | if(str == NULL) str = node->name; plen = strlen(str); | ^~~~ Input.c: In function 'ThrowError': Input.c:86:13: warning: variable 'i' set but not used [-Wunused-but-set-variable] 86 | int i; /* silence warnings */ | ^ Input.c: In function 'ProcessKeys': Input.c:247:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 247 | else HistoryBack( &terminfo ); break; | ^~~~ Input.c:247:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 247 | else HistoryBack( &terminfo ); break; | ^~~~~ make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc AG_lib.c -c -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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' AG_lib.c: In function 'GetAGString': AG_lib.c:68:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 68 | while(*src!='\n') *src++ = '\0'; *src=0; | ^~~~~ AG_lib.c:68:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 68 | while(*src!='\n') *src++ = '\0'; *src=0; | ^ AG_lib.c: In function 'FindNodeNames': AG_lib.c:87:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 87 | if(*src=='\"') eos='\"',src++; node->name=src; | ^~ AG_lib.c:87:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 87 | if(*src=='\"') eos='\"',src++; node->name=src; | ^~~~ AG_lib.c: In function 'CreateAGNodes': AG_lib.c:234:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 234 | if( lst==NULL ) *p='\0'; break; | ^~ AG_lib.c:234:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 234 | if( lst==NULL ) *p='\0'; break; | ^~~~~ AG_lib.c:237:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 237 | else wrap = WRAP_LINE; break; | ^~~~ AG_lib.c:237:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 237 | else wrap = WRAP_LINE; break; | ^~~~~ AG_lib.c:240:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 240 | else wrap = WRAP_SMART; break; | ^~~~ AG_lib.c:240:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 240 | else wrap = WRAP_SMART; break; | ^~~~~ AG_lib.c: In function 'CreateAGWords': AG_lib.c:423:25: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 423 | while(*buf != '}') buf++; *buf='\0'; p = buf+1; | ^~~~~ AG_lib.c:423:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 423 | while(*buf != '}') buf++; *buf='\0'; p = buf+1; | ^ AG_lib.c: In function 'RenderLine': AG_lib.c:612:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 612 | if (i >= start) goto big_break; cp++; | ^~ AG_lib.c:612:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 612 | if (i >= start) goto big_break; cp++; | ^~ AG_lib.c:652:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 652 | if(!cp) cp=word->data; for(; idata; for(; i buffer) fputs(p = buffer,stdout); printf(""); | ^~ AG_lib.c:665:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 665 | if(p > buffer) fputs(p = buffer,stdout); printf(""); | ^~~~~~ make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc Navigate.c -c -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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' Navigate.c: In function 'ToEnv': Navigate.c:180:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 180 | for(p=dest; *src && *src!=eos; *p++ = toupper(*src),src++); *p='\0'; | ^~~ Navigate.c:180:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 180 | for(p=dest; *src && *src!=eos; *p++ = toupper(*src),src++); *p='\0'; | ^ make: Entering directory '/builddir/build/BUILD/AGReader/Sources' gcc Text.c -c -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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -O2 make: Leaving directory '/builddir/build/BUILD/AGReader/Sources' make: Entering directory '/builddir/build/BUILD/AGReader/Sources' 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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wNVm1X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x ++ dirname /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x + cd AGReader + rm -rf /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x + mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/bin + mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/man/man1 + install -m0644 /builddir/build/SOURCES/agr.1 /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/man/man1 + install -m0755 Sources/agr /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.2-27.fc34 --unique-debug-suffix -1.2-27.fc34.s390x --unique-debug-src-base AGReader-1.2-27.fc34.s390x --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-27.fc34.s390x/usr/bin/agr extracting debug info from /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/bin/agr original debug info size: 140kB, size after compression: 128kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 159 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: AGReader-1.2-27.fc34.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jhAqlE + umask 022 + cd /builddir/build/BUILD + cd AGReader + DOCDIR=/builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/doc/AGReader + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/doc/AGReader + cp -pr Docs/agr.guide /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/doc/AGReader + cp -pr Docs/test.guide /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/doc/AGReader + cp -pr Docs/agr.html /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/doc/AGReader + cp -pr README /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x/usr/share/doc/AGReader + RPM_EC=0 ++ jobs -p + exit 0 Provides: AGReader = 1.2-27.fc34 AGReader(s390-64) = 1.2-27.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: AGReader-debugsource-1.2-27.fc34.s390x Provides: AGReader-debugsource = 1.2-27.fc34 AGReader-debugsource(s390-64) = 1.2-27.fc34 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-27.fc34.s390x Provides: AGReader-debuginfo = 1.2-27.fc34 AGReader-debuginfo(s390-64) = 1.2-27.fc34 debuginfo(build-id) = 745147e7466f0ae65cb19256baeb92028db6a81f Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: AGReader-debugsource(s390-64) = 1.2-27.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x Wrote: /builddir/build/RPMS/AGReader-debuginfo-1.2-27.fc34.s390x.rpm Wrote: /builddir/build/RPMS/AGReader-1.2-27.fc34.s390x.rpm Wrote: /builddir/build/RPMS/AGReader-debugsource-1.2-27.fc34.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4e4EzC + umask 022 + cd /builddir/build/BUILD + cd AGReader + /usr/bin/rm -rf /builddir/build/BUILDROOT/AGReader-1.2-27.fc34.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0