[Nix-dev] virtualbox failing build

Tom Ridge tom.j.ridge at googlemail.com
Mon Aug 30 20:30:18 CEST 2010


Dear All,

Not sure is this is the right place to post bug reports, but... I just
got this when trying to install virtualbox on i686 (see below).

Is the virtualbox package supposed to work?

In general, how can I distinguish the currently-working packages from
the bit-rotted packages (eg chrome browser package seems to need a
no-longer-available nightly build)? Is there somewhere I can view
build logs for packages?

Thanks

Tom

kBuild: Compiling vboxsf -
/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/src/VBox/Additions/linux/sharedfolders/regops.c
kBuild: Compiling vboxvideo_drm -
/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/src/VBox/Additions/linux/drm/vboxvideo_drm.c
/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/src/VBox/Additions/linux/sharedfolders/regops.c:528:
error: 'simple_sync_file' undeclared here (not in a function)
kmk[2]: *** [/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/out/linux.x86/release/obj/vboxsf/regops.o]
Error 1
The failing command:
@gcc -c -O2 -nostdinc -iwithprefix include -include
/nix/store/vafp5mp4nqwi53am06aqgv492v50pzig-linux-2.6.35.3/lib/modules/2.6.35.3/build/include/generated/autoconf.h
-Wall -Wextra -Wno-missing-field-initializers -Wno-unused
-Wno-trigraphs -Wstrict-prototypes -Wno-pointer-sign -Wno-sign-compare
-fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer
-fno-strict-aliasing -fno-common -fshort-wchar
-mpreferred-stack-boundary=2 -msoft-float
-I/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/src/VBox/Additions/common/VBoxGuestLib
-I/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/src/VBox/Runtime/r0drv/linux
-I/nix/store/vafp5mp4nqwi53am06aqgv492v50pzig-linux-2.6.35.3/lib/modules/2.6.35.3/build/include
-I/nix/store/vafp5mp4nqwi53am06aqgv492v50pzig-linux-2.6.35.3/lib/modules/2.6.35.3/build/include/asm-i386/mach-default
-I/nix/store/vafp5mp4nqwi53am06aqgv492v50pzig-linux-2.6.35.3/lib/modules/2.6.35.3/build/include/asm-x86/mach-default
-I/nix/store/vafp5mp4nqwi53am06aqgv492v50pzig-linux-2.6.35.3/lib/modules/2.6.35.3/build/include
-I/nix/store/vafp5mp4nqwi53am06aqgv492v50pzig-linux-2.6.35.3/lib/modules/2.6.35.3/build/include/asm/mach-default
-I/nix/store/vafp5mp4nqwi53am06aqgv492v50pzig-linux-2.6.35.3/lib/modules/2.6.35.3/build/include
-I/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/include
-I/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/out/linux.x86/release
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_LINUX
-D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -D__KERNEL__ -DMODULE
-DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DMODULE -DIN_RT_R0
-DVBOXGUEST -DVBOX_WITH_HGCM -DKBUILD_MODNAME=KBUILD_STR\(vboxsf\)
-DKBUILD_BASENAME=KBUILD_STR\(vboxsf\) -DDEBUG_HASH=2 -DDEBUG_HASH2=3
-Wp,-MD,/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/out/linux.x86/release/obj/vboxsf/regops.o.dep
-Wp,-MT,/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/out/linux.x86/release/obj/vboxsf/regops.o
-Wp,-MP -o /tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/out/linux.x86/release/obj/vboxsf/regops.o
/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE/src/VBox/Additions/linux/sharedfolders/regops.c
kmk[2]: *** Waiting for unfinished jobs....
kmk[2]: Leaving directory
`/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE'
kmk[2]: Entering directory
`/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE'
kmk[2]: *** Exiting with status 2
kmk[1]: *** [pass_binaries_this] Error 2
kmk[1]: Leaving directory
`/tmp/nix-build-dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv-0/VirtualBox-3.1.8_OSE'
kmk: *** [pass_binaries_order] Error 2
builder for `/nix/store/dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv'
failed with exit code 2
error: build of
`/nix/store/dd6p47cxpm1zk240ii82szrgrgcjrq4k-virtualbox-3.1.8-2.6.35.3.drv'
failed





-- 
Dr Tom Ridge, Lecturer, Department of Computer Science, University of Leicester



More information about the nix-dev mailing list