#17678 closed defect (fixed)
Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed in 5.2.12
回報者: | Jim Avera | 負責人: | |
---|---|---|---|
元件: | guest additions | 版本: | VirtualBox 5.2.8 |
關鍵字: | 副本: | ||
Guest type: | Linux | Host type: | Linux |
描述
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
附加檔案 (1)
更動歷史 (6)
7 年 前 由 編輯
附檔: | 新增 vboxadd-setup.log |
---|
comment:1 7 年 前 由 編輯
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 7 年 前 由 編輯
摘要: | 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 7 年 前 由 編輯
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.)
/var/log/vboxadd-setup.log