[Pkg-spca5xx-devel] Bug#500908: gspca-source: Fails to build on a custom kernel

Dylan Thurston dthurston at barnard.edu
Thu Oct 2 13:56:31 UTC 2008


Package: gspca-source
Version: 01.00.20-1
Severity: normal

An extract from 'make-kpkg modules':

------------------------------------------------------------
make[1]: Entering directory `/usr/src/modules/spca5xx'
fakeroot /usr/bin/make -w -f debian/rules kdist_clean kdist_config binary-modules
make[2]: Entering directory `/usr/src/modules/spca5xx'
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/spca5xx clean
make[3]: Entering directory `/usr/src/modules/spca5xx'
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
	drivers/usb/.spca5xx.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i
make[3]: Leaving directory `/usr/src/modules/spca5xx'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.26/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.26/g ;s/#KVERS#/2.6.26/g ; s/_KVERS_/2.6.26/g ; s/##KDREV##/amaryllis.6/g ; s/#KDREV#/amaryllis.6/g ; s/_KDREV_/amaryllis.6/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make -C /usr/src/modules/spca5xx KERNEL_VERSION=2.6.26 KERNELDIR=/usr/src/linux-source-2.6.26
make[3]: Entering directory `/usr/src/modules/spca5xx'
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
/usr/bin/make -C /usr/src/linux-source-2.6.26 SUBDIRS=/usr/src/modules/spca5xx CC=gcc-4.3 modules
make[4]: Entering directory `/usr/src/linux-source-2.6.26'
scripts/Makefile.build:46: *** CFLAGS was changed in "/usr/src/modules/spca5xx/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[4]: *** [_module_/usr/src/modules/spca5xx] Error 2
make[4]: Leaving directory `/usr/src/linux-source-2.6.26'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/usr/src/modules/spca5xx'
make[2]: *** [binary-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/spca5xx'
make[1]: *** [kdist_build] Error 2
make[1]: Leaving directory `/usr/src/modules/spca5xx'
Module /usr/src/modules/spca5xx failed.
Perhaps /usr/src/modules/spca5xx 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/spca5xx.
Hit return to Continue?
------------------------------------------------------------

Please let me know if you need more information.

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

Kernel: Linux 2.6.26
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gspca-source depends on:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  debhelper                     7.0.17     helper programs for debian/rules
ii  module-assistant              0.10.11.0  tool to make module package creati

gspca-source recommends no packages.

Versions of packages gspca-source suggests:
ii  kernel-package                11.001-0.1 A utility for building Linux kerne

-- no debconf information





More information about the Pkg-spca5xx-devel mailing list