Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpmreaper.spec'], chrootPath='/var/lib/mock/1237570-centos-stream-x86_64-1581522870.579997/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bqhhcfl:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bqhhcfl:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '816943cdc1ce4a88958d246dbf2c85c9', '-D', '/var/lib/mock/1237570-centos-stream-x86_64-1581522870.579997/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bqhhcfl:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpmreaper.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpmreaper-0.2.0-21.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/rpmreaper.spec'], chrootPath='/var/lib/mock/1237570-centos-stream-x86_64-1581522870.579997/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bqhhcfl:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bqhhcfl:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '38c835954eb246dd90293723daf18a8c', '-D', '/var/lib/mock/1237570-centos-stream-x86_64-1581522870.579997/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1bqhhcfl:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpmreaper.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.srph9B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmreaper-0.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpmreaper-0.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmreaper-0.2.0 Patch #1 (rpmreaper-provfilename.patch): + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rpmreaper-provfilename.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .provfilename --fuzz=0 patching file rpm.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.crjQm1 + umask 022 + cd /builddir/build/BUILD + cd rpmreaper-0.2.0 + make -j2 'EXTRA_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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -c -o repo.o repo.c cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -c -o pkg.o pkg.c cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -c -o tui.o tui.c cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -c -o rpm.o rpm.c rpm.c: In function 'rpm_pkg_info': rpm.c:206:20: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const signed char const idx[] = { 0, -2, 1, -1, 2, -2, 1, -1, 3, -3 }; ^~~~~ cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -c -o misc.o misc.c cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -c -o dep.o dep.c cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 rpmreaper repo.o pkg.o tui.o rpm.o misc.o dep.o -lrpm -lrpmio -lncurses -ltinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yfu58w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64 + cd rpmreaper-0.2.0 + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr exec_prefix=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr bindir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/bin sbindir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/etc datadir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share includedir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/include libdir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/libexec localstatedir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/var sharedstatedir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/var/lib mandir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/man infodir=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/info install mkdir -p /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/bin /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/man/man1 install rpmreaper /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/bin install -p -m 644 rpmreaper.1 /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.2.0-21.el8 --unique-debug-suffix -0.2.0-21.el8.x86_64 --unique-debug-src-base rpmreaper-0.2.0-21.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rpmreaper-0.2.0 extracting debug info from /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/bin/rpmreaper /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 187 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: rpmreaper-0.2.0-21.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SzI824 + umask 022 + cd /builddir/build/BUILD + cd rpmreaper-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/doc/rpmreaper + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/doc/rpmreaper + cp -pr COPYING /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/doc/rpmreaper + cp -pr NEWS /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/doc/rpmreaper + cp -pr README /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64/usr/share/doc/rpmreaper + exit 0 Provides: rpmreaper = 0.2.0-21.el8 rpmreaper(x86-64) = 0.2.0-21.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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncurses.so.6()(64bit) librpm.so.8()(64bit) librpmio.so.8()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: rpmreaper-debugsource-0.2.0-21.el8.x86_64 Provides: rpmreaper-debugsource = 0.2.0-21.el8 rpmreaper-debugsource(x86-64) = 0.2.0-21.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rpmreaper-debuginfo-0.2.0-21.el8.x86_64 Provides: debuginfo(build-id) = 345309c0a5a8b36700331f80c8ededb0d37607c9 rpmreaper-debuginfo = 0.2.0-21.el8 rpmreaper-debuginfo(x86-64) = 0.2.0-21.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rpmreaper-debugsource(x86-64) = 0.2.0-21.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64 Wrote: /builddir/build/RPMS/rpmreaper-0.2.0-21.el8.x86_64.rpm Wrote: /builddir/build/RPMS/rpmreaper-debugsource-0.2.0-21.el8.x86_64.rpm Wrote: /builddir/build/RPMS/rpmreaper-debuginfo-0.2.0-21.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.K3i01D + umask 022 + cd /builddir/build/BUILD + cd rpmreaper-0.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpmreaper-0.2.0-21.el8.x86_64 + exit 0 Child return code was: 0