vbox Can't build virtualbox-ose-kmod from source

Hello.

Code:
FreeBSD builder 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64

Everything is fresh.
If I'll try to build it, I get the message:
Code:
===>   Generating temporary packing list
/bin/mkdir -p /usr/ports/emulators/virtualbox-ose-kmod/work/stage/boot/modules
install  -m 555 /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-6.1.50/out/freebsd.amd64/release/bin/src/vboxdrv/vboxdrv.ko /usr/ports/emulators/virtualbox-ose-kmod/work/stage/boot/modules
install  -m 555 /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-6.1.50/out/freebsd.amd64/release/bin/src/vboxnetadp/vboxnetadp.ko /usr/ports/emulators/virtualbox-ose-kmod/work/stage/boot/modules
install  -m 555 /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-6.1.50/out/freebsd.amd64/release/bin/src/vboxnetflt/vboxnetflt.ko /usr/ports/emulators/virtualbox-ose-kmod/work/stage/boot/modules
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===>  Installing for virtualbox-ose-kmod-6.1.50
===>   Registering installation for virtualbox-ose-kmod-6.1.50
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/virtualbox-ose-kmod

Do I have to build I, or I can pkg use?
 
This is.
 

Attachments

  • Screenshot_20241118_180728.png
    Screenshot_20241118_180728.png
    55 KB · Views: 19
You can use pkg with 14.1-RELEASE for kmods. Use make deinstall before.
Don't know what is your current problem and don't know if it will work after such a failure..
 
Three times.. but works.
Code:
[1/1] Deinstalling virtualbox-ose-kmod-6.1.50...
[1/1] Deleting files for virtualbox-ose-kmod-6.1.50: 100%
root@builder:/usr/ports/emulators/virtualbox-ose-kmod # make install clean
===>  Installing for virtualbox-ose-kmod-6.1.50
===>  Checking if virtualbox-ose-kmod is already installed
===>   Registering installation for virtualbox-ose-kmod-6.1.50
Installing virtualbox-ose-kmod-6.1.50...
The vboxdrv kernel module uses internal kernel APIs.

To avoid crashes due to kernel incompatibility, this module will only
load on FreeBSD 14.1 kernels.

===>  Cleaning for virtualbox-ose-kmod-6.1.50
root@builder:/usr/ports/emulators/virtualbox-ose-kmod #
Thank you all.
 
Back
Top