Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/a2undoit.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1643626162.682657/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.42rz4bkg:/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.42rz4bkg:/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', 'e32274a87d644c309e6ddf3264f212e8', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1643626162.682657/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.42rz4bkg:/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/a2undoit.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1643626162.682657/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.42rz4bkg:/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.42rz4bkg:/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', '6db64c4ecbdc4a17a22a9e64e59a7de0', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1643626162.682657/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.42rz4bkg:/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a0Plot + 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.bwqi2w + umask 022 + cd /builddir/build/BUILD + cd a2undoit-0.1 + /usr/bin/make -O -j4 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 -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 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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -o sciibin sciibin.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zIe3xw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64 + cd a2undoit-0.1 + install -D -m 0755 unbit /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/unbit + install -D -m 0755 unexec /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/unexec + install -D -m 0755 unblu /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/unblu + install -D -m 0755 usq /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/usq + install -D -m 0755 sciibin /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/sciibin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.1-2.el8 --unique-debug-suffix -0.1-2.el8.aarch64 --unique-debug-src-base a2undoit-0.1-2.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/a2undoit-0.1 extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/sciibin extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/unbit extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/unblu extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/bin/unexec extracting debug info from /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/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.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y3UVDw + umask 022 + cd /builddir/build/BUILD + cd a2undoit-0.1 + DOCDIR=/builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/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.aarch64/usr/share/doc/a2undoit + cp -pr README /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64/usr/share/doc/a2undoit + exit 0 Provides: a2undoit = 0.1-2.el8 a2undoit(aarch-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.17)(64bit) rtld(GNU_HASH) Processing files: a2undoit-debugsource-0.1-2.el8.aarch64 Provides: a2undoit-debugsource = 0.1-2.el8 a2undoit-debugsource(aarch-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.aarch64 Provides: a2undoit-debuginfo = 0.1-2.el8 a2undoit-debuginfo(aarch-64) = 0.1-2.el8 debuginfo(build-id) = 23436163f6fec713c2d34321535bc10ba80b9732 debuginfo(build-id) = 78353a8d16674f7f15ccbbca1ce8416096485394 debuginfo(build-id) = 7e1bb391d805635b632bbcc6862cc308bb97bd2a debuginfo(build-id) = b06234119f05d5f4fb3bca5b60642281c15fac27 debuginfo(build-id) = fe89ca9988572f4a6a345d8ad8241a0760c3a26c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: a2undoit-debugsource(aarch-64) = 0.1-2.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64 Wrote: /builddir/build/RPMS/a2undoit-0.1-2.el8.aarch64.rpm Wrote: /builddir/build/RPMS/a2undoit-debugsource-0.1-2.el8.aarch64.rpm Wrote: /builddir/build/RPMS/a2undoit-debuginfo-0.1-2.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JCl8av + umask 022 + cd /builddir/build/BUILD + cd a2undoit-0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/a2undoit-0.1-2.el8.aarch64 + exit 0 Child return code was: 0