Package: virtualbox-dkms
Version: 7.0.10-dfsg-2
Followup-For: Bug #1050096
X-Debbugs-Cc: j.andra...@gmail.com

Following the comments in other bug trackers for this same bugs from other
distros, I could solve it by modifying the file

/usr/src/virtualbox-7.0.10/vboxnetflt/linux/VBoxNetFlt-linux.c

on line 50, changing the value from:

#if RTLNX_VER_MIN(6,5,0)

to:

#if RTLNX_VER_MIN(6,4,0)


After this, it built properly on 6.4.0-3 (where it previously had failed, so
dpkg had finished with errors:

Errors were encountered while processing:
 linux-headers-6.4.0-3-amd64
 linux-headers-amd64
 linux-image-6.4.0-3-amd64
 linux-image-amd64


Thus, `dpkg --configure -a` just compiled the module for 6.4.0-3 as it had been
able to build it fine for 6.4.0-2.
I am not sure if the change I made would break the module from building on
6.4.0-2 or other 6.4.0 kernels.





-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtualbox-dkms depends on:
ii  dkms  3.0.11-3

Versions of packages virtualbox-dkms recommends:
ii  virtualbox  7.0.10-dfsg-2

virtualbox-dkms suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file 
/usr/src/virtualbox-7.0.10/vboxnetflt/linux/VBoxNetFlt-linux.c (from 
virtualbox-dkms package)

Reply via email to