bash# emerge =gspcav1-20060925 >>> Emerging (1 of 1) media-video/gspcav1-20060925 to / ... * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.20-gentoo-r8/build * Found sources for kernel version: * 2.6.20-gentoo-r8 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking gspcav1-20060925.tar.gz to /var/tmp/portage/media-video/gspcav1-20060925/work * Converting gspcav1-20060925/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-video/gspcav1-20060925/work/gspcav1-20060925 ... * Preparing gspca module make -C /usr/src/linux M=/var/tmp/portage/media-video/gspcav1-20060925/work/gspcav1-20060925 CC=i686-pc-linux-gnu-gcc modules make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo-r8' CC [M] /var/tmp/portage/media-video/gspcav1-20060925/work/gspcav1-20060925/gspca_core.o CC [M] /var/tmp/portage/media-video/gspcav1-20060925/work/gspcav1-20060925/decoder/gspcadecoder.o /var/tmp/portage/media-video/gspcav1-20060925/work/gspcav1-20060925/gspca_core.c:36:26: error: linux/config.h: No such file or directory ... !!! ERROR: media-video/gspcav1-20060925 failed. This solves the problem to me (as seen in newer version of gspcav1): --------------------------- gspca_core.c:36 -#include <linux/config.h> +#ifndef AUTOCONF_INCLUDED +#include <linux/config.h> +#endif --------------------------- There is a newer version (gspcav1-20070110), however it does not work well to me (50% of an image retrieved from a webcam is broken). Would it be possible to backport "#ifndef AUTOCONF_INCLUDED" into version 20060925... and keep it in portage :) as the newer version does not work well, at least with my webcam. Thanks. Reproducible: Always
(In reply to comment #0) > There is a newer version (gspcav1-20070110), however it does not work well to > me (50% of an image retrieved from a webcam is broken). Would it be possible to > backport "#ifndef AUTOCONF_INCLUDED" into version 20060925... and keep it in > portage :) as the newer version does not work well, at least with my webcam. Would make a lot more sense to fix the new version issues, don't you think?
(In reply to comment #1) > (In reply to comment #0) > > There is a newer version (gspcav1-20070110), however it does not work well to > > me (50% of an image retrieved from a webcam is broken). Would it be possible to > > backport "#ifndef AUTOCONF_INCLUDED" into version 20060925... and keep it in > > portage :) as the newer version does not work well, at least with my webcam. > > Would make a lot more sense to fix the new version issues, don't you think? > Thanks for quick reply. It would be more complicated than this two-lines fix.. And the issue is fixed in the newests gspcav1 version already. I've just tried http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz and it works fine to me. So: 20060925 driver works fine, but emerging is broken (fix is easy, I am not sure if it is "old enough" to remove from portage instead of fixing the emerge issue, maybe you know...). 20070110 driver produces broken image (not sure how to fix, it is already fixed in newest version, not sure if it is my-webcam-specific or not), emerging works. 20070508 driver works fine, ebuild does not exist yet, of course. I think that Gentoo-related issue remains "media-video/gspcav1-20060925 does not emerge", as it is in portage and it does not emerge. It would be useful for somebody if it would. Fixing driver issues belongs rather to driver developer(s), and it is already done in the newest (todays) build, so maybe newer ebuild instead of the broken one would be nice solution :)
Ebuild was added to the tree Thanks