Package Details: virtualbox-bin 5.2.12-1

Git Clone URL: https://aur.archlinux.org/virtualbox-bin.git (read-only)
Package Base: virtualbox-bin
Description: Oracle VM VirtualBox Binary Edition (Oracle branded non-OSE version)
Upstream URL: https://www.virtualbox.org/
Keywords: virtualbox
Licenses: GPL2
Conflicts: virtualbox, virtualbox-host-dkms, virtualbox-host-modules-arch
Provides: virtualbox=5.2.12
Replaces: virtualbox-sun, virtualbox_bin
Submitter: Rainmaker
Maintainer: khomutsky
Last Packager: khomutsky
Votes: 46
Popularity: 0.481191
First Submitted: 2015-08-18 09:16
Last Updated: 2018-06-20 11:37

Required by (23)

Sources (8)

Latest Comments

gary9872 commented on 2018-06-02 17:22

I don't have much use for this. If anyone needs help adopting this, let me know

drankinatty commented on 2017-12-27 11:01

The only changes to PKGBUILD between 5.2.2 and 5.2.4 are:

pkgver=5.2.4
_build=119785

md5sums=('70973209cc9bc0e82e40a34362061f96'
     '2d04c2e2d8c71558c910a51ec773731a'
     'fe60f9510502bea67383d9198ae8c13c'
     'c159d683ba1947290fc2ad2c64194150'
     '3ac185709bfe688bb753c46e170d0546'
     '31144fa409c0d7c6b464d44b2140b521'
     '05175249e1206c491b2b36670e8db9ec'
     'c32a61f3a1611e184098cc9b0d6765bb')

All diff/patch hunks succeed, but several will be off by 1 - 8 bytes of context. So for future updates, I suspect new diffs will need to be taken. For now, the changes above have 5.2.4 happily installed and running with the extension-pack just as they always have.

drankinatty commented on 2017-12-06 15:05

If it helps, the update PKGBUILD update required for 5.2.2 is simply:

pkgver=5.2.2 _build=119230

Works fine -- even loads the modules after install (unlike 5.2.0 -- but still messes with the setvideomodehint for current vms) Smoother than 5.2.0. It's a keeper. (not to mention the forced move to 5.2.X due to the 4.14 kernel update)

Ralf_Mardorf commented on 2017-12-05 06:02

Linux 4.14.3-1 is provided by "Core". Trying to build the modules still results in the same errors. "Linux hosts: fixed kernel module compilation and start failures with Linux kernel 4.14 (bug #17267)" - https://www.virtualbox.org/wiki/Changelog

gary9872 commented on 2017-11-22 00:06

Ralf

I don't use the testing repos.

If someone does and would like to submit a patch, I'd be happy to add it.

Ralf_Mardorf commented on 2017-11-19 21:27

My apologies for not posting the output elsewhere and just posting a link here.

virtualbox-bin-5.2.0-1 was build from your tarball. I only looked at the OSE version for comparison. As already pointed out, despite the messages the modules were build, at least for kernel versions < 4.14.0. Bevor I rebuild the package from your tarball, I reinstalled the already build package. The link always is against /usr/src/virtualbox-bin. Even after fixing the link, the modules for 4.14.0 from testing were not build.

[rocketmouse@archlinux current]$ sudo pacman -U virtualbox-bin-5.2.0-1-x86_64.pkg.tar.xz
[snip]
warning: virtualbox-bin-5.2.0-1 is up to date -- reinstalling
[snip]
warning: directory permissions differ on /usr/src/
filesystem: 775 package: 755

==> Remember to add allowed users to the vboxusers group:
==> # gpasswd -a USERNAME vboxusers
:: Running post-transaction hooks...
(1/5) Install DKMS modules
==> dkms install vboxhost/5.2.0 -k 4.13.13-rt5-1-rt
==> dkms install vboxhost/5.2.0 -k 4.14.0-2-ARCH
Error! Bad return status for module build on kernel: 4.14.0-2-ARCH (x86_64)
Consult /var/lib/dkms/vboxhost/5.2.0/build/make.log for more information.
==> dkms install vboxhost/5.2.0 -k 4.11.12-rt16-1-rt-cornflower
==> dkms install vboxhost/5.2.0 -k 4.14.0-rt1-1-rt-pussytoes
Error! Bad return status for module build on kernel: 4.14.0-rt1-1-rt-pussytoes (x86_64)
Consult /var/lib/dkms/vboxhost/5.2.0/build/make.log for more information.
(2/5) Updating icon theme caches...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Updating the desktop file MIME type cache...
(5/5) Updating the MIME type database...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'

[rocketmouse@archlinux current]$ ls -hAl /var/lib/dkms/virtualbox/
total 4.0K
drwxr-xr-x 3 root root 4.0K Nov 19 17:41 bin
[rocketmouse@archlinux current]$ ls -hAl /var/lib/dkms/virtualbox/bin/
total 4.0K
drwxr-xr-x 3 rocketmouse rocketmouse 4.0K Nov 19 17:42 build
lrwxrwxrwx 1 root root 23 Nov 14 09:34 source -> /usr/src/virtualbox-bin
[rocketmouse@archlinux current]$ ls -hAld /usr/src/v*
drwxr-xr-x 6 root root 4.0K Nov 19 21:16 /usr/src/vboxhost-5.2.0
drwxr-xr-x 2 rocketmouse rocketmouse 4.0K Sep 17 20:40 /usr/src/virtualbox-bin

