Opened 7 years ago
Closed 7 years ago
#17678 closed defect (fixed)
Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed in 5.2.12
Reported by: | Jim Avera | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 5.2.8 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
Host: Ubuntu 18.04 (64-bit) Guest: Fedora 28 beta
Installing GA fails with compilation errors like the one below. I will attach /var/log/vboxadd-setup.log
/tmp/vbox.0/vbox_ttm.c:495:8: error: too many arguments to function ‘ttm_bo_validate’
ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
In file included from /tmp/vbox.0/vbox_drv.h:65,
from /tmp/vbox.0/vbox_ttm.c:31:
./include/drm/ttm/ttm_bo_api.h:338:5: note: declared here
int ttm_bo_validate(struct ttm_buffer_object *bo,
cc1: some warnings being treated as errors
STEPS TO REPRODUCE:
- (On HOST. I used Ubuntu but probably the host does not matter)
- Create new Virtualbox VM. I used 40G dynaimcally-allocated vdi, 4GB ram, 6 CPUs, enabled PAE/NX. Attach the iso image to the virtual DVD drive
- Start the VM. Install fedora taking all default. Shut down the guest.
- Remove the .iso from the virtual DVD drive
- Boot the guest
- Open terminal (Activities in upper left->grid of dots->"Terminal") sudo dnf install dkms gcc kernel-devel kernel-headers Reboot the guest
- Devices->Insert Guest Additions agree to install
RESULTS: Insmod fails (because module compilation did not succeed). Look at the end of /var/log/vboxadd-setup.log
Using Virtualbox version 5.2.8_Ubuntu r120774
Attachments (1)
Change History (6)
by , 7 years ago
Attachment: | vboxadd-setup.log added |
---|
comment:1 by , 7 years ago
The current Guest Additions test build[1] should build on Fedora 28 Beta. A question from my side: Fedora 28 Beta comes with Guest Additions installed and maintained by Fedora, and I would expect our Additions installer to warn you about that. Did you see a warning, and if so, did you uninstall the Fedora Additions before installing ours?
[1] wiki:Testbuilds
comment:2 by , 7 years ago
Summary: | Guest Additions won't build in Fedora 28 (Kernel 4.16.1) → Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed after (not in) 5.2.10 |
---|
comment:3 by , 7 years ago
I had a Fedora 28 Workstation VM with virtualbox-guest-additions installed for several months and never saw a warning when installing the Oracle guest additions. (At the time I wasn't even aware that Fedora HAD its own version of the guest additions.)
comment:4 by , 7 years ago
In my Fedora 28 installation, there was a clear warning about installing the VirtualBox GAs over the existing F28 GAs. Not the F28 beta, but the release version.
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed after (not in) 5.2.10 → Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed in 5.2.12 |
/var/log/vboxadd-setup.log