Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 206049

Summary: media-video/spca5xx-20060301 fails to use KBUILD_OUTPUT
Product: Gentoo Linux Reporter: userlame+gentoo
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description userlame+gentoo 2008-01-16 04:11:38 UTC
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}
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-16 06:05:06 UTC

*** This bug has been marked as a duplicate of bug 159176 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-16 06:05:38 UTC
You should use media-video/gspcav1, not this p.masked stuff.