[rocketmouse@archlinux tmp]$ wget -q https://aur.archlinux.org/cgit/aur.git/snapshot/virtualbox-bin.tar.gz
[rocketmouse@archlinux tmp]$ tar xf virtualbox-bin.tar.gz
[rocketmouse@archlinux tmp]$ cd virtualbox-bin/
[rocketmouse@archlinux virtualbox-bin]$ cp -ai PKGBUILD PKGBUILD~
[rocketmouse@archlinux virtualbox-bin]$ nano PKGBUILD
[rocketmouse@archlinux virtualbox-bin]$ diff PKGBUILD PKGBUILD~
8c8
< pkgrel=2
---
> pkgrel=1
[rocketmouse@archlinux virtualbox-bin]$ makepkg -s
[snip]
==> Finished making: virtualbox-bin 5.2.0-2 (Sun Nov 19 21:52:04 CET 2017)
[rocketmouse@archlinux virtualbox-bin]$ sudo pacman -U virtualbox-bin-5.2.0-2-x86_64.pkg.tar.xz
[snip]
:: Processing package changes...
(1/1) upgrading virtualbox-bin [snip] 100%
warning: directory permissions differ on /usr/src/
filesystem: 775 package: 755

==> Remember to add allowed users to the vboxusers group:
==> # gpasswd -a USERNAME vboxusers
:: Running post-transaction hooks...
(1/5) Install DKMS modules
==> dkms install vboxhost/5.2.0 -k 4.13.13-rt5-1-rt
==> dkms install vboxhost/5.2.0 -k 4.14.0-2-ARCH
Error! Bad return status for module build on kernel: 4.14.0-2-ARCH (x86_64)
Consult /var/lib/dkms/vboxhost/5.2.0/build/make.log for more information.
==> dkms install vboxhost/5.2.0 -k 4.11.12-rt16-1-rt-cornflower
==> dkms install vboxhost/5.2.0 -k 4.14.0-rt1-1-rt-pussytoes
Error! Bad return status for module build on kernel: 4.14.0-rt1-1-rt-pussytoes (x86_64)
Consult /var/lib/dkms/vboxhost/5.2.0/build/make.log for more information.
(2/5) Updating icon theme caches...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Updating the desktop file MIME type cache...
(5/5) Updating the MIME type database...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'

[rocketmouse@archlinux virtualbox-bin]$ ls -hAl /var/lib/dkms/virtualbox/
total 4.0K
drwxr-xr-x 3 root root 4.0K Nov 19 17:41 bin
[rocketmouse@archlinux virtualbox-bin]$ ls -hAl /var/lib/dkms/virtualbox/bin/
total 4.0K
drwxr-xr-x 3 rocketmouse rocketmouse 4.0K Nov 19 17:42 build
lrwxrwxrwx 1 root root 23 Nov 14 09:34 source -> /usr/src/virtualbox-bin
[rocketmouse@archlinux virtualbox-bin]$ ls -hAld /usr/src/v*
drwxr-xr-x 6 root root 4.0K Nov 19 21:54 /usr/src/vboxhost-5.2.0
drwxr-xr-x 2 rocketmouse rocketmouse 4.0K Sep 17 20:40 /usr/src/virtualbox-bin

JFTR

[rocketmouse@archlinux virtualbox-bin]$ ls -hAld /usr/src/
drwxrwxr-x 43 root rocketmouse 4.0K Nov 18 08:00 /usr/src/

Fixing the link

[rocketmouse@archlinux virtualbox-bin]$ sudo unlink /var/lib/dkms/virtualbox/bin/source
[sudo] password for rocketmouse:
[rocketmouse@archlinux virtualbox-bin]$ sudo ln -s /usr/src/vboxhost-5.2.0 /var/lib/dkms/virtualbox/bin/source
[rocketmouse@archlinux virtualbox-bin]$ ls -hAl /var/lib/dkms/virtualbox/bin/
total 4.0K
drwxr-xr-x 3 rocketmouse rocketmouse 4.0K Nov 19 17:42 build
lrwxrwxrwx 1 root root 23 Nov 19 22:05 source -> /usr/src/vboxhost-5.2.0

4.14.0-2-ARCH is from testing, but my Arch install is an up to date install with testing commented out.

[rocketmouse@archlinux virtualbox-bin]$ sudo dkms install vboxhost/5.2.0 -k 4.14.0-2-ARCH

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.14.0-2-ARCH -C /usr/lib/modules/4.14.0-2-ARCH/build M=/var/lib/dkms/vboxhost/5.2.0/build..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.14.0-2-ARCH (x86_64)
Consult /var/lib/dkms/vboxhost/5.2.0/build/make.log for more information.

