Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1615768787.695510/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.yw3vkurp:/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.yw3vkurp:/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', '38d1930491754c9eb19f30badb44b4b9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1615768787.695510/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yw3vkurp:/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/container-selinux.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 warning: line 36: Possible unexpanded macro in: BuildRequires: selinux-policy >= %_selinux_policy_version warning: line 37: Possible unexpanded macro in: BuildRequires: selinux-policy-devel >= %_selinux_policy_version warning: line 39: Possible unexpanded macro in: Requires: selinux-policy >= %_selinux_policy_version warning: line 40: Possible unexpanded macro in: Requires(post): selinux-policy-base >= %_selinux_policy_version Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1613520000 Wrote: /builddir/build/SRPMS/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.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/container-selinux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1615768787.695510/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.yw3vkurp:/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.yw3vkurp:/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', '1e5db513a213473ca6385199aa237acd', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1615768787.695510/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yw3vkurp:/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/container-selinux.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 setting SOURCE_DATE_EPOCH=1613520000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XL2Fwb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d + /usr/bin/gzip -dc /builddir/build/SOURCES/container-selinux-e78ac4f.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'container-selinux-2.158.0 base' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9AHcGq + umask 022 + cd /builddir/build/BUILD + cd container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory '/builddir/build/BUILD/container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d' container.if:13: Error: duplicate definition of container_runtime_domtrans(). Original definition on 13. container.if:40: Error: duplicate definition of container_runtime_run(). Original definition on 40. container.if:61: Error: duplicate definition of container_runtime_exec(). Original definition on 61. container.if:80: Error: duplicate definition of container_read_state(). Original definition on 80. container.if:98: Error: duplicate definition of container_search_lib(). Original definition on 98. container.if:117: Error: duplicate definition of container_exec_lib(). Original definition on 117. container.if:136: Error: duplicate definition of container_read_lib_files(). Original definition on 136. container.if:155: Error: duplicate definition of container_read_share_files(). Original definition on 155. container.if:176: Error: duplicate definition of container_runtime_read_tmpfs_files(). Original definition on 176. container.if:197: Error: duplicate definition of container_manage_share_files(). Original definition on 197. container.if:218: Error: duplicate definition of container_manage_share_dirs(). Original definition on 218. container.if:238: Error: duplicate definition of container_exec_share_files(). Original definition on 238. container.if:256: Error: duplicate definition of container_manage_config_files(). Original definition on 256. container.if:275: Error: duplicate definition of container_manage_lib_files(). Original definition on 275. container.if:295: Error: duplicate definition of container_manage_files(). Original definition on 295. container.if:314: Error: duplicate definition of container_manage_dirs(). Original definition on 314. container.if:332: Error: duplicate definition of container_manage_lib_dirs(). Original definition on 332. container.if:368: Error: duplicate definition of container_lib_filetrans(). Original definition on 368. container.if:386: Error: duplicate definition of container_read_pid_files(). Original definition on 386. container.if:405: Error: duplicate definition of container_systemctl(). Original definition on 405. container.if:430: Error: duplicate definition of container_rw_sem(). Original definition on 430. container.if:449: Error: duplicate definition of container_append_file(). Original definition on 449. container.if:467: Error: duplicate definition of container_use_ptys(). Original definition on 467. container.if:485: Error: duplicate definition of container_filetrans_named_content(). Original definition on 485. container.if:549: Error: duplicate definition of container_stream_connect(). Original definition on 549. container.if:570: Error: duplicate definition of container_spc_stream_connect(). Original definition on 570. container.if:591: Error: duplicate definition of container_admin(). Original definition on 591. container.if:638: Error: duplicate definition of container_auth_domtrans(). Original definition on 638. container.if:657: Error: duplicate definition of container_auth_exec(). Original definition on 657. container.if:676: Error: duplicate definition of container_auth_stream_connect(). Original definition on 676. container.if:695: Error: duplicate definition of container_runtime_typebounds(). Original definition on 695. container.if:714: Error: duplicate definition of container_runtime_entrypoint(). Original definition on 714. container.if:721: Error: duplicate definition of docker_exec_lib(). Original definition on 721. container.if:725: Error: duplicate definition of docker_read_share_files(). Original definition on 725. container.if:729: Error: duplicate definition of docker_exec_share_files(). Original definition on 729. container.if:733: Error: duplicate definition of docker_manage_lib_files(). Original definition on 733. container.if:738: Error: duplicate definition of docker_manage_lib_dirs(). Original definition on 738. container.if:742: Error: duplicate definition of docker_lib_filetrans(). Original definition on 742. container.if:746: Error: duplicate definition of docker_read_pid_files(). Original definition on 746. container.if:750: Error: duplicate definition of docker_systemctl(). Original definition on 750. container.if:754: Error: duplicate definition of docker_use_ptys(). Original definition on 754. container.if:758: Error: duplicate definition of docker_stream_connect(). Original definition on 758. container.if:762: Error: duplicate definition of docker_spc_stream_connect(). Original definition on 762. container.if:776: Error: duplicate definition of container_spc_read_state(). Original definition on 776. container.if:795: Error: duplicate definition of container_runtime_domain_template(). Original definition on 795. container.if:833: Error: duplicate definition of container_domain_template(). Original definition on 833. container.if:861: Error: duplicate definition of container_spc_rw_pipes(). Original definition on 861. Compiling targeted container module container.te:456: Warning: systemd_dbus_chat_resolved(container_runtime_domain) has been deprecated, use systemd_chat_resolved() instead. Creating targeted container.pp policy package rm tmp/container.mod tmp/container.mod.fc make[1]: Leaving directory '/builddir/build/BUILD/container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d' Compressing container.pp -> container.pp.bz2 bzip2 -9 container.pp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sYDewZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64 ++ dirname /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64 + cd container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d + export MODULES= + MODULES= + for x in container + MODULES+=container.pp.bz2 + MODULES+=' ' + install -d /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64/usr/share/selinux/packages + install -d /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64//usr/share/containers/selinux + install -m 644 container_contexts /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64//usr/share/containers/selinux/contexts + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.aDUYkd + umask 022 + cd /builddir/build/BUILD + cd container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d + RPM_EC=0 ++ jobs -p + exit 0 Processing files: container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h4diRk + umask 022 + cd /builddir/build/BUILD + cd container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64/usr/share/doc/container-selinux + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64/usr/share/doc/container-selinux + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64/usr/share/doc/container-selinux + RPM_EC=0 ++ jobs -p + exit 0 Provides: container-selinux = 2:2.158.0-5.dev.gite78ac4f.fc35.200 docker-selinux = 2:2.158.0-5.dev.gite78ac4f.fc35.200 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh libselinux-utils policycoreutils sed selinux-policy-base >= 3.14.8-6.fc35 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Obsoletes: container-selinux <= 2:1.12.5-13 docker-selinux <= 2:1.12.4-28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64 Wrote: /builddir/build/RPMS/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hkRLb5 + umask 022 + cd /builddir/build/BUILD + cd container-selinux-e78ac4f5b982112a1f018fb5964c3a8b27f0b65d + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.158.0-5.dev.gite78ac4f.fc35.200.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0