Skip to content

Conversation

@newHeiko
Copy link
Contributor

Another one I've been fighting in my upgrade to -current was virtualbox. I saw you already changed a few things around the CXX_FLAGS, particularly the C++ standard, but I still couldn't build it: Failures also in the C parts (mainly bool being added to C23).

I was not able to find out how to add CFLAGS to VirtualBox kBuild system, so I went nuclear and updated virtualbox to 7.2.4 in a pretty hackish way, which builds on current mostly out-of-the-box.

Note I did not update virtualbox-kernel, so to get the matching virtualbox kernel modules, I went to /usr/src/virtualbox-kernel-7.2.4 and did make && make install there.

Also note that the (current) kernel by default loads the kvm and kvm_intel modules, which need to be unloaded for VirtualBox (7.2.4) to work. Not sure if this is a change from 15.0-kernel to current-kernel or from VirtualBox 6.1.50 to 7.2.4.

Heiko

P.S: I'm mentioning this here because I can't seem to find my LQ account to post it there :)

@github-actions
Copy link

reverse dependencies - system/virtualbox

None

@github-actions
Copy link

github-actions bot commented Dec 31, 2025

✅ sbolint - system/virtualbox ✅

sbolint: virtualbox checks out OK

@Ponce
Copy link
Owner

Ponce commented Jan 2, 2026

for this I think we should follow what has been updated on @pprkut (the maintainer) private repository for current

virtualbox
virtualbox-addons
virtualbox-kernel

@newHeiko
Copy link
Contributor Author

newHeiko commented Jan 2, 2026

Absolutely! I came across his site but not his repository while I was fighting this build...

Thank you for all the management work you put in this, especially the overview of different people's personal repositories.

I'll follow his changes and adapt this PR.

Heiko

@newHeiko newHeiko changed the title system/virtualbox: Updated for version 7.2.4 to build on current WIP: system/virtualbox: Updated for version 7.2.4 to build on current Jan 2, 2026
@newHeiko newHeiko changed the title WIP: system/virtualbox: Updated for version 7.2.4 to build on current system/virtualbox: Updated for version 7.2.4 to build on current Jan 4, 2026
@newHeiko
Copy link
Contributor Author

newHeiko commented Jan 4, 2026

Okay, there we go. I took the files from @pprkut's private repo, massaged them a little to make them build and check stuff on my system (VBOX_JAVA_HOME set to JAVA_HOME instead of just /usr/lib64/java, check for vboxweb user and vboxusers group), re-added and adapted the README and README.SLACKWARE and I hope I uploaded what actually builds for me.

I'll go on to do virtualbox-kernel and virtualbox-addons next.

Heiko

@Ponce
Copy link
Owner

Ponce commented Jan 10, 2026

I adapted the patches to modify only what's necessary for the SBo repository trying avoiding changes to the script's standards (that the original author uses in his repository): sorry if I hadn't been clear about adapting the scripts, should be all ok but please double-check!

virtualbox branch

@Ponce Ponce closed this Jan 10, 2026
@newHeiko
Copy link
Contributor Author

Yes, I saw there were a couple of things changed between 15.0-SBo and the author's scripts. I wasn't sure which way to go in some of them, and I'm perfectly fine however you decide.

I'll test the virtualbox branch some time this week and report back.

Heiko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants