Page 1 of 1

problem installing 5.2.0RC1 guest additions

Posted: 30. Sep 2017, 21:14
by heitkergm
Guest addition compilation issue:

/tmp/vbox.0/hgsmi_base.c: In function 'hgsmi_send_caps_info':
/tmp/vbox.0/hgsmi_base.c:99:2: error: implicit declaration of function 'AssertRC' [-Werror=implicit-function-declaration'
AssertRC(p->rc);
^
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vbox.o/hgsmi_base.o] Error 1




This is for a CentOS guest. Occurred on a Win10 host and a macOS High Sierra host.

Re: problem installing 5.2.0RC1 guest additions

Posted: 30. Sep 2017, 21:19
by heitkergm
Same compilation problem for a Fedora 26 guest on a macOS High Sierra host.

Re: problem installing 5.2.0RC1 guest additions

Posted: 30. Sep 2017, 21:27
by heitkergm
Also, the RC1 guest addition package calls itself BETA3, not RC1.

But, unlike BETA3, this one does not install properly.

Re: problem installing 5.2.0RC1 guest additions

Posted: 2. Oct 2017, 11:11
by frg
Same error with latest CentOS 7. Installed the latest 5.1 additions as a workaround.

The Beta 3 reference looks like a packaging error. If you download the separate RC1 iso it goes away.

FRG

Re: problem installing 5.2.0RC1 guest additions

Posted: 2. Oct 2017, 17:48
by RockT
heitkergm wrote:Also, the RC1 guest addition package calls itself BETA3, not RC1.

But, unlike BETA3, this one does not install properly.
Hmm no, I cannot confirm on Ubuntu Zesty:

Code: Select all

root@centos7 VBox_GAs_5.2.0]# ./VBoxLinuxAdditions.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.0_RC1 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.0_BETA3 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
But I can confirm the compilation problem.

Re: problem installing 5.2.0RC1 guest additions

Posted: 2. Oct 2017, 18:24
by angiest
RockT wrote:
heitkergm wrote:Also, the RC1 guest addition package calls itself BETA3, not RC1.

But, unlike BETA3, this one does not install properly.
Hmm no, I cannot confirm on Ubuntu Zesty:

Code: Select all

root@centos7 VBox_GAs_5.2.0]# ./VBoxLinuxAdditions.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.0_RC1 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.0_BETA3 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
But I can confirm the compilation problem.

I'll confirm the build failure with both versions. Host: OSX Sierra Guest: Artix Linux (systemd-less fork of Arch)

UPDATE: Unsurprisingly, the BETA2 additions compile and work.