vbox Virtualbox 7.1.4 Guest additions tools not available and can’t compile from port in FreeBSD 14.2-RELEASE

Hi,

I try to install the port for VB v7.1.4 in FreeBSD 14.2-RELEASE, but I can only get v6.1.50 and it doesn’t compile the port…

I did this:
cd /usr/ports/emulators/virtualbox-ose-additions-nox11
sudo make install clean

And it stops a one point with this:
kBuild: Compiling RuntimeGuestR3Shared - /usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/src/VBox/Runtime/common/dbg/dbgstackdumpself.cpp
In file included from /usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/src/VBox/Runtime/common/dbg/dbgstackdumpself.cpp:39:
/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/include/iprt/path.h:787:7: warning: flexible array members are a C99 feature [-Wc99-extensions]
787 | } aComps[RT_FLEXIBLE_ARRAY];
| ^
/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/include/iprt/path.h:874:17: warning: flexible array members are a C99 feature [-Wc99-extensions]
874 | char *apszComps[RT_FLEXIBLE_ARRAY];
| ^
2 warnings generated.
kBuild: Compiling RuntimeGuestR3Shared - /usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/src/VBox/Runtime/common/dbg/dbgstackdumpself-amd64-x86.asm
kBuild: Compiling RuntimeGuestR3Shared - /usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/src/VBox/Runtime/common/math/bignum-amd64-x86.asm
kBuild: Compiling RuntimeGuestR3Shared - /usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/src/VBox/Runtime/common/math/RTUInt128MulByU64.asm
kBuild: Linking RuntimeGuestR3Shared
kBuild: Installing RuntimeGuestR3Shared => /usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/out/freebsd.amd64/release/lib/additions/RuntimeGuestR3Shared.a
kmk: *** No rule to make target `/usr/src/sys/kern/bus_if.m', needed by `/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-6.1.50/out/freebsd.amd64/release/obj/FreeBSDGeneratedKernelHeaders/bus_if.h'. Stop.
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose-additions-nox11
*** Error code 1

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

So I have 2 problems:
  1. I can’t find v7.1.4 of the VBox Guest Additions, only v6.1.50 and
  2. Even v6.1.50 won’t compile from port.
I also tried to install from the VB CD-ROM, but this is what I get:
sudo /media/cdrom/VBoxLinuxAdditions.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.1.4 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Unable to determine correct library path.

Any advices on all these questions?

Regards, Antoine
 
I can’t find v7.1.4 of the VBox Guest Additions, only v6.1.50 and
VirtualBox v7 has not arrived in ports, yet ( Bug 271146 - emulators/virtualbox-ose{-*}: update to 7.1.4 )

There are two version in ports for the time being, legacy v5.2.44 and v6.1.50 .

Even v6.1.50 won’t compile from port.
Rich (BB code):
kmk: *** No rule to make target `/usr/src/sys/kern/bus_if.m', needed by `/usr/ports/emulators/virtualbox-ose-additions-nox11/work/
virtualBox-ose-additions provides two kernel modules. These modules must be built against the running kernel. You will need the FreeBSD source code installed. Make sure it's the correct branch.
 
Back
Top