Summary: | dev-python/pygame-1.9.1 fails to build with sys-kernel/linux-headers-2.6.38 due to V4L1 removal | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Billy DeVincentis <billydv1> |
Component: | [OLD] Games | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | martijn.schmidt, norman, orzel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://pygame.motherhamster.org/bugzilla/show_bug.cgi?id=68 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 359595 | ||
Attachments: |
Proposed patch which rips v4l version 1 support out of pygame.
Modified ebuild that will apply pygame-v4l.patch to the sources. |
Description
Billy DeVincentis
2011-03-21 13:01:09 UTC
I have stumbled upon this problem as well. I have checked that same error apears not only in pygame-1.9.1 but SVN as well. Therefore I have created bug report upstream http://pygame.motherhamster.org/bugzilla/show_bug.cgi?id=68 Created attachment 267105 [details, diff]
Proposed patch which rips v4l version 1 support out of pygame.
Submitted a patch for the issue upstream.
It removes v4l version 1 support from pygame, and probably isn't the cleanest way to do it, but at least it allows for pygame-1.9.1 to build with sys-kernel/linux-headers-2.6.38 installed.
However, since v4l1 was completely removed from the kernel as of 2.6.38 there isn't much point in keeping it anyway.
Another probable workaround would be "eselect python set python3.1" for the duration of the pygame merge.
Since the _camera module (which is what's coughing up the error) doesn't support Python 3, the setup script would automatically skip it and never run into the v4l checks.
Created attachment 267107 [details]
Modified ebuild that will apply pygame-v4l.patch to the sources.
The patch and modified ebuild posted by Martijn work fine for me. i have the same problem here. Fixed in 1.9.1-r1. *** Bug 361505 has been marked as a duplicate of this bug. *** |