You are not logged in.
6.1.6 is here https://www.archlinux.org/packages/comm … est-utils/
community/virtualbox-guest-modules-arch 6.0.8-17.0 [installed]
Virtualbox guest kernel modules for Arch Kernel
community/virtualbox-guest-utils 6.0.8-2.0 [installed]
VirtualBox Guest userspace utilities
https://www.archlinux.org/packages/core/x86_64/linux/
Provides: VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Last edited by radli (2020-11-05 17:59:49)
Offline
Is part of virtualbox which refuses to build for some time, either due to exhausting the virtual address
space of 4GB or in extremely helpful errors like 'Vbox.sh not found".
Offline
/build/virtualbox/src/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp:313:49: error: invalid conversion from â {aka â} to âEAD
313 | rc = RTThreadCreate(&mX11MonitorThread, x11MonitorThreadFunction, 0, 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(RTTHREAD, void*) {aka int (*)(RTTHREADINT*, void*)}
In file included from /build/virtualbox/src/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp:49:
/build/virtualbox/src/VirtualBox-6.1.6/include/iprt/thread.h:279:59: note: initializing argument 2 of â
279 | RTDECL(int) RTThreadCreate(PRTTHREAD pThread, PFNRTTHREAD pfnThread, void *pvUser, size_t cbStack,
| ~~~~~~~~~~~~^~~~~~~~~
kmk: *** [/build/virtualbox/src/VirtualBox-6.1.6/kBuild/footer-pass2-compiling-targets.kmk:277: /build/virtualbox/src/VirtualBox-6.1.6/out/linux.x86/release/obj/VBoxClient/display-svga-x11.o] Error 1
kmk: *** Waiting for unfinished jobs....
Yep, upstream (the authors) don't even bother to compile the code on 32-bit..
..I'm inclined to blacklist the whole load of virtualbox..
Offline
Thank you for your efforts and for the detailed error description.
I googled by your error string and found this
https://www.virtualbox.org/ticket/19494
They have just fixed the error and the fix is going to be in the next 6.1.x release.
[url=https://imgur.com/T5RUpFr.png]
[/url]
Btw,
It takes 7 days for them to fix a problem for 32-bit.
Offline
Hello,
6.1.8 is out https://www.archlinux.org/packages/comm … est-utils/
and the fix is on the board
https://www.virtualbox.org/ticket/19494
Could you update the package
virtualbox-guest-utils
?
Thank you.
Offline
Hmm, was abumann actually building 6.1.8 there, because his path suggests he was building 6.1.6, which according to that ticket won't build on 32-bit machines.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
Currently failing with a missing VBoxCOM.a library which leads to
kmk: *** No rule to make target '/build/virtualbox/src/VirtualBox-6.1.8/out/linux.x86/release/lib/VBoxCOM.a', needed by '/build/virtualbox/src/VirtualBox-6.1.8/out/linux.x86/release/obj/vboximg-mount/vboximg-mount'. Stop.
libxpcom is enabled, as far as I can tell. Currently diffing some 32-bit and 64-bit build logs (to find the 10 differences
in the picture).
No, for some reason 32-bit doesn't build xpcom, disabling vboximg-mount for now..
Offline
Actually, I don't use the command https://www.virtualbox.org/manual/ch05. … ximg-mount
Offline
Sorry,
the version is still community/virtualbox-guest-utils 6.0.8-2.0
Are you working on that?
Offline
Virtualbox-guest-utils isn't listed as being broken, but maybe the build systems being too clever for me. FWIW the virtualbox package build fails with error:
==> Starting package_virtualbox()...
install: cannot stat 'VBox.sh': No such file or directory
==> ERROR: A failure occurred in package_virtualbox().
Aborting...
That sounds like a straightforward fix to me. But it may not be the actual problem you are looking for /dons robe and waves hands in an alec guinness manner
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
VBox.sh missing is only one issue. If XPCOM just doesn't compile it has other consequences for all tools communicating
to the virtualbox service (web interfaces for instance like https://code.google.com/archive/p/vboxweb/).
And I fear other things fail not only a missing VBox.sh so more files might be missing.
Offline
I can PM my credentials to you to the https://www.virtualbox.org/wiki/Bugtracker if it helps. There you can post a new ticket https://www.virtualbox.org/newticket
Or you can post full log files, subject/description of the problem right here. I will repost it to the Virtualbox BT.
Offline
VirtualBox 6.1.10 is out
https://www.virtualbox.org/wiki/Changelog-6.1#v10
https://www.archlinux.org/packages/comm … est-utils/
Could you please try to compile for this version?
Offline
Hello,
Hope you can help me sort out this issue.
Due to the old version, I can't update the whole system as after the full upgrade I've faced the following problem.
https://www.virtualbox.org/ticket/18862
I guess the problem has been fixed in the newest Guest Additions
as it's said here
https://www.virtualbox.org/wiki/Changelog-6.0
https://www.virtualbox.org/wiki/Changelog
Btw
VirtualBox 6.0.8 was released a year ago on May 13 2019
Last edited by radli (2020-06-18 17:07:37)
Offline
The main rep has done the next step
https://www.archlinux.org/packages/comm … est-utils/
virtualbox-guest-utils 6.1.12-1
Our rep is still with virtualbox-guest-utils version (6.0.8)
Offline
I have renamed the topic
-virtualbox-guest-utils version (6.0.8) is too old, needed (6.1.10)
+virtualbox-guest-utils version (6.0.8) is too old, needed (6.1.12)
Offline
I have renamed the topic
-virtualbox-guest-utils version (6.0.8) is too old, needed (6.1.12)
+virtualbox-guest-utils version (6.0.8) is too old, needed (6.1.14)
Offline
I have renamed the topic
-virtualbox-guest-utils version (6.0.8) is too old, needed (6.1.14)
+virtualbox-guest-utils version (6.0.8) is too old, needed (6.1.16)
btw
they still support 32-bit Linux guest
here is the proof
https://www.virtualbox.org/wiki/Changelog-6.1#v16
Linux guest: Workaround to improve resizing of 32-bit VMs with VMSVGA graphics controller, and do not try to use RandR version 1.3 due to bugs causing the X server to hang
Offline
Just build it yourself. Here's the PKGBUILD I use:
# Maintainer: Sébastien "Seblu" Luttringer
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=virtualbox
pkgname=('virtualbox-guest-dkms'
'virtualbox-guest-utils')
pkgver=6.1.16
_tarver=${pkgver}
pkgrel=1
_vboxsf_commit='5aba938bcabd978e4615186ad7d8617d633e6f30'
arch=('i686' 'x86_64')
url='https://virtualbox.org/'
license=('GPL' 'custom')
makedepends=('alsa-lib'
'bin86'
'cdrkit'
'curl'
'dev86'
'device-mapper'
'git'
'glu'
'gsoap'
'iasl'
'jdk7-openjdk'
'libidl2'
'libpulse'
'libstdc++5'
'libvncserver'
'libvpx'
'libxcomposite'
'libxcursor'
'libxinerama'
'libxml2'
'libxmu'
'libxrandr'
'libxslt'
'libxtst'
'linux-headers'
'mesa'
'opus'
'python'
'qt5-base'
'qt5-x11extras'
'qt5-tools'
'sdl'
'sdl_ttf'
'vde2'
'xalan-c'
'xorgproto'
'xorg-server-devel')
source=("https://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${_tarver}.tar.bz2"
# We need to build a modified version of vboxsf for Linux 4.16
# https://bugzilla.redhat.com/show_bug.cgi?id=1481630#c65
"git+https://github.com/jwrdegoede/vboxsf#commit=$_vboxsf_commit"
'virtualbox-host-dkms.conf'
'virtualbox-vboxsf-dkms.conf'
'virtualbox.sysusers'
'virtualbox-guest-utils.sysusers'
'60-vboxdrv.rules'
'60-vboxguest.rules'
'LocalConfig.kmk'
'vboxservice.service'
'vboxservice-nox.service'
'vboxdrmclient.path'
'vboxdrmclient.service'
'vboxweb.service'
'vboxreload'
'001-disable-update.patch'
'005-gsoap-build.patch'
'006-rdesktop-vrdp-keymap-path.patch'
'008-no-vboxvideo.patch'
'012-vbglR3GuestCtrlDetectPeekGetCancelSupport.patch'
'013-Makefile.patch'
'016-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch'
'017-fix-narrowing-conversion.patch'
'018-xclient.patch')
sha256sums=('49c1990da16d8a3d5bda8cdb961ec8195a901e67e4c79aea44c1521a5fc2f9f1'
'SKIP'
'76d98ea062fcad9e5e3fa981d046a6eb12a3e718a296544a68b66f4b65cb56db'
'c1ccfaa3a37d6b227cd65de944df2d68cbf178a857b6ab15c04b8fa05693f252'
'2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
'da4c49f6ca94e047e196cdbcba2c321199f4760056ea66e0fbc659353e128c9e'
'9c5238183019f9ebc7d92a8582cad232f471eab9d3278786225abc1a1c7bf66e'
'033c597e0f5285d2ddb0490868e5b6f945f45c7b1b1152a02a9e6fea438b2c95'
'240ddf9c532b34380dd9bdd56c6302f323ded9ca95ccf5c50b6e44a5cb533cc9'
'c41a801fe344a4471a7b61a4764d1d857c403e4fb96e2ba6bc89c77a35f2be7a'
'01dbb921bd57a852919cc78be5b73580a564f28ebab2fe8d6c9b8301265cbfce'
'83d8f24bff25bb925083cf39b3195236c6136105e62417712cc3f25b92e14b47'
'2beab8de525220fa418c9873f9e0d657ddbad4ff9e4a46d7053e6cd9bc4ce95e'
'e6e875ef186578b53106d7f6af48e426cdaf1b4e86834f01696b8ef1c685787f'
'4001b5927348fe669a541e80526d4f9ea91b883805f102f7d571edbb482a9b9d'
'9ee947c9b5ec5b25f52d3e72340fc3a57ca6e65a604e15b669ac582a3fb0dc1b'
'7d2da8fe10a90f76bbfc80ad1f55df4414f118cd10e10abfb76070326abebd46'
'13c6ca9be0f91582445fd2a14a8c58a0625a15d9cb98cb6e8c2736d77ea976ab'
'053bfeee8863f3ffdf2f0e3f9f0d77dc61dd32764700a97a7635fd8611e20491'
'81900e13d36630488accd8c0bfd2ceb69563fb2c4f0f171caba1cca59d438024'
'da7e58ed37dc23c6202aab3017864579a99e78417f3421ddcc98a198198fe2c9'
'100c9e14e9cfb12ae65364e830153d2481cf272ceeb39d11c6b203bc6e35bf0c'
'5aac692909a0a0ec56b08bdece9e42cf7463abdca9da2f990d441ff463be6a99'
'cac5a573e9ed5aafb2f469c2e6fffb8cd4f389bbadba5a968c9f65be7a72fee3')
prepare() {
cd "VirtualBox-$pkgver"
# apply patch from the source array (should be a pacman feature)
local filename
for filename in "${source[@]}"; do
if [[ "$filename" =~ \.patch$ ]]; then
echo "Applying patch ${filename##*/}"
patch -p1 -N -i "$srcdir/${filename##*/}"
fi
done
echo 'Applying local config'
cp "$srcdir/LocalConfig.kmk" .
echo 'Use our CFLAGS'
echo "VBOX_GCC_OPT=$CXXFLAGS" >> LocalConfig.kmk
}
build() {
cd "VirtualBox-$pkgver"
echo 'Build virtualbox'
./configure \
--only-additions \
--disable-kmods \
--with-makeself=/usr/bin/echo
# fake makeself binary to compile without nofatal
# makeself is used by linux installer. we don't need it.
source ./env.sh
kmk
}
package_virtualbox-guest-dkms() {
pkgdesc='VirtualBox Guest kernel modules sources'
depends=('dkms' 'gcc' 'make')
replaces=('virtualbox-archlinux-source'
'virtualbox-guest-source'
'virtualbox-guest-modules-lts')
provides=('VIRTUALBOX-GUEST-MODULES')
conflicts=('virtualbox-archlinux-source' 'virtualbox-guest-source')
install=virtualbox-guest-dkms.install
install -dm0755 "$pkgdir/usr/src"
source "VirtualBox-$pkgver/env.sh"
cd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
# licence
install -Dm0644 "$srcdir/VirtualBox-$pkgver/COPYING" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# module loading
local _p="$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
install -Dm0644 /dev/null "$_p"
printf "vboxguest\nvboxsf\nvboxvideo\n" > "$_p"
# vboxsf module for Linux 4.16 to Linux 5.5
install -d "$pkgdir/usr/src/vboxsf-${pkgver}_OSE"
cp -rT "$srcdir/vboxsf" "$pkgdir/usr/src/vboxsf-${pkgver}_OSE/vboxsf"
rm -rf "$pkgdir/usr/src/vboxsf-${pkgver}_OSE/vboxsf/.git"
echo "obj-m = vboxsf/" >"$pkgdir/usr/src/vboxsf-${pkgver}_OSE/Makefile"
local _p="$pkgdir/usr/src/vboxsf-${pkgver}_OSE/dkms.conf"
install -Dm0644 "$srcdir/virtualbox-vboxsf-dkms.conf" "$_p"
sed -i "s,@VERSION@,$pkgver," "$_p"
}
package_virtualbox-guest-utils() {
pkgdesc='VirtualBox Guest userspace utilities'
depends=('glibc' 'pam' 'libx11' 'libxcomposite' 'libxdamage' 'libxext'
'libxfixes' 'libxmu' 'libxt' 'xorg-xrandr' 'xf86-video-vmware'
'VIRTUALBOX-GUEST-MODULES')
replaces=('virtualbox-archlinux-additions' 'virtualbox-guest-additions')
conflicts=('virtualbox-archlinux-additions' 'virtualbox-guest-additions' 'virtualbox-guest-utils-nox')
source "VirtualBox-$pkgver/env.sh"
pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
install -d "$pkgdir/usr/bin"
install -m0755 VBoxClient VBoxControl VBoxDRMClient VBoxService "$pkgdir/usr/bin"
install -m0755 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
"$pkgdir"/usr/bin/VBoxClient-all
install -m0644 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/vboxclient.desktop \
"$pkgdir"/etc/xdg/autostart/vboxclient.desktop
install -m0755 -D pam_vbox.so "$pkgdir/usr/lib/security/pam_vbox.so"
popd
# systemd stuff
install -Dm0644 60-vboxguest.rules "$pkgdir/usr/lib/udev/rules.d/60-vboxguest.rules"
install -Dm0644 vboxdrmclient.path "$pkgdir/usr/lib/systemd/system/vboxdrmclient.path"
install -Dm0644 vboxdrmclient.service "$pkgdir/usr/lib/systemd/system/vboxdrmclient.service"
install -Dm0644 vboxservice.service "$pkgdir/usr/lib/systemd/system/vboxservice.service"
install -Dm0644 virtualbox-guest-utils.sysusers "$pkgdir/usr/lib/sysusers.d/virtualbox-guest-utils.conf"
# licence
install -Dm0644 VirtualBox-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
The host bits no longer build and haven't been buildable for a while now. The guest components build just fine though.
Edit: sorry it's an afterthought, but it goes without saying that you still have to get the patches and other support files from archlinux.org (just search for virtualbox and go to Source Files). You'll have to download each one. Then replace the PKGBUILD with the one above. I just download everything and then modify the PKGBUILD for guest-only building. If you feel like going to the trouble of removing the patches and other support files you don;t need, like virtualbox-host-dkms.conf, for example... well, that's up to you. IMO, it's more trouble than it's worth. Keep this one around for reference, though. The modifications needed are made to pkgname and the build function, and you'll have to remove the unneeded package_ functions. These are simple changes that can be made easily to any version's PKGBUILD, going forward.
Last edited by jghodd (2020-11-05 23:18:49)
Offline
FWIW, that's not a pkgbuild which builds from source reproducably, it's one that downloads a binary which they promise matches the released source. That's not a showstopper these days for those of us running old machines, it's something we have to rely on occasionally when builds wont work for some as yet unresolved reason, but it's worth being aware of.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
No it is not a packaged binary. It's built from source. That's the original full build PKGBUILD where I strip out most of the targets and change the build function for additions only. You don't run configure and kmk on a binary, nor do you set CFLAGS or apply patches to a binary. Did you even read it?
So. FWIW. This is a from-source build which I've used multiple times across several versions to support testing of the 32-bit releases of my distro.
Last edited by jghodd (2020-11-05 20:37:42)
Offline
Quite right, sorry about that. I mistook the curl line downloading the source dump for one that downloaded prebuild binaries, but I should have recognised that as being unlikely given the number of make depends, and the call to ./configure at the very least (I've not come across kmk before, but now I know it's a make tool).
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
I think, we should implement jghodd's patch to the PKGBUILD. If the host component(s) fail to build, we should at least build the client component(s).
Offline