Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21676 - [virtualbox-ose] is missing a dependency

Attached to Project: Community Packages
Opened by Alexander Solla (sollaa) - Friday, 12 November 2010, 00:26 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 01 December 2010, 23:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The virtualbox-ose package description is missing a dependency. Since we must compile the 'vboxdrv' kernel module for our system, we need a compiler chain. 'base-devel' works nicely.

Additional info:
* package version(s)
3.2.10_OSEr66523

Steps to reproduce:
Do fresh Arch Linux install. Do not install base-devel. Install virtualbox (should be successful). Try to run /etc/rc.d/setup. It returns warnings but no errors, but does not compile the module.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Wednesday, 01 December 2010, 23:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in trunk.
Comment by Ionut Biru (wonder) - Friday, 12 November 2010, 00:57 GMT
only make is needed. i would fix this in the next iteration
Comment by Alexander Solla (sollaa) - Friday, 12 November 2010, 04:02 GMT
I don't think make is the only thing that's needed. I just uninstalled base-devel and installed only make. /etc/vboxdrv setup barfed with the error:

:: Reloading VirtualBox kernel modules [BUSY] FATAL: Could not read '/lib/modules/2.6.35-ARCH/misc/vboxdrv.ko': No such file or directory

Acording to the log, make tries to invoke gcc, and complains:

make -f scripts/Makefile.build obj=/tmp/vbox.0
gcc -Wp,-MD,/tmp/vbox.0/linux/.VBoxNetAdp-linux.o.d -nostdinc -isystem -I/usr/src/linux-2.6.35-ARCH/arch/x86/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -I/lib/modules/2.6.35-ARCH/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxnetadp/ -I/tmp/vbox.0/vboxnetadp/include -I/tmp/vbox.0/vboxnetadp/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(VBoxNetAdp_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxnetadp)" -c -o /tmp/vbox.0/linux/VBoxNetAdp-linux.o /tmp/vbox.0/linux/VBoxNetAdp-linux.c


/bin/sh: gcc: command not found
make[2]: *** [/tmp/vbox.0/linux/VBoxNetAdp-linux.o] Error 127
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxnetadp] Error 2

Comment by Ionut Biru (wonder) - Friday, 12 November 2010, 10:19 GMT
ah, gcc and make :D

the first error is there because it tries to load the module but it can't
Comment by Alexander Solla (sollaa) - Saturday, 13 November 2010, 19:49 GMT
I found another missing dependency. I'm trying to set up a headless VirtualBox server, and I guess your use case is for the desktop. Fair enough. But it looks like even I will need "libpng".

So the list, so far, is:

make
gcc -- I still think we should just put 'base-devel' in instead of make and gcc.
libpng

I'll put any other missing dependencies here, if I find any more. (I don't think I will at this point. VBoxManage worked)

-Alex
Comment by Lukas Fleischer (lfleischer) - Wednesday, 01 December 2010, 23:27 GMT
sollaa: libpng is a dependency of Qt which is an optdep of virtualbox-ose.

Loading...