Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/VirtualBox-kmod.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1681859995.833410/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.2oawvuac:/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.2oawvuac:/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', '812acdec46674a7191f458a462632c9d', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1681859995.833410/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oawvuac:/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/VirtualBox-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 Wrote: /builddir/build/SRPMS/VirtualBox-kmod-7.0.8-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/VirtualBox-kmod.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1681859995.833410/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.2oawvuac:/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.2oawvuac:/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', '9284afe73e9540b1a3a7e1e03be26127', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1681859995.833410/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2oawvuac:/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/VirtualBox-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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Op86y6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf VirtualBox-kmod-7.0.8 + /usr/bin/mkdir -p VirtualBox-kmod-7.0.8 + cd VirtualBox-kmod-7.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar --use-compress-program xz -xf /usr/share/VirtualBox-kmod-7.0.8/VirtualBox-kmod-7.0.8.tar.xz + pushd VirtualBox-kmod-7.0.8 + echo 'Patch #1 (fix_7.0.6_locking_problems.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 ~/build/BUILD/VirtualBox-kmod-7.0.8/VirtualBox-kmod-7.0.8 ~/build/BUILD/VirtualBox-kmod-7.0.8 Patch #1 (fix_7.0.6_locking_problems.patch): patching file vboxdrv/SUPDrv.c patching file vboxdrv/SUPDrvGip.c Patch #2 (fixes_for_cs8.8.patch): + echo 'Patch #2 (fixes_for_cs8.8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vboxvideo/vbox_ttm.c patching file vboxvideo/vbox_mode.c patching file vboxvideo/vbox_drv.h + popd ~/build/BUILD/VirtualBox-kmod-7.0.8 + kmodtool --target x86_64 --repo rpmfusion --kmodname VirtualBox-kmod --filterfile /builddir/build/SOURCES/excludekernel-filter.txt %{?rhel:%global with_rhel_kabi 1} %if 0%{?rhel} || 0%{?fedora} %global kmod_pkg_name kmod-VirtualBox %global pkg_kmod_name VirtualBox-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-VirtualBox Summary: Akmod package for VirtualBox 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-VirtualBox This package provides the akmod package for the VirtualBox kernel modules. %posttrans -n akmod-VirtualBox nohup /usr/sbin/akmods --from-akmod-posttrans --akmod VirtualBox &> /dev/null & %post -n akmod-VirtualBox [ -x /usr/sbin/akmods-ostree-post ] && /usr/sbin/akmods-ostree-post VirtualBox %{_usrsrc}/akmods/%{pkg_kmod_name}-%{version}-%{release}.src.rpm %files -n akmod-VirtualBox %defattr(-,root,root,-) %{_usrsrc}/akmods/* %global kmodinstdir_prefix /lib/modules/ %global kmodinstdir_postfix /extra/VirtualBox/ %global kernel_versions 4.18.0-425.19.2.el8_7.x86_64___%{_usrsrc}/kernels/4.18.0-425.19.2.el8_7.x86_64 %if 0%{?rhel} || 0%{?fedora} %global kmod_for_kernel 4.18.0-425.19.2.el8_7.x86_64 %global package_kmod_name %{kmod_pkg_name}-%{kmod_for_kernel} %endif %package -n %{kmod_pkg_name} Summary: Metapackage which tracks in VirtualBox kernel module for newest kernel Provides: %{pkg_kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{package_kmod_name} >= %{?epoch:%{epoch}:}%{version}-%{release} %description -n %{kmod_pkg_name} This is a meta-package without payload which sole purpose is to require the VirtualBox 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) %global _prefix_usr /usr %package -n %{package_kmod_name} Summary: VirtualBox kernel module(s) for %{kmod_for_kernel} Provides: kernel-modules%{!?with_rhel_kabi:-for-kernel} = 4.18.0-425.19.2.el8_7.x86_64 Provides: %{pkg_kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{pkg_kmod_name}-common >= %{?epoch:%{epoch}:}%{version} Requires(post): %{?_prefix_usr}/sbin/depmod Requires(postun): %{?_prefix_usr}/sbin/depmod %if %{with rhel_kabi} Requires(post): %{?_prefix_usr}/sbin/weak-modules Requires(postun): %{?_prefix_usr}/sbin/weak-modules %endif %global _kmodtool_depmod_post \if [ -f /boot/System.map-4.18.0-425.19.2.el8_7.x86_64 ] ; then \ %{?_prefix_usr}/sbin/depmod -aeF /boot/System.map-4.18.0-425.19.2.el8_7.x86_64 4.18.0-425.19.2.el8_7.x86_64 >/dev/null ; \elif [ -f /lib/modules/4.18.0-425.19.2.el8_7.x86_64/System.map ] ; then \ %{?_prefix_usr}/sbin/depmod -aeF /lib/modules/4.18.0-425.19.2.el8_7.x86_64/System.map 4.18.0-425.19.2.el8_7.x86_64 >/dev/null ; \else \ %{?_prefix_usr}/sbin/depmod -a >/dev/null ; \fi || : Requires: kernel-uname-r = 4.18.0-425.19.2.el8_7.x86_64 BuildRequires: kernel-devel-uname-r = 4.18.0-425.19.2.el8_7.x86_64 %if %{with rhel_kabi} BuildRequires: redhat-rpm-config %if 0%{?rhel} > 7 BuildRequires: kernel-abi-stablelists %else BuildRequires: kernel-abi-whitelists %endif %else BuildRequires: gcc %endif %post -n %{package_kmod_name} %{_kmodtool_depmod_post} %if %{with rhel_kabi} modules=( $(find /lib/modules/4.18.0-425.19.2.el8_7.x86_64/extra/VirtualBox/ -name "*.ko" -o -name "*.ko.xz") ) printf '%s\n' "${modules[@]}" | %{?_prefix_usr}/sbin/weak-modules --add-modules %endif %if %{with rhel_kabi} %preun -n %{package_kmod_name} rpm -ql %{package_kmod_name}-%{version}-%{release}.x86_64 | grep -e '\.ko$' -e '\.ko.xz$' > /var/run/rpm-%{package_kmod_name}-modules %endif %postun -n %{package_kmod_name} %{_kmodtool_depmod_post} %if %{with rhel_kabi} modules=( $(cat /var/run/rpm-%{package_kmod_name}-modules) ) rm -f /var/run/rpm-%{package_kmod_name}-modules printf '%s\n' "${modules[@]}" | %{?_prefix_usr}/sbin/weak-modules --remove-modules %endif %description -n %{package_kmod_name} This package provides the VirtualBox kernel modules built for the Linux kernel %{kmod_for_kernel} for the %{_target_cpu} family of processors. %files -n %{package_kmod_name} %defattr(644,root,root,755) %dir /lib/modules/4.18.0-425.19.2.el8_7.x86_64/extra /lib/modules/4.18.0-425.19.2.el8_7.x86_64/extra/VirtualBox/ %global __kmodtool_kernel_uname_r 4.18.0-425.19.2.el8_7.x86_64 %global __spec_install_post \ %{?__debug_package:%{__debug_install_post}}\ %{__arch_install_post}\ %{__os_install_post}\ %{?__kmodtool_signmodules:%{__kmodtool_modsign_install_post}}\ %{?__kmodtool_zipmodules:%{__kmodtool_modzip_install_post}} + for kernel_version in 4.18.0-425.19.2.el8_7.x86_64___/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 + cp -al VirtualBox-kmod-7.0.8 _kmod_build_4.18.0-425.19.2.el8_7.x86_64 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hb59XU + umask 022 + cd /builddir/build/BUILD + cd VirtualBox-kmod-7.0.8 + for kernel_version in 4.18.0-425.19.2.el8_7.x86_64___/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 + for module in vboxdrv vboxguest + make VBOX_USE_INSERT_PAGE=1 -j2 KERN_DIR=/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 -C /usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 M=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv modules make: Entering directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/linux/SUPDrv-linux.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/SUPDrv.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/SUPDrvGip.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/SUPDrvSem.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/SUPDrvTracer.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/SUPLibAll.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/common/string/strformatrt.o /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/.tmp_SUPDrvTracer.o: warning: objtool: SUPR0TracerFireProbe()+0x7: indirect jump found in RETPOLINE build /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/.tmp_SUPDrvTracer.o: warning: objtool: supdrvTracerProbeFireStub()+0x0: 'naked' return found in RETHUNK build CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/combined-agnostic1.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/combined-agnostic2.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/combined-os-specific.o /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/.tmp_combined-os-specific.o: warning: objtool: VBoxHost_RTR0MemKernelCopyFrom()+0x13: redundant CLD LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/vboxdrv.o Building modules, stage 2. MODPOST 1 modules CC /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/vboxdrv.mod.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/vboxdrv.ko make: Leaving directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' + for module in vboxdrv vboxguest + make VBOX_USE_INSERT_PAGE=1 -j2 KERN_DIR=/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 -C /usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 M=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest modules make: Entering directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/VBoxGuest-linux.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/VBoxGuest-common.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/common/string/strformatrt.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/combined-agnostic.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/combined-os-specific.o /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/.tmp_combined-os-specific.o: warning: objtool: rtR0MemKernelCopyLnxWorker()+0x12: redundant CLD LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/vboxguest.o Building modules, stage 2. MODPOST 1 modules CC /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/vboxguest.mod.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/vboxguest.ko make: Leaving directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' + export KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/Module.symvers + KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/Module.symvers + cp _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/Module.symvers _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf + make -j2 KERN_DIR=/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 -C /usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 M=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf modules make: Entering directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/vfsmod.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/dirops.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/lnkops.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/regops.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/utils.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/VBoxGuestR0LibGenericRequest.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/VBoxGuestR0LibHGCM.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/VBoxGuestR0LibIdc.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/VBoxGuestR0LibIdc-unix.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/VBoxGuestR0LibInit.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/VBoxGuestR0LibPhysHeap.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/VBoxGuestR0LibSharedFolders.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/vboxsf.o Building modules, stage 2. MODPOST 1 modules CC /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/vboxsf.mod.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/vboxsf.ko make: Leaving directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' + for module in vbox{netadp,netflt} + export KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/Module.symvers + KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/Module.symvers + make VBOX_USE_INSERT_PAGE=1 -j2 KERN_DIR=/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 -C /usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 M=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetadp modules make: Entering directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetadp/linux/VBoxNetAdp-linux.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetadp/VBoxNetAdp.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetadp/vboxnetadp.o Building modules, stage 2. MODPOST 1 modules CC /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetadp/vboxnetadp.mod.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetadp/vboxnetadp.ko make: Leaving directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' + for module in vbox{netadp,netflt} + export KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/Module.symvers + KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/Module.symvers + make VBOX_USE_INSERT_PAGE=1 -j2 KERN_DIR=/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 -C /usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 M=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt modules make: Entering directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/linux/VBoxNetFlt-linux.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/VBoxNetFlt.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/SUPR0IdcClient.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/SUPR0IdcClientComponent.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/linux/SUPR0IdcClient-linux.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/vboxnetflt.o Building modules, stage 2. MODPOST 1 modules CC /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/vboxnetflt.mod.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/vboxnetflt.ko make: Leaving directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' + export KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/Module.symvers + KBUILD_EXTRA_SYMBOLS=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/Module.symvers + make VBOX_USE_INSERT_PAGE=1 -j2 KERN_DIR=/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 -C /usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 M=/builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo modules make: Entering directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/hgsmi_base.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/modesetting.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_drv.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_fb.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_irq.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_main.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_mode.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_ttm.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbva_base.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_prime.o CC [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vbox_hgsmi.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vboxvideo.o Building modules, stage 2. MODPOST 1 modules CC /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vboxvideo.mod.o LD [M] /builddir/build/BUILD/VirtualBox-kmod-7.0.8/_kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vboxvideo.ko make: Leaving directory '/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JyCQDE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64 + cd VirtualBox-kmod-7.0.8 + for kernel_version in 4.18.0-425.19.2.el8_7.x86_64___/usr/src/kernels/4.18.0-425.19.2.el8_7.x86_64 + install -d /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64/lib/modules//4.18.0-425.19.2.el8_7.x86_64//extra/VirtualBox/ + install _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxdrv/vboxdrv.ko _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxguest/vboxguest.ko _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetadp/vboxnetadp.ko _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxnetflt/vboxnetflt.ko _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxsf/vboxsf.ko _kmod_build_4.18.0-425.19.2.el8_7.x86_64/vboxvideo/vboxvideo.ko /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64/lib/modules//4.18.0-425.19.2.el8_7.x86_64//extra/VirtualBox/ + mkdir -p /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64//usr/src/akmods/ + rpmbuild --define '_sourcedir /builddir/build/SOURCES' --define '_srcrpmdir /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64//usr/src/akmods/' --define 'dist .el8' -bs --nodeps /builddir/build/SPECS/VirtualBox-kmod.spec Wrote: /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64/usr/src/akmods/VirtualBox-kmod-7.0.8-1.el8.src.rpm ++ ls /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64//usr/src/akmods/ + ln -s VirtualBox-kmod-7.0.8-1.el8.src.rpm /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64//usr/src/akmods/VirtualBox-kmod.latest + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs + '[' 1 -eq 1 ']' + '[' -x /usr/lib/rpm/brp-kmodsign ']' + '[' -e /etc/pki/akmods/private/private_key.priv ']' + '[' 1 -eq 1 ']' + xargs xz + find /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64/lib/modules/4.18.0-425.19.2.el8_7.x86_64/extra/VirtualBox/ -type f -name '*.ko' Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gxUdUY + umask 022 + cd /builddir/build/BUILD + cd VirtualBox-kmod-7.0.8 ++ wc -l +++ ls -d '/builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64/usr/lib/modules/*' ls: cannot access '/builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64/usr/lib/modules/*': No such file or directory +++ head -n1 ++ find -name '*.ko' -exec basename '{}' ';' + MODS=6 ++ ls VirtualBox-kmod-7.0.8 ++ wc -l + DIRS=6 + '[' 6 = 6 ']' + exit 0 Processing files: akmod-VirtualBox-7.0.8-1.el8.x86_64 Provides: VirtualBox-kmod = 7.0.8-1.el8 akmod-VirtualBox = 7.0.8-1.el8 akmod-VirtualBox(x86-64) = 7.0.8-1.el8 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-VirtualBox-7.0.8-1.el8.x86_64 Processing files: kmod-VirtualBox-4.18.0-425.19.2.el8_7.x86_64-7.0.8-1.el8.x86_64 Provides: VirtualBox-kmod = 7.0.8-1.el8 kernel-modules = 4.18.0-425.19.2.el8_7.x86_64 kmod(vboxdrv.ko) kmod(vboxguest.ko) kmod(vboxnetadp.ko) kmod(vboxnetflt.ko) kmod(vboxsf.ko) kmod(vboxvideo.ko) kmod-VirtualBox-4.18.0-425.19.2.el8_7.x86_64 = 7.0.8-1.el8 kmod-VirtualBox-4.18.0-425.19.2.el8_7.x86_64(x86-64) = 7.0.8-1.el8 Requires(interp): /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(post): /bin/sh /usr/sbin/depmod /usr/sbin/weak-modules Requires(preun): /bin/sh Requires(postun): /bin/sh /usr/sbin/depmod /usr/sbin/weak-modules Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64 Wrote: /builddir/build/RPMS/akmod-VirtualBox-7.0.8-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/kmod-VirtualBox-7.0.8-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/kmod-VirtualBox-4.18.0-425.19.2.el8_7.x86_64-7.0.8-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vgd6Wl + umask 022 + cd /builddir/build/BUILD + cd VirtualBox-kmod-7.0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/VirtualBox-kmod-7.0.8-1.el8.x86_64 + exit 0 Child return code was: 0