Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206049 - media-video/spca5xx-20060301 fails to use KBUILD_OUTPUT
Summary: media-video/spca5xx-20060301 fails to use KBUILD_OUTPUT
Status: VERIFIED 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: 2008-01-16 04:11 UTC by userlame+gentoo
Modified: 2008-01-16 06:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.