Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/a2undoit.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1690712793.950142/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.84sytz_2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.84sytz_2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '337d559fd71b473a8fca41588ddcd4e7', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1690712793.950142/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.84sytz_2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'SYSTEMD_SECCOMP': '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/rhel+epel-8-x86_64-1690712793.950142/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.84sytz_2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.84sytz_2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '411ee6cd390f4b518492c0a1ec31fc7a', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1690712793.950142/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.84sytz_2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xeBDD2 + 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.smtJj5 + 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 -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 unblu unblu.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 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.tkOGPt + 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/bin/python3.6 + /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.3SefpJ + 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) = 631b061320f1f3423b986741c841fc2abbee72ff debuginfo(build-id) = 7903f334ddc4caacfffdc9b1f7fcea4b958446a0 debuginfo(build-id) = 867aabf5fd481a771487fa427bc58b733a40ede8 debuginfo(build-id) = 881ca027a3dd340f03becabd9ae4f15bc1052ce4 debuginfo(build-id) = f878d0c4d25665460f4dcb26035dc83ea059ff6d 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.WIsXbo + 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