Package: virtualbox-ose-guest-source
Version: 1.5.6-dfsg-6
Severity: normal
Tags: patch

While virtualbox-ose-source builds, and works, well with kernel 2.6.25, 
virtualbox-ose-guest-source fails with the following error message:

LANG= m-a --kvers-list $(uname -r) --kernel-dir /usr/src/linux-headers-$(uname 
-r)/ --userdir /tmp/pkg/ --text-mode build virtualbox-ose-guest-source
[...]
gcc-4.2 
-Wp,-MD,/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/.vfsmod.o.d 
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL__ 
-Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -O2  -fno-stack-protector -m32 
-msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2  
-march=i686 -mtune=generic -ffreestanding   -pipe -Wno-sign-compare 
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow 
-Iinclude/asm-x86/mach-default -fomit-frame-pointer 
-Wdeclaration-after-statement -Wno-pointer-sign -fshort-wchar 
-I/usr/src/linux-headers-2.6.25-0.slh.10-sidux-686//include 
-I/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/ 
-I/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/include 
-I/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/r0drv/linux 
-D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 
-DVBOX_HGCM -DLOG_TO_BACKDOOR    -DMODULE -D"KBUILD_STR(s)=#s" 
-D"KBUILD_BASENAME=KBUILD_STR(vfsmod)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxvfs)" 
-c -o /tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/.tmp_vfsmod.o 
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.c
In file included from 
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.c:94:
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/dirops.c: In function 
'sf_lookup':
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/dirops.c:289: error: 
implicit declaration of function 'iget'
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/dirops.c:289: warning: 
assignment makes pointer from integer without a cast
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/dirops.c: In function 
'sf_instantiate':
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/dirops.c:341: warning: 
assignment makes pointer from integer without a cast
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.c: In function 
'sf_read_super_aux':
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.c:260: warning: 
assignment makes pointer from integer without a cast
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.c: At top level:
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.c:373: error: 
unknown field 'read_inode' specified in initializer
/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.c:373: warning: 
initialization from incompatible pointer type
kmk[4]: *** [/tmp/pkg/usr_src/modules/virtualbox-ose-guest/vboxvfs/vfsmod.o] 
Error 1

Taking a look at SUN's/ Innotek's upstream svn suggests r7550 to fix this 
issue and rediffing it against virtualbox-ose 1.5.6-dfsg-6 (+fixing the 
version comparison to <2.6.25, instead of <2.4.25) indeed fixes this issue.

Successfully build- and runtime tested on i386 with kernel 2.6.24.5 and 
2.6.25 (amd64 and i386 host). The attached "02-2.6.25_part2.dpatch" is 
supposed to be applied in addition to the already existing 
"02-2.6.25.dpatch" (which just covers virtualbox-ose-source).

Regards
        Stefan Lippers-Hollmann

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-0.slh.10-sidux-686 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtualbox-ose-guest-source depends on:
ii  bzip2                   1.0.5-0.1        high-quality block-sorting file co
ii  debhelper               7.0.2            helper programs for debian/rules
ii  dpatch                  2.0.29           patch maintenance system for Debia
ii  kbuild                  1:0.1.2svn1393-2 framework for writing simple makef
ii  module-assistant        0.10.11.0        tool to make module package creati

virtualbox-ose-guest-source recommends no packages.

-- no debconf information

Attachment: 02-2.6.25_part2.dpatch
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to