When emerging spca5xx, it tries to build in the kernel source dir without taking into account KBUILD_OUTPUT and adding the O=/path/to/output/dir Reproducible: Always Steps to Reproduce: 1. Build kernel and output to a different directory (e.g., make O=/usr/src/linux/foo) 2. emerge spca5xx 3. Actual Results: Compile fails at the first CC: CC [M] /var/tmp/portage/media-video/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.o /var/tmp/portage/media-video/spca5xx-20060301/work/spca5xx-20060301/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory Expected Results: Should add O=${KBUILD_OUTPUT}
*** This bug has been marked as a duplicate of bug 159176 ***
You should use media-video/gspcav1, not this p.masked stuff.