Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openrazer-kmod.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1673370290.455037/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.oaeetpc9:/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.oaeetpc9:/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', '8f6e08e1d104473d9baaad853aa7308c', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1673370290.455037/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oaeetpc9:/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/openrazer-kmod.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 setting SOURCE_DATE_EPOCH=1673308800 Wrote: /builddir/build/SRPMS/openrazer-kmod-3.5.1-1.el9.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/openrazer-kmod.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1673370290.455037/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.oaeetpc9:/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.oaeetpc9:/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', '75ec9d57944d425bb47744d7bc1a96e7', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1673370290.455037/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oaeetpc9:/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/openrazer-kmod.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 setting SOURCE_DATE_EPOCH=1673308800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G3BTKl + umask 022 + cd /builddir/build/BUILD + kmodtool --target x86_64 --repo '%{repo}' --kmodname openrazer-kmod --akmod %{?rhel:%global with_rhel_kabi 1} %if 0%{?rhel} || 0%{?fedora} %global kmod_pkg_name kmod-openrazer %global pkg_kmod_name openrazer-kmod %{?obsolete_name:%global kmod_obsolete_name kmod-%{obsolete_name}} %endif %global akmod_install mkdir -p $RPM_BUILD_ROOT/%{_usrsrc}/akmods/; \rpmbuild --define "_sourcedir %{_sourcedir}" \--define "_srcrpmdir $RPM_BUILD_ROOT/%{_usrsrc}/akmods/" \%{?dist:--define 'dist %{dist}}' \-bs --nodeps %{_specdir}/%{name}.spec ; \ln -s $(ls $RPM_BUILD_ROOT/%{_usrsrc}/akmods/) $RPM_BUILD_ROOT/%{_usrsrc}/akmods/%{pkg_kmod_name}.latest %package -n akmod-openrazer Summary: Akmod package for openrazer kernel module(s) Requires: kmodtool Requires: akmods %{?AkmodsBuildRequires:Requires: %{AkmodsBuildRequires}} # same requires and provides as a kmods package would have Requires: %{pkg_kmod_name}-common >= %{?epoch:%{epoch}:}%{version} Provides: %{pkg_kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release} %description -n akmod-openrazer This package provides the akmod package for the openrazer kernel modules. %posttrans -n akmod-openrazer nohup /usr/sbin/akmods --from-akmod-posttrans --akmod openrazer &> /dev/null & %post -n akmod-openrazer [ -x /usr/sbin/akmods-ostree-post ] && /usr/sbin/akmods-ostree-post openrazer %{_usrsrc}/akmods/%{pkg_kmod_name}-%{version}-%{release}.src.rpm %files -n akmod-openrazer %defattr(-,root,root,-) %{_usrsrc}/akmods/* %package -n %{kmod_pkg_name} Summary: Metapackage which tracks in openrazer kernel module for newest kernel Provides: %{pkg_kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release} Provides: %{kmod_pkg_name}-xen = %{?epoch:%{epoch}:}%{version}-%{release} Provides: %{kmod_pkg_name}-smp = %{?epoch:%{epoch}:}%{version}-%{release} Provides: %{kmod_pkg_name}-PAE = %{?epoch:%{epoch}:}%{version}-%{release} Requires: akmod-openrazer = %{?epoch:%{epoch}:}%{version}-%{release} %description -n %{kmod_pkg_name} This is a meta-package without payload which sole purpose is to require the openrazer kernel module(s) for the newest kernel, to make sure you get it together with a new kernel. %files -n %{kmod_pkg_name} %defattr(644,root,root,755) + cd /builddir/build/BUILD + rm -rf openrazer-kmod-3.5.1 + /usr/bin/mkdir -p openrazer-kmod-3.5.1 + cd openrazer-kmod-3.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v3.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sZPC2q + umask 022 + cd /builddir/build/BUILD + cd openrazer-kmod-3.5.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.68FQCY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64 + cd openrazer-kmod-3.5.1 + mkdir -p /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64/usr/lib/udev/rules.d + install -Dm 755 openrazer-3.5.1/install_files/udev/razer_mount /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64/usr/lib/udev + install -Dm 644 openrazer-3.5.1/install_files/udev/99-razer.rules /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64/usr/lib/udev/rules.d + mkdir -p /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64//usr/src/akmods/ + rpmbuild --define '_sourcedir /builddir/build/SOURCES' --define '_srcrpmdir /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64//usr/src/akmods/' --define 'dist .el9' -bs --nodeps /builddir/build/SPECS/openrazer-kmod.spec Wrote: /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64/usr/src/akmods/openrazer-kmod-3.5.1-1.el9.src.rpm ++ ls /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64//usr/src/akmods/ + ln -s openrazer-kmod-3.5.1-1.el9.src.rpm /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64//usr/src/akmods/openrazer-kmod.latest + /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 mangling shebang in /usr/lib/udev/razer_mount from /bin/sh to #!/usr/bin/sh Processing files: akmod-openrazer-3.5.1-1.el9.x86_64 Provides: akmod-openrazer = 3.5.1-1.el9 akmod-openrazer(x86-64) = 3.5.1-1.el9 openrazer-kmod = 3.5.1-1.el9 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(posttrans): /bin/sh Processing files: kmod-openrazer-3.5.1-1.el9.x86_64 Processing files: openrazer-kmod-common-3.5.1-1.el9.x86_64 Provides: openrazer-kernel-modules-dkms openrazer-kmod-common = 3.5.1-1.el9 openrazer-kmod-common(x86-64) = 3.5.1-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Conflicts: openrazer-meta Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64 Wrote: /builddir/build/RPMS/openrazer-kmod-common-3.5.1-1.el9.x86_64.rpm Wrote: /builddir/build/RPMS/akmod-openrazer-3.5.1-1.el9.x86_64.rpm Wrote: /builddir/build/RPMS/kmod-openrazer-3.5.1-1.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2mGjMP + umask 022 + cd /builddir/build/BUILD + cd openrazer-kmod-3.5.1 + rm -rf /builddir/build/BUILDROOT/openrazer-kmod-3.5.1-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0