Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/glusterfs-selinux.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1636668420.295531/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.h12p_g15:/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.h12p_g15:/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', '07c575e2508f4730b8f093cc07ccd5de', '-D', '/var/lib/mock/epel-8-x86_64-1636668420.295531/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h12p_g15:/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/glusterfs-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 Wrote: /builddir/build/SRPMS/glusterfs-selinux-2.0.1-1.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/glusterfs-selinux.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1636668420.295531/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.h12p_g15:/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.h12p_g15:/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', 'fc227d0f24614b4b8a44c8d1dbdf3c42', '-D', '/var/lib/mock/epel-8-x86_64-1636668420.295531/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h12p_g15:/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/glusterfs-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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CMmjev + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glusterfs-selinux-2.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/glusterfs-selinux-2.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd glusterfs-selinux-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jxjH0t + umask 022 + cd /builddir/build/BUILD + cd glusterfs-selinux-2.0.1 + make -j2 make -f /usr/share/selinux/devel/Makefile glusterd.pp make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/glusterfs-selinux-2.0.1' glusterd.if:15: Error: duplicate definition of glusterd_domtrans(). Original definition on 15. glusterd.if:35: Error: duplicate definition of glusterd_initrc_domtrans(). Original definition on 35. glusterd.if:54: Error: duplicate definition of glusterd_read_log(). Original definition on 72. glusterd.if:73: Error: duplicate definition of glusterd_append_log(). Original definition on 91. glusterd.if:92: Error: duplicate definition of glusterd_filetrans_named_pid(). Original definition on 110. glusterd.if:109: Error: duplicate definition of glusterd_manage_pid(). Original definition on 127. glusterd.if:129: Error: duplicate definition of glusterd_manage_log(). Original definition on 147. glusterd.if:150: Error: duplicate definition of gluster_execute_lib(). Original definition on 168. glusterd.if:170: Error: duplicate definition of glusterd_read_conf(). Original definition on 188. glusterd.if:189: Error: duplicate definition of glusterd_dontaudit_read_lib_dirs(). Original definition on 207. glusterd.if:207: Error: duplicate definition of glusterd_rw_lib(). Original definition on 225. glusterd.if:226: Error: duplicate definition of glusterd_read_lib_files(). Original definition on 244. glusterd.if:246: Error: duplicate definition of glusterd_manage_lib_files(). Original definition on 264. glusterd.if:273: Error: duplicate definition of glusterd_admin(). Original definition on 291. Compiling targeted glusterd module Creating targeted glusterd.pp policy package rm tmp/glusterd.mod tmp/glusterd.mod.fc make[1]: Leaving directory '/builddir/build/BUILD/glusterfs-selinux-2.0.1' Compressing glusterd.pp -> glusterd.pp.bz2 bzip2 -9 glusterd.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5pMsTu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64 + cd glusterfs-selinux-2.0.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64 'INSTALL=/usr/bin/install -p' install -D -m 644 glusterd.pp.bz2 /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64/usr/share/selinux/packages/targeted/glusterd.pp.bz2 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.1-1.el8 --unique-debug-suffix -2.0.1-1.el8.x86_64 --unique-debug-src-base glusterfs-selinux-2.0.1-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/glusterfs-selinux-2.0.1 + /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: glusterfs-selinux-2.0.1-1.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cdeLzt + umask 022 + cd /builddir/build/BUILD + cd glusterfs-selinux-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64/usr/share/licenses/glusterfs-selinux + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64/usr/share/licenses/glusterfs-selinux + cp -pr COPYING /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64/usr/share/licenses/glusterfs-selinux + exit 0 Provides: glusterfs-selinux = 2.0.1-1.el8 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 policycoreutils-python-utils selinux-policy-base >= 3.14.3-67.el8_4.2 selinux-policy-targeted Requires(postun): /bin/sh Requires(posttrans): /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64 Wrote: /builddir/build/RPMS/glusterfs-selinux-2.0.1-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A4jjJu + umask 022 + cd /builddir/build/BUILD + cd glusterfs-selinux-2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/glusterfs-selinux-2.0.1-1.el8.x86_64 + exit 0 Child return code was: 0