Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/a2undoit.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1604392262.329147/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_a40zln:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_a40zln:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f87f1f10423749c7bb7d8649f1dec38a', '-D', '/var/lib/mock/epel-8-x86_64-1604392262.329147/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_a40zln:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/a2undoit.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/a2undoit-0.1-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/a2undoit.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1604392262.329147/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_a40zln:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_a40zln:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5358281bb24243b9948953b1c8ae660d', '-D', '/var/lib/mock/epel-8-x86_64-1604392262.329147/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_a40zln:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/a2undoit.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.plp1BO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf a2undoit-0.1 + /usr/bin/mkdir -p a2undoit-0.1 + cd a2undoit-0.1 + /usr/bin/unzip -qq /builddir/build/SOURCES/undoit.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/undoit-fedora.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W6k7BZ + umask 022 + cd /builddir/build/BUILD + cd a2undoit-0.1 + /usr/bin/make -O -j2 gcc -s -g -c -o usq.o usq.c usq.c: In function 'unsqueeze': usq.c:132:37: warning: comparison between pointer and integer while ((fname[i++] = getc(sfp)) != NULL) ^~ gcc -s -g -c -o unblu.o unblu.c unblu.c: In function 'main': unblu.c:89:20: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ((flag = getopt(argc, argv, "vh")) != EOF) { /* Process options */ ^~~~~~ getsubopt unblu.c:115:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(bfd); ^~~~~ pclose unblu.c: In function 'unblu': unblu.c:135:30: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while (tofollow && ((n = read(fd, buf, BUFSIZE)) != -1)) { ^~~~ fread unblu.c: In function 'process_file': unblu.c:225:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] lseek(fd, BUFSIZE*nblocks, 1); /* Seek to next file */ ^~~~~ fseek unblu.c: In function 'extract_file': unblu.c:263:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(ofd, buf, (filelen >= BUFSIZE ? BUFSIZE : filelen)); ^~~~~ fwrite unblu.c: At top level: unblu.c:295:1: warning: return type defaults to 'int' [-Wimplicit-int] want(name, wantlist) ^~~~ unblu.c: In function 'want': unblu.c:300:39: warning: comparison between pointer and integer if (strcmp(name, *wantlist++) == NULL) ^~ gcc -s -g -c -o unexec.o unexec.c unexec.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ unexec.c: In function 'main': unexec.c:62:5: warning: implicit declaration of function 'unexec'; did you mean 'ungetc'? [-Wimplicit-function-declaration] unexec(fp); ^~~~~~ ungetc unexec.c: At top level: unexec.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] unexec(fp) ^~~~~~ unexec.c: In function 'unexec': unexec.c:87:3: warning: implicit declaration of function 'skipblank'; did you mean 'isblank'? [-Wimplicit-function-declaration] skipblank(); ^~~~~~~~~ isblank unexec.c: At top level: unexec.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] skipblank() ^~~~~~~~~ gcc -s -g -c -o unbit.o unbit.c unbit.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ unbit.c: In function 'main': unbit.c:40:2: warning: implicit declaration of function 'unbit'; did you mean 'unix'? [-Wimplicit-function-declaration] unbit(stdin); ^~~~~ unix unbit.c: At top level: unbit.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] unbit(fp) ^~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o usq usq.o 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o unblu unblu.o gcc -s -g -c -o sciibin.o sciibin.c sciibin.c:277:6: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ sciibin.c: In function 'main': sciibin.c:289:18: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ((flag = getopt(argc, argv, "hvcto:")) != EOF) { /* Process options */ ^~~~~~ getsubopt sciibin.c: At top level: sciibin.c:338:1: warning: return type defaults to 'int' [-Wimplicit-int] sciibin(fp) ^~~~~~~ sciibin.c:369:1: warning: return type defaults to 'int' [-Wimplicit-int] getheader(fp) ^~~~~~~~~ sciibin.c:523:1: warning: return type defaults to 'int' [-Wimplicit-int] decode(fp) ^~~~~~ sciibin.c:585:1: warning: return type defaults to 'int' [-Wimplicit-int] decodestring(in, out) ^~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o unexec unexec.o 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o unbit unbit.o 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o sciibin sciibin.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IJcZdb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64 + cd a2undoit-0.1 + install -D -m 0755 unbit /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/unbit + install -D -m 0755 unexec /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/unexec + install -D -m 0755 unblu /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/unblu + install -D -m 0755 usq /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/usq + install -D -m 0755 sciibin /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/sciibin + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.1-2.el8 --unique-debug-suffix -0.1-2.el8.x86_64 --unique-debug-src-base a2undoit-0.1-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/a2undoit-0.1 extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/unbit extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/sciibin extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/unblu extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/unexec extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/bin/usq /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 98 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: a2undoit-0.1-2.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TFLWTo + umask 022 + cd /builddir/build/BUILD + cd a2undoit-0.1 + DOCDIR=/builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/share/doc/a2undoit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/share/doc/a2undoit + cp -pr README /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64/usr/share/doc/a2undoit + exit 0 Provides: a2undoit = 0.1-2.el8 a2undoit(x86-64) = 0.1-2.el8 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.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) rtld(GNU_HASH) Processing files: a2undoit-debugsource-0.1-2.el8.x86_64 Provides: a2undoit-debugsource = 0.1-2.el8 a2undoit-debugsource(x86-64) = 0.1-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: a2undoit-debuginfo-0.1-2.el8.x86_64 Provides: a2undoit-debuginfo = 0.1-2.el8 a2undoit-debuginfo(x86-64) = 0.1-2.el8 debuginfo(build-id) = 3997076de7e2bcf234141b1dabd34b2884e39e8c debuginfo(build-id) = 5337cec1459b78937373f74fae5d84214d1c6245 debuginfo(build-id) = 6be4813f741f08109d0679b6c095b352a5a4cecb debuginfo(build-id) = a6f4b7ebfd8f2ddbb96595da7f2ff805d9d57499 debuginfo(build-id) = de046eb404bf20c6efa0f640dd3c551150b053d7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: a2undoit-debugsource(x86-64) = 0.1-2.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64 Wrote: /builddir/build/RPMS/a2undoit-0.1-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/a2undoit-debugsource-0.1-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/a2undoit-debuginfo-0.1-2.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xGX5XC + umask 022 + cd /builddir/build/BUILD + cd a2undoit-0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.x86_64 + exit 0 Child return code was: 0