On 2 Sep 2023 at 20:50, Michael D. Setzer II via user wrote: To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> Date sent: Sat, 02 Sep 2023 20:50:27 +1000 Subject: Virtual Box not working after upgrade to Fedora 38 Priority: normal Send reply to: mikes@xxxxxxxx, Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> From: "Michael D. Setzer II via users" <users@xxxxxxxxxxxxxxxxxxxxxxx> Copies to: "Michael D. Setzer II" <mikes@xxxxxxxx> > Did the install and created the new driver as it says, and it seems > to have the vboxdrv in the same relative place as it did with fc37, > but gives message that not found, but file is there?? > > modprobe vboxdrv > modprobe: FATAL: Module vboxdrv not found in directory > /lib/modules/6.4.12-200.fc38.x86_64 > > # find . | grep vboxdrv > ./6.4.11-100.fc37.x86_64/extra/VirtualBox/vboxdrv.ko.xz > ./6.4.12-100.fc37.x86_64/extra/VirtualBox/vboxdrv.ko.xz > ./6.4.12-200.fc38.x86_64/extra/VirtualBox/vboxdrv.ko.xz > > Any ideals why modprobe isn't seeing the driver that does exist?? Found lots of web pages with info, but most the same info. Latest atemp shows failure in build process? Gets most of way then error. Unfortuantely, after it finishes the /tmp directory it uses is deleted, so can't look at the files it shows? The installation of packages shows already installed. dnf install akmod-VirtualBox kernel-devel-6.4.12-200.fc38.x86_64 Last metadata expiration check: 1:51:24 ago on Sat 02 Sep 2023 08:49:43 PM ChST. Package akmod-VirtualBox-7.0.6-1.fc38.x86_64 is already installed. Package kernel-devel-6.4.12-200.fc38.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Running the akmods shows first thing is OK, but then failed. # akmods --kernels 6.4.12-200.fc38.x86_64 Checking kmods exist for 6.4.12-200.fc38.x86_64 [ OK ] Building and installing VirtualBox-kmod [FAILED] Building rpms failed; see /var/cache/akmods/VirtualBox/7.0.6-1-for-6.4.12-200.fc38.x86_64.failed.log for details Hint: Some kmods were ignored or failed to build or install. You can try to rebuild and install them by by calling '/usr/sbin/akmods --force' as root. Contents of the log. # cat /var/cache/akmods/VirtualBox/7.0.6-1-for-6.4.12-200.fc38.x86_64.failed.log 2023/09/02 22:41:25 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 6.4.12-200.fc38.x86_64 /usr/src/akmods/VirtualBox-kmod.latest' CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/linux/SUPDrv-linux.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrv.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrvGip.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrvSem.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrvTracer.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPLibAll.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/common/string/strformatrt.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-agnostic1.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-agnostic2.o CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-os-specific.o In file included from /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-os-specific.c:43: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c: In function 'rtR0MemObjNativeLockUser': /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c:1404:39: error: assignment of read-only member 'vm_flags' 1404 | papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED; | ^~ /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c: In function 'rtR0MemObjNativeMapUser': /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c:1876:35: error: assignment of read-only member 'vm_flags' 1876 | vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; | ^~ make[1]: *** [scripts/Makefile.build:252: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-os-specific.o] Error 1 make: *** [Makefile:2050: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv] Error 2 make: Leaving directory '/usr/src/kernels/6.4.12-200.fc38.x86_64' error: Bad exit status from /var/tmp/rpm-tmp.vo4fhj (%build) RPM build warnings: user mockbuild does not exist - using root group mock does not exist - using root user mockbuild does not exist - using root group mock does not exist - using root user mockbuild does not exist - using root group mock does not exist - using root %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.vo4fhj (%build) 2023/09/02 22:41:38 akmodsbuild: * Rebuilding /usr/src/akmods/VirtualBox-kmod.latest for kernel(s) 6.4.12-200.fc38.x86_64: warning: user mockbuild does not exist - using root 2023/09/02 22:41:38 akmodsbuild: warning: group mock does not exist - using root 2023/09/02 22:41:38 akmodsbuild: warning: user mockbuild does not exist - using root 2023/09/02 22:41:38 akmodsbuild: warning: group mock does not exist - using root 2023/09/02 22:41:38 akmodsbuild: warning: user mockbuild does not exist - using root 2023/09/02 22:41:38 akmodsbuild: warning: group mock does not exist - using root 2023/09/02 22:41:38 akmodsbuild: warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) 2023/09/02 22:41:38 akmodsbuild: Installing /usr/src/akmods/VirtualBox-kmod.latest 2023/09/02 22:41:38 akmodsbuild: Building target platforms: x86_64 2023/09/02 22:41:38 akmodsbuild: Building for target x86_64 2023/09/02 22:41:38 akmodsbuild: setting SOURCE_DATE_EPOCH=1674000000 2023/09/02 22:41:38 akmodsbuild: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xVPF2u 2023/09/02 22:41:38 akmodsbuild: + umask 022 2023/09/02 22:41:38 akmodsbuild: + cd /tmp/akmodsbuild.TtQWhnT5//BUILD 2023/09/02 22:41:38 akmodsbuild: + cd /tmp/akmodsbuild.TtQWhnT5/BUILD 2023/09/02 22:41:38 akmodsbuild: + rm -rf VirtualBox-kmod-7.0.6 2023/09/02 22:41:38 akmodsbuild: + /usr/bin/mkdir -p VirtualBox-kmod-7.0.6 2023/09/02 22:41:38 akmodsbuild: + cd VirtualBox-kmod-7.0.6 2023/09/02 22:41:38 akmodsbuild: + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . 2023/09/02 22:41:38 akmodsbuild: + tar --use-compress-program xz -xf /usr/share/VirtualBox-kmod-7.0.6/VirtualBox-kmod-7.0.6.tar.xz 2023/09/02 22:41:38 akmodsbuild: + pushd VirtualBox-kmod-7.0.6 2023/09/02 22:41:38 akmodsbuild: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/VirtualBox-kmod-7.0.6 /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6 2023/09/02 22:41:38 akmodsbuild: + echo 'Patch #1 (el8_7.patch):' 2023/09/02 22:41:38 akmodsbuild: Patch #1 (el8_7.patch): 2023/09/02 22:41:38 akmodsbuild: + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 2023/09/02 22:41:38 akmodsbuild: patching file vboxvideo/vbox_drv.c 2023/09/02 22:41:38 akmodsbuild: + popd 2023/09/02 22:41:38 akmodsbuild: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6 2023/09/02 22:41:38 akmodsbuild: + kmodtool --target x86_64 --repo rpmfusion --kmodname VirtualBox-kmod --akmod --for-kernels 6.4.12-200.fc38.x86_64 --filterfile /tmp/akmodsbuild.TtQWhnT5/SOURCES/excludekernel-filter.txt 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %{?rhel:%global with_rhel_kabi 1} 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %if 0%{?rhel} || 0%{?fedora} 2023/09/02 22:41:38 akmodsbuild: %global kmod_pkg_name kmod-VirtualBox 2023/09/02 22:41:38 akmodsbuild: %global pkg_kmod_name VirtualBox-kmod 2023/09/02 22:41:38 akmodsbuild: %{?obsolete_name:%global kmod_obsolete_name kmod-%{obsolete_name}} 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %if 0%{?rhel} || 0%{?fedora} 2023/09/02 22:41:38 akmodsbuild: %global kmod_for_kernel %{?with_rhel_kabi:6.4.12-200.fc38}%{!?with_rhel_kabi:6.4.12-200.fc38.x86_64} 2023/09/02 22:41:38 akmodsbuild: %global package_kmod_name %{kmod_pkg_name}-%{kmod_for_kernel} 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: %global _prefix_usr /usr 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %package -n %{package_kmod_name} 2023/09/02 22:41:38 akmodsbuild: Summary: VirtualBox kernel module(s) for %{kmod_for_kernel} 2023/09/02 22:41:38 akmodsbuild: Provides: kernel-modules%{!?with_rhel_kabi:-for-kernel} = 6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: %if %{with rhel_kabi} 2023/09/02 22:41:38 akmodsbuild: Provides: installonlypkg(kernel-module) 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: Provides: %{pkg_kmod_name} = %{?epoch:%{epoch}:}%{version}-%{release} 2023/09/02 22:41:38 akmodsbuild: Requires: %{pkg_kmod_name}-common >= %{?epoch:%{epoch}:}%{version} 2023/09/02 22:41:38 akmodsbuild: Requires(post): %{?_prefix_usr}/sbin/depmod 2023/09/02 22:41:38 akmodsbuild: Requires(postun): %{?_prefix_usr}/sbin/depmod 2023/09/02 22:41:38 akmodsbuild: %if %{with rhel_kabi} 2023/09/02 22:41:38 akmodsbuild: Requires(post): %{?_prefix_usr}/sbin/weak-modules 2023/09/02 22:41:38 akmodsbuild: Requires(postun): %{?_prefix_usr}/sbin/weak-modules 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: %global _kmodtool_depmod_post \if [ -f /boot/System.map-6.4.12-200.fc38.x86_64 ] ; then \ %{?_prefix_usr}/sbin/depmod -aeF /boot/System.map-6.4.12-200.fc38.x86_64 6.4.12-200.fc38.x86_64 >/dev/null ; \elif [ -f /lib/modules/6.4.12-200.fc38.x86_64/System.map ] ; then \ %{?_prefix_usr}/sbin/depmod -aeF /lib/modules/6.4.12-200.fc38.x86_64/System.map 6.4.12-200.fc38.x86_64 >/dev/null ; \else \ %{?_prefix_usr}/sbin/depmod -a >/dev/null ; \fi || : 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %if %{with rhel_kabi} 2023/09/02 22:41:38 akmodsbuild: Requires: kernel >= 6.4.12-200.fc38 2023/09/02 22:41:38 akmodsbuild: Requires: kernel < 6.4.12-201.fc38 2023/09/02 22:41:38 akmodsbuild: BuildRequires: kernel-devel = 6.4.12-200.fc38 redhat-rpm-config 2023/09/02 22:41:38 akmodsbuild: %else 2023/09/02 22:41:38 akmodsbuild: Requires: kernel-uname-r = 6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: BuildRequires: kernel-devel-uname-r = 6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: BuildRequires: gcc 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %post -n %{package_kmod_name} 2023/09/02 22:41:38 akmodsbuild: %{_kmodtool_depmod_post} 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %if %{with rhel_kabi} 2023/09/02 22:41:38 akmodsbuild: modules=( $(find /lib/modules/6.4.12-200.fc38.x86_64/extra/VirtualBox/ -name "*.ko" -o -name "*.ko.xz") ) 2023/09/02 22:41:38 akmodsbuild: printf '%s\n' "${modules[@]}" | %{?_prefix_usr}/sbin/weak-modules --add-modules 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %if %{with rhel_kabi} 2023/09/02 22:41:38 akmodsbuild: %preun -n %{package_kmod_name} 2023/09/02 22:41:38 akmodsbuild: rpm -ql %{package_kmod_name}-%{version}-%{release}.x86_64 | grep -e '\.ko$' -e '\.ko.xz$' > /var/run/rpm-%{package_kmod_name}-modules 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %postun -n %{package_kmod_name} 2023/09/02 22:41:38 akmodsbuild: %{_kmodtool_depmod_post} 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %if %{with rhel_kabi} 2023/09/02 22:41:38 akmodsbuild: modules=( $(cat /var/run/rpm-%{package_kmod_name}-modules) ) 2023/09/02 22:41:38 akmodsbuild: rm -f /var/run/rpm-%{package_kmod_name}-modules 2023/09/02 22:41:38 akmodsbuild: printf '%s\n' "${modules[@]}" | %{?_prefix_usr}/sbin/weak-modules --remove-modules 2023/09/02 22:41:38 akmodsbuild: %endif 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %description -n %{package_kmod_name} 2023/09/02 22:41:38 akmodsbuild: This package provides the VirtualBox kernel modules built for the Linux 2023/09/02 22:41:38 akmodsbuild: kernel %{kmod_for_kernel} for the %{_target_cpu} family of processors. 2023/09/02 22:41:38 akmodsbuild: %files -n %{package_kmod_name} 2023/09/02 22:41:38 akmodsbuild: %defattr(644,root,root,755) 2023/09/02 22:41:38 akmodsbuild: %dir /lib/modules/6.4.12-200.fc38.x86_64/extra 2023/09/02 22:41:38 akmodsbuild: /lib/modules/6.4.12-200.fc38.x86_64/extra/VirtualBox/ 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %global __kmodtool_kernel_uname_r 6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: %global __spec_install_post \ 2023/09/02 22:41:38 akmodsbuild: %{?__debug_package:%{__debug_install_post}}\ 2023/09/02 22:41:38 akmodsbuild: %{__arch_install_post}\ 2023/09/02 22:41:38 akmodsbuild: %{__os_install_post}\ 2023/09/02 22:41:38 akmodsbuild: %{?__kmodtool_signmodules:%{__kmodtool_modsign_install_post}}\ 2023/09/02 22:41:38 akmodsbuild: %{?__kmodtool_zipmodules:%{__kmodtool_modzip_install_post}} 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: %global kmodinstdir_prefix /lib/modules/ 2023/09/02 22:41:38 akmodsbuild: %global kmodinstdir_postfix /extra/VirtualBox/ 2023/09/02 22:41:38 akmodsbuild: %global kernel_versions 6.4.12-200.fc38.x86_64___%{_usrsrc}/kernels/6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: + for kernel_version in 6.4.12-200.fc38.x86_64___/usr/src/kernels/6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: + cp -al VirtualBox-kmod-7.0.6 _kmod_build_6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: + RPM_EC=0 2023/09/02 22:41:38 akmodsbuild: ++ jobs -p 2023/09/02 22:41:38 akmodsbuild: + exit 0 2023/09/02 22:41:38 akmodsbuild: Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vo4fhj 2023/09/02 22:41:38 akmodsbuild: + umask 022 2023/09/02 22:41:38 akmodsbuild: + cd /tmp/akmodsbuild.TtQWhnT5//BUILD 2023/09/02 22:41:38 akmodsbuild: + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' 2023/09/02 22:41:38 akmodsbuild: + export CFLAGS 2023/09/02 22:41:38 akmodsbuild: + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' 2023/09/02 22:41:38 akmodsbuild: + export CXXFLAGS 2023/09/02 22:41:38 akmodsbuild: + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' 2023/09/02 22:41:38 akmodsbuild: + export FFLAGS 2023/09/02 22:41:38 akmodsbuild: + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' 2023/09/02 22:41:38 akmodsbuild: + export FCFLAGS 2023/09/02 22:41:38 akmodsbuild: + VALAFLAGS=-g 2023/09/02 22:41:38 akmodsbuild: + export VALAFLAGS 2023/09/02 22:41:38 akmodsbuild: + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 2023/09/02 22:41:38 akmodsbuild: + export LDFLAGS 2023/09/02 22:41:38 akmodsbuild: + LT_SYS_LIBRARY_PATH=/usr/lib64: 2023/09/02 22:41:38 akmodsbuild: + export LT_SYS_LIBRARY_PATH 2023/09/02 22:41:38 akmodsbuild: + CC=gcc 2023/09/02 22:41:38 akmodsbuild: + export CC 2023/09/02 22:41:38 akmodsbuild: + CXX=g++ 2023/09/02 22:41:38 akmodsbuild: + export CXX 2023/09/02 22:41:38 akmodsbuild: + cd VirtualBox-kmod-7.0.6 2023/09/02 22:41:38 akmodsbuild: + for kernel_version in 6.4.12-200.fc38.x86_64___/usr/src/kernels/6.4.12-200.fc38.x86_64 2023/09/02 22:41:38 akmodsbuild: + for module in vboxdrv 2023/09/02 22:41:38 akmodsbuild: + make VBOX_USE_INSERT_PAGE=1 -j2 KERN_DIR=/usr/src/kernels/6.4.12-200.fc38.x86_64 -C /usr/src/kernels/6.4.12-200.fc38.x86_64 M=/tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/ vboxdrv modules 2023/09/02 22:41:38 akmodsbuild: make: Entering directory '/usr/src/kernels/6.4.12-200.fc38.x86_64' 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/linux/SUPDrv-linux.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrv.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrvGip.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrvSem.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPDrvTracer.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/SUPLibAll.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/common/string/strformatrt.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-agnostic1.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-agnostic2.o 2023/09/02 22:41:38 akmodsbuild: CC [M] /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-os-specific.o 2023/09/02 22:41:38 akmodsbuild: In file included from /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-os-specific.c:43: 2023/09/02 22:41:38 akmodsbuild: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c: In function 'rtR0MemObjNativeLockUser': 2023/09/02 22:41:38 akmodsbuild: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c:1404:39: error: assignment of read-only member 'vm_flags' 2023/09/02 22:41:38 akmodsbuild: 1404 | papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED; 2023/09/02 22:41:38 akmodsbuild: | ^~ 2023/09/02 22:41:38 akmodsbuild: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c: In function 'rtR0MemObjNativeMapUser': 2023/09/02 22:41:38 akmodsbuild: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/r0drv/linux/memobj-r0drv-linux.c:1876:35: error: assignment of read-only member 'vm_flags' 2023/09/02 22:41:38 akmodsbuild: 1876 | vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; 2023/09/02 22:41:38 akmodsbuild: | ^~ 2023/09/02 22:41:38 akmodsbuild: make[1]: *** [scripts/Makefile.build:252: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv/combined-os-specific.o] Error 1 2023/09/02 22:41:38 akmodsbuild: make: *** [Makefile:2050: /tmp/akmodsbuild.TtQWhnT5/BUILD/VirtualBox-kmod-7.0.6/_kmod_build_6.4.12-200.fc38.x86_64/vbo xdrv] Error 2 2023/09/02 22:41:38 akmodsbuild: make: Leaving directory '/usr/src/kernels/6.4.12-200.fc38.x86_64' 2023/09/02 22:41:38 akmodsbuild: error: Bad exit status from /var/tmp/rpm-tmp.vo4fhj (%build) 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: RPM build warnings: 2023/09/02 22:41:38 akmodsbuild: user mockbuild does not exist - using root 2023/09/02 22:41:38 akmodsbuild: group mock does not exist - using root 2023/09/02 22:41:38 akmodsbuild: user mockbuild does not exist - using root 2023/09/02 22:41:38 akmodsbuild: group mock does not exist - using root 2023/09/02 22:41:38 akmodsbuild: user mockbuild does not exist - using root 2023/09/02 22:41:38 akmodsbuild: group mock does not exist - using root 2023/09/02 22:41:38 akmodsbuild: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmodsbuild: RPM build errors: 2023/09/02 22:41:38 akmodsbuild: Bad exit status from /var/tmp/rpm-tmp.vo4fhj (%build) 2023/09/02 22:41:38 akmodsbuild: 2023/09/02 22:41:38 akmods: Building rpms failed; see /var/cache/akmods/VirtualBox/7.0.6-1-for-6.4.12-200.fc38.x86_64.failed.log for details > > Thanks. > > +------------------------------------------------------------+ > Michael D. Setzer II - Computer Science Instructor (Retired) > mailto:mikes@xxxxxxxx > mailto:msetzerii@xxxxxxxxx > Guam - Where America's Day Begins > G4L Disk Imaging Project maintainer > http://sourceforge.net/projects/g4l/ > +------------------------------------------------------------+ > > > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@xxxxxxxx mailto:msetzerii@xxxxxxxxx Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue