[Pkg-virtualbox-devel] Bug#556595: virtualbox-ose-source: missing dependency on kbuild
Bastian Kleineidam
calvin at debian.org
Tue Nov 17 01:02:38 UTC 2009
Package: virtualbox-ose-source
Version: 3.0.10-dfsg-2
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
when building the virtualbox kernel modules without kbuild installed,
I get this error:
make[2]: Entering directory `/usr/src/modules/virtualbox-ose'
fakeroot kmk -w -f debian/rules kdist_clean kdist_config binary-modules
/usr/bin/fakeroot: line 176: kmk: command not found
make[2]: *** [kdist_build] Error 127
make[2]: Leaving directory `/usr/src/modules/virtualbox-ose'
Module /usr/src/modules/virtualbox-ose failed.
Perhaps /usr/src/modules/virtualbox-ose does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /usr/src/modules/virtualbox-ose.
After installing kbuild the module builds fine, so I guess there
is a missing dependency on kbuild.
Attached is a complete build log.
Regards,
Bastian
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31grog2 (SMP w/2 CPU cores)
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-source depends on:
ii build-essential 11.4 Informational list of build-essent
ii dpkg-dev 1.15.4.1 Debian package development tools
ii make 3.81-7 An utility for Directing compilati
Versions of packages virtualbox-ose-source recommends:
ii dkms 2.1.0.1-2 Dynamic Kernel Module Support Fram
Versions of packages virtualbox-ose-source suggests:
ii bzip2 1.0.5-3 high-quality block-sorting file co
ii debhelper 7.4.3 helper programs for debian/rules
pn kbuild <none> (no description available)
ii module-assistant 0.11.1 tool to make module package creati
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAksB9ikACgkQeBwlBDLsbz4I0ACgrb/GMbvLF3GTfcxCw1d8CPdW
lxcAnAr2mimLUNwaHsC41EipzP0c7yTx
=xHTL
-----END PGP SIGNATURE-----
-------------- next part --------------
make[1]: Entering directory `/usr/src/linux-source-2.6.31'
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
This is kernel package version 12.025.
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog Control Control.bin86 config templates.in rules; do \
cp -f /usr/share/kernel-package/$file ./debian/; \
done
for dir in Config docs examples ruleset scripts pkg po; do \
cp -af /usr/share/kernel-package/$dir ./debian/; \
done
test -f debian/control || sed -e 's/=V/2.6.31grog2/g' \
-e 's/=D/2.6.31grog2-10.00.Custom/g' -e 's/=A/amd64/g' \
-e 's/=SA//g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer <unknown at unconfigured.in.etc.kernel-pkg.conf>/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
/usr/share/kernel-package/Control > debian/control
test -f debian/changelog || sed -e 's/=V/2.6.31grog2/g' \
-e 's/=D/2.6.31grog2-10.00.Custom/g' -e 's/=A/amd64/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
-e 's/=M/Unknown Kernel Package Maintainer <unknown at unconfigured.in.etc.kernel-pkg.conf>/g' \
/usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
test -d ./debian/stamp || mkdir debian/stamp
make -f debian/rules debian/stamp/conf/kernel-conf
make[2]: Entering directory `/usr/src/linux-source-2.6.31'
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make EXTRAVERSION=grog2 ARCH=x86_64 \
oldconfig;
make[3]: Entering directory `/usr/src/linux-source-2.6.31'
scripts/kconfig/conf -o arch/x86/Kconfig
#
# configuration written to .config
#
make[3]: Leaving directory `/usr/src/linux-source-2.6.31'
make EXTRAVERSION=grog2 ARCH=x86_64 prepare
make[3]: Entering directory `/usr/src/linux-source-2.6.31'
scripts/kconfig/conf -s arch/x86/Kconfig
make[3]: Leaving directory `/usr/src/linux-source-2.6.31'
make[3]: Entering directory `/usr/src/linux-source-2.6.31'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
make[3]: Leaving directory `/usr/src/linux-source-2.6.31'
echo done > debian/stamp/conf/kernel-conf
make[2]: Leaving directory `/usr/src/linux-source-2.6.31'
make -f debian/rules debian/stamp/conf/full-changelog
make[2]: Entering directory `/usr/src/linux-source-2.6.31'
====== making target debian/stamp/conf/full-changelog [new prereqs: ]======
for file in ChangeLog Control Control.bin86 config templates.in rules; do \
cp -f /usr/share/kernel-package/$file ./debian/; \
done
for dir in Config docs examples ruleset scripts pkg po; do \
cp -af /usr/share/kernel-package/$dir ./debian/; \
done
install -p -m 755 /usr/share/kernel-package/rules debian/rules
sed -e 's/=V/2.6.31grog2/g' \
-e 's/=D/2.6.31grog2-10.00.Custom/g' -e 's/=A/amd64/g' \
-e 's/=SA//g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer <unknown at unconfigured.in.etc.kernel-pkg.conf>/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
/usr/share/kernel-package/Control > debian/control
sed -e 's/=V/2.6.31grog2/g' -e 's/=D/2.6.31grog2-10.00.Custom/g' \
-e 's/=A/amd64/g' -e 's/=M/Unknown Kernel Package Maintainer <unknown at unconfigured.in.etc.kernel-pkg.conf>/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
/usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
make -f debian/rules debian/stamp/conf/kernel-conf
make[3]: Entering directory `/usr/src/linux-source-2.6.31'
make[3]: `debian/stamp/conf/kernel-conf' is up to date.
make[3]: Leaving directory `/usr/src/linux-source-2.6.31'
make[2]: Leaving directory `/usr/src/linux-source-2.6.31'
echo done > debian/stamp/conf/minimal_debian
make[1]: Leaving directory `/usr/src/linux-source-2.6.31'
exec debian/rules APPEND_TO_VERSION=grog2 INITRD=YES ROOT_CMD=fakeroot UNSIGN_CHANGELOG=YES UNSIGN_SOURCE=YES modules-image
make[1]: Entering directory `/usr/src/linux-source-2.6.31'
for module in /usr/src/modules/nvidia-kernel /usr/src/modules/lzma /usr/src/modules/virtualbox-ose /usr/src/modules/alsa-driver ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.31grog2" KSRC="/usr/src/linux-source-2.6.31" \
KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown at unconfigured.in.etc.kernel-pkg.conf" \
KPKG_DEST_DIR="/usr/src/linux-source-2.6.31/.." \
KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \
KPKG_EXTRAV_ARG="EXTRAVERSION=grog2" \
ARCH="x86_64" \
KDREV="2.6.31grog2-10.00.Custom" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "Xfakeroot" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not"; \
echo "in fact being built as root, please file a bug "; \
echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
else \
echo "Module $module does not exist"; \
echo "Hit return to Continue?"; \
fi; \
done
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
fakeroot /usr/bin/make -w -f debian/rules kdist_clean kdist_config binary-modules
make[3]: Entering directory `/usr/src/modules/nvidia-kernel'
/usr/bin/make -C . LINUXDIR=/usr/src/linux-source-2.6.31 KVERREL=2.6.31grog2 clean
make[4]: Entering directory `/usr/src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[4]: Leaving directory `/usr/src/modules/nvidia-kernel'
dh_clean
dh_clean: cannot read debian/control: No such file or directory
make[3]: [kdist_clean] Error 1 (ignored)
/usr/bin/make -w -f debian/rules configure
make[4]: Entering directory `/usr/src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.31grog2/g' debian/control.template > /usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.31grog2/g' debian/dirs.template > /usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.31grog2/g' debian/override.template > /usr/src/modules/nvidia-kernel/debian/override
make[4]: Leaving directory `/usr/src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.31grog2/g' debian/control.template > /usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.31grog2/g' debian/dirs.template > /usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.31grog2/g' debian/override.template > /usr/src/modules/nvidia-kernel/debian/override
dh_testroot
dh_prep
# Build the modules
/usr/bin/make -C . LINUXDIR=/usr/src/linux-source-2.6.31 KVERREL=2.6.31grog2
make[4]: Entering directory `/usr/src/modules/nvidia-kernel'
make -C /usr/src/linux-source-2.6.31 M=`/bin/pwd` modules
make[5]: Entering directory `/usr/src/linux-source-2.6.31'
CC [M] /usr/src/modules/nvidia-kernel/nv.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
/usr/src/modules/nvidia-kernel/nv.c: In function 'nv_kern_open':
/usr/src/modules/nvidia-kernel/nv.c:2188: warning: initialization from incompatible pointer type
CC [M] /usr/src/modules/nvidia-kernel/nv_gvi.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv_gvi.c:15:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv_gvi.c:15:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv_gvi.c:15:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv_gvi.c:15:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/nv_gvi.c:15:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/nv_gvi.c:15:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/nv-vm.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv-vm.c:14:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv-vm.c:14:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv-vm.c:14:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv-vm.c:14:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/nv-vm.c:14:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/nv-vm.c:14:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/os-agp.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/os-agp.c:24:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/os-agp.c:24:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/os-agp.c:24:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/os-agp.c:24:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/os-agp.c:24:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/os-agp.c:24:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/os-interface.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/os-interface.c:26:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/os-interface.c:26:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/os-interface.c:26:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/os-interface.c:26:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/os-interface.c:26:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/os-interface.c:26:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/os-registry.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/os-registry.c:15:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/os-registry.c:15:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/os-registry.c:15:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/os-registry.c:15:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/os-registry.c:15:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/os-registry.c:15:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/nv-i2c.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv-i2c.c:8:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nv-i2c.c:8:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv-i2c.c:8:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nv-i2c.c:8:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/nv-i2c.c:8:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/nv-i2c.c:8:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/modules/nvidia-kernel/nvacpi.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nvacpi.c:15:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:21,
from /usr/src/modules/nvidia-kernel/nvacpi.c:15:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2182: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nvacpi.c:15:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/pci.h:129,
from include/linux/pci.h:1112,
from /usr/src/modules/nvidia-kernel/nv-linux.h:92,
from /usr/src/modules/nvidia-kernel/nvacpi.c:15:
include/asm-generic/dma-mapping-common.h: In function 'dma_map_page':
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type 'void *' used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:119,
from /usr/src/modules/nvidia-kernel/nvacpi.c:15:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:149: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:152: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/mtrr.h:167,
from /usr/src/modules/nvidia-kernel/nv-linux.h:154,
from /usr/src/modules/nvidia-kernel/nvacpi.c:15:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h: In function 'compat_alloc_user_space':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/compat.h:210: warning: pointer of type 'void *' used in arithmetic
LD [M] /usr/src/modules/nvidia-kernel/nvidia.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/modules/nvidia-kernel/nvidia.mod.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/current.h:5,
from /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /usr/src/modules/nvidia-kernel/nvidia.mod.c:1:
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-source-2.6.31/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
LD [M] /usr/src/modules/nvidia-kernel/nvidia.ko
make[5]: Leaving directory `/usr/src/linux-source-2.6.31'
make[4]: Leaving directory `/usr/src/modules/nvidia-kernel'
# Install the modules
dh_installdirs
install -m 0644 /usr/src/modules/nvidia-kernel/debian/override /usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.31grog2/usr/share/lintian/overrides/nvidia-kernel-2.6.31grog2
install -m 0644 /usr/src/modules/nvidia-kernel/nvidia.ko /usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.6.31grog2/lib/modules/2.6.31grog2/nvidia/nvidia.ko ; \
dh_installdocs
dh_installmodules
dh_installchangelogs
dh_installmodules
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol -- -v190.42-1+2.6.31grog2-10.00.Custom
dh_md5sums
dh_builddeb --destdir=/usr/src/linux-source-2.6.31/..
dpkg-deb: building package `nvidia-kernel-2.6.31grog2' in `/usr/src/linux-source-2.6.31/../nvidia-kernel-2.6.31grog2_190.42-1+2.6.31grog2-10.00.Custom_amd64.deb'.
dh_prep
make[3]: Leaving directory `/usr/src/modules/nvidia-kernel'
fakeroot /usr/bin/make -w -f debian/rules kdist_clean
make[3]: Entering directory `/usr/src/modules/nvidia-kernel'
/usr/bin/make -C . LINUXDIR=/usr/src/linux-source-2.6.31 KVERREL=2.6.31grog2 clean
make[4]: Entering directory `/usr/src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[4]: Leaving directory `/usr/src/modules/nvidia-kernel'
dh_clean
make[3]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
Module /usr/src/modules/nvidia-kernel processed fine
make[2]: Entering directory `/usr/src/modules/lzma'
fakeroot /usr/bin/make -w -f debian/rules kdist_clean kdist_config binary-modules
make[3]: Entering directory `/usr/src/modules/lzma'
/usr/bin/make -C /usr/src/linux-source-2.6.31 M=/usr/src/modules/lzma clean
make[4]: Entering directory `/usr/src/linux-source-2.6.31'
make[4]: Leaving directory `/usr/src/linux-source-2.6.31'
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31grog2/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.31grog2/g ;s/#KVERS#/2.6.31grog2/g ; s/_KVERS_/2.6.31grog2/g ; s/##KDREV##/2.6.31grog2-10.00.Custom/g ; s/#KDREV#/2.6.31grog2-10.00.Custom/g ; s/_KDREV_/2.6.31grog2-10.00.Custom/g ' < $templ > ${templ%.modules.in}; \
done
dh_testroot
dh_clean -k
dh_installdirs
/usr/bin/make -C /usr/src/linux-source-2.6.31 M=/usr/src/modules/lzma modules
make[4]: Entering directory `/usr/src/linux-source-2.6.31'
CC [M] /usr/src/modules/lzma/uncomp.o
/usr/src/modules/lzma/uncomp.c: In function 'LzmaUncompress':
/usr/src/modules/lzma/uncomp.c:52: warning: assignment discards qualifiers from pointer target type
CC [M] /usr/src/modules/lzma/module.o
LD [M] /usr/src/modules/lzma/unlzma.o
LD [M] /usr/src/modules/lzma/sqlzma.o
Building modules, stage 2.
MODPOST 2 modules
CC /usr/src/modules/lzma/sqlzma.mod.o
LD [M] /usr/src/modules/lzma/sqlzma.ko
CC /usr/src/modules/lzma/unlzma.mod.o
LD [M] /usr/src/modules/lzma/unlzma.ko
make[4]: Leaving directory `/usr/src/linux-source-2.6.31'
# Install the module
mkdir -p debian/lzma-modules-2.6.31grog2/lib/modules/2.6.31grog2/extra
cp sqlzma.ko unlzma.ko debian/lzma-modules-2.6.31grog2/lib/modules/2.6.31grog2/extra
dh_installdocs
dh_installchangelogs
dh_installmodules
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol -- -v4.43-14+2.6.31grog2-10.00.Custom
dh_md5sums
dh_builddeb --destdir=/usr/src/linux-source-2.6.31/..
dpkg-deb: building package `lzma-modules-2.6.31grog2' in `/usr/src/linux-source-2.6.31/../lzma-modules-2.6.31grog2_4.43-14+2.6.31grog2-10.00.Custom_amd64.deb'.
dh_clean -k
make[3]: Leaving directory `/usr/src/modules/lzma'
fakeroot /usr/bin/make -w -f debian/rules kdist_clean
make[3]: Entering directory `/usr/src/modules/lzma'
/usr/bin/make -C /usr/src/linux-source-2.6.31 M=/usr/src/modules/lzma clean
make[4]: Entering directory `/usr/src/linux-source-2.6.31'
CLEAN /usr/src/modules/lzma/.tmp_versions
CLEAN /usr/src/modules/lzma/Module.symvers /usr/src/modules/lzma/modules.order
make[4]: Leaving directory `/usr/src/linux-source-2.6.31'
make[3]: Leaving directory `/usr/src/modules/lzma'
make[2]: Leaving directory `/usr/src/modules/lzma'
Module /usr/src/modules/lzma processed fine
make[2]: Entering directory `/usr/src/modules/virtualbox-ose'
fakeroot kmk -w -f debian/rules kdist_clean kdist_config binary-modules
/usr/bin/fakeroot: line 176: kmk: command not found
make[2]: *** [kdist_build] Error 127
make[2]: Leaving directory `/usr/src/modules/virtualbox-ose'
Module /usr/src/modules/virtualbox-ose failed.
Perhaps /usr/src/modules/virtualbox-ose does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /usr/src/modules/virtualbox-ose.
Hit return to Continue
More information about the Pkg-virtualbox-devel
mailing list