Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167922 - emerge fails for media-video/spca5xx when using kernel >= 2.6.19
Summary: emerge fails for media-video/spca5xx when using kernel >= 2.6.19
Status: RESOLVED DUPLICATE of bug 159176
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 20:28 UTC by Sarath Menon
Modified: 2007-02-21 20:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for kernel 2.6.19 (spca-20060501-2.6.19.patch,442 bytes, patch)
2007-02-21 20:29 UTC, Sarath Menon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sarath Menon 2007-02-21 20:28:43 UTC
>>> 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
Comment 1 Sarath Menon 2007-02-21 20:29:36 UTC
Created attachment 110910 [details, diff]
Patch for kernel 2.6.19

Patch attached.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-21 20:39:45 UTC
Please search...

*** This bug has been marked as a duplicate of bug 159176 ***