[rocketmouse@archlinux virtualbox-bin]$ grep "testing]" -A3 /etc/pacman.conf
#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

--
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

--
#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[rocketmouse@archlinux virtualbox-bin]$ grep -i error /var/lib/dkms/vboxhost/5.2.0/build/make.log
/var/lib/dkms/vboxhost/5.2.0/build/vboxnetflt/linux/VBoxNetFlt-linux.c:741:24: error: ‘SKB_GSO_UDP’ undeclared (first use in this function); did you mean ‘SKB_GSO_ESP’?
/var/lib/dkms/vboxhost/5.2.0/build/vboxnetflt/linux/VBoxNetFlt-linux.c:1276:53: error: ‘SKB_GSO_UDP’ undeclared (first use in this function); did you mean ‘SKB_GSO_ESP’?
/var/lib/dkms/vboxhost/5.2.0/build/vboxnetflt/linux/VBoxNetFlt-linux.c:1526:47: error: ‘SKB_GSO_UDP’ undeclared (first use in this function); did you mean ‘SKB_GSO_ESP’?
make[2]: *** [scripts/Makefile.build:314: /var/lib/dkms/vboxhost/5.2.0/build/vboxnetflt/linux/VBoxNetFlt-linux.o] Error 1
make[1]: *** [scripts/Makefile.build:573: /var/lib/dkms/vboxhost/5.2.0/build/vboxnetflt] Error 2
make: *** [Makefile:1503: _module_/var/lib/dkms/vboxhost/5.2.0/build] Error 2

gary9872 commented on 2017-11-15 02:31

Ralf, I had another DKMS issue, which should be fixed The one you are mentioning is different.

I'm trying to replicate your issue.

Pacman -S linux-header gives:

[snip]
(1/3) Install DKMS modules
==> dkms install nvidia/387.22 -k 4.13.11-1-ARCH
==> dkms install vboxhost/5.2.0 -k 4.13.11-1-ARCH
(2/3) Updating linux initcpios
[snip]
(no errors)

asp checkout virtualbox <--- I don't maintain this version.(OSE/community)


The dkms module should be vboxhost rather than virtualbox you seem to have

and should look something like this

rwxrwxrwx 1 root root 23 Nov 14 21:25 source -> /usr/src/vboxhost-5.2.0
drwxr-xr-x 3 root root 4096 Nov 14 21:26 4.13.11-1-ARCH


Ralf_Mardorf commented on 2017-11-14 08:37

$ sudo rm -Ir /var/lib/dkms/virtualbox/bin/
rm: remove 1 argument recursively? y
$ sudo rm -Ir /var/lib/dkms/virtualbox/bin/
rm: remove 1 argument recursively? y
rm: cannot remove '/var/lib/dkms/virtualbox/bin/': No such file or directory
$ sudo pacman -S linux{,-docs,-headers}
[snip]
$ ls -hAl /var/lib/dkms/virtualbox/bin/
total 4.0K
drwxr-xr-x 3 rocketmouse rocketmouse 4.0K Nov 14 09:34 build
lrwxrwxrwx 1 root root 23 Nov 14 09:34 source -> /usr/src/virtualbox-bin

Ralf_Mardorf commented on 2017-11-14 08:19

Remember, the flaw doesn't affect building the modules, they are located in /lib/modules/*/kernel/misc/.
I'm short in time, so I only did a short test:

$ asp update
[snip]
$ asp checkout virtualbox
Cloning into '/tmp/virtualbox'...
done.
$ grep VER virtualbox/trunk/virtualbox-host-dkms.conf
PACKAGE_VERSION=@VERSION@_OSE
$ grep VER /usr/src/virtualbox-bin/dkms.conf
PACKAGE_VERSION=
$ nano /usr/src/virtualbox-bin/dkms.conf
$ grep VER /usr/src/virtualbox-bin/dkms.conf
PACKAGE_VERSION=5.2.0
$ sudo pacman -S linux{,-docs,-headers}
[snip]
:: Running post-transaction hooks...
(1/3) Install DKMS modules
==> dkms install vboxhost/5.2.0 -k 4.13.12-1-ARCH
==> dkms install virtualbox/bin -k 4.13.12-1-ARCH
Error! Bad return status for module build on kernel: 4.13.12-1-ARCH (x86_64)
Consult /var/lib/dkms/virtualbox/bin/build/make.log for more information.
[snip]

Ralf_Mardorf commented on 2017-11-14 06:32

# pacman -S linux linux-headers
[snip]
Packages (2) linux-4.13.12-1 linux-headers-4.13.12-1
[snip]
:: Running post-transaction hooks...
(1/3) Install DKMS modules
==> dkms install vboxhost/5.2.0 -k 4.13.12-1-ARCH
==> dkms install virtualbox/bin -k 4.13.12-1-ARCH
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
Error! Bad conf file.
File: /usr/src/virtualbox-bin/dkms.conf
does not represent a valid dkms.conf file.
[snip]
$ pacman -Q virtualbox-bin
virtualbox-bin 5.2.0-1

All comments