Summary: | emerge fails for media-video/spca5xx when using kernel >= 2.6.19 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sarath Menon <gentoo> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for kernel 2.6.19 |
Created attachment 110910 [details, diff]
Patch for kernel 2.6.19
Patch attached.
Please search... *** This bug has been marked as a duplicate of bug 159176 *** |
>>> Compiling source in /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501 ... * Preparing spca5xx module Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. make -C /usr/src/linux M=/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501 CC=x86_64-pc-linux-gnu-gcc modules make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5' CC [M] /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_init_isoc': /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:1624: warning: assignment from incompatible pointer type /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_create_sysfs': /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3451: warning: ignoring return value of 'video_device_create_file', declared with attribute warn_unused_result /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3452: warning: ignoring return value of 'video_device_create_file', declared with attribute warn_unused_result /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3453: warning: ignoring return value of 'video_device_create_file', declared with attribute warn_unused_result make[2]: *** [/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1 make[1]: *** [_module_/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5' make: *** [default] Error 2 emerge fails because of missing linux/config.h with kernel 2.6.19. This file has been removed in favor of linux/autoconf.h. Attached patch fixes this issue on my computer, running x86_64. Reproducible: Always Steps to Reproduce: 1. emerge media-video/spca5xx-20060501-r2