Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207826 - media-video/gspcav1-20070508 doesn't compile against gentoo-sources-2.6.24
Summary: media-video/gspcav1-20070508 doesn't compile against gentoo-sources-2.6.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mike Doty (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
: 201202 207955 (view as bug list)
Depends on: 203678
Blocks: kernel-2.6.24
  Show dependency tree
 
Reported: 2008-01-28 02:11 UTC by Mike Auty (RETIRED)
Modified: 2008-03-09 08:55 UTC (History)
7 users (show)

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


Attachments
Make gspcav1-20070508 compatible with 2.6.24 (gspcav1-20070508-kernel24.patch,5.41 KB, patch)
2008-01-31 03:02 UTC, Emopig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2008-01-28 02:11:17 UTC
Looks to have the same CFLAGS changed issue that alsa suffers from.
It might be a good idea to keep an eye on bug 207427.

If there's any further information I can provide, please just let me know...  5:)

 * Preparing gspca module
make -C /usr/src/linux M=/var/tmp/portage/media-video/gspcav1-20070508/work/gspcav1-20070508 CC=i686-pc-linux-gnu-gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-video/gspcav1-20070508/work/gspcav1-20070508/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/var/tmp/portage/media-video/gspcav1-20070508/work/gspcav1-20070508] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [default] Error 2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-28 20:01:35 UTC
*** Bug 207955 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-28 20:03:23 UTC
*** Bug 201202 has been marked as a duplicate of this bug. ***
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-01-30 03:26:04 UTC
Solution: use the newest version, gspcav1-20071224 (not in portage for
some reason).
Just rename the 20070508 ebuild to gspcav1-20071224.ebuild and it all works.
Comment 4 Emopig 2008-01-31 03:00:16 UTC
As Alex says, bumping to gspcav1-20071224 will solve this problem, but if people really do want to stick with 20070508 I patched this way back in the first few 2.6.24-rc kernels. 

Patch attached: gspcav1-20070508-kernel24.patch
Comment 5 Emopig 2008-01-31 03:02:00 UTC
Created attachment 142246 [details, diff]
Make gspcav1-20070508 compatible with 2.6.24
Comment 6 unnamedrambler 2008-02-27 01:30:58 UTC
Will the newest version get added to portage?
Comment 7 Mathieu Z 2008-03-01 01:36:42 UTC
(In reply to comment #5)
> Created an attachment (id=142246) [edit]
> Make gspcav1-20070508 compatible with 2.6.24
> 

patch failed:

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/media-video/gspcav1/files/gspcav1-20070508-kernel24.patch

===========================================
patching file gspcav1-20070508/gspca_core.c
Hunk #3 FAILED at 2674.
1 out of 3 hunks FAILED -- saving rejects to file gspcav1-20070508/gspca_core.c.rej
patching file gspcav1-20070508/Makefile
Hunk #1 FAILED at 28.
1 out of 1 hunk FAILED -- saving rejects to file gspcav1-20070508/Makefile.rej
===========================================
Comment 8 Mike Doty (RETIRED) gentoo-dev 2008-03-09 08:55:13 UTC
20071224 is in the tree, try that instead