Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194932 - dev-python/pygame broken w/ python-2.5 on amd64
Summary: dev-python/pygame broken w/ python-2.5 on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on: 212179
Blocks: python-2.5
  Show dependency tree
 
Reported: 2007-10-06 19:49 UTC by Shane Hathaway
Modified: 2008-07-16 04:29 UTC (History)
1 user (show)

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


Attachments
patch to pygame-1.7.1.ebuild (pygame-ebuild.patch,341 bytes, patch)
2007-10-06 19:51 UTC, Shane Hathaway
Details | Diff
files/pygame-2.5.patch (pygame-2.5.patch,1.49 KB, patch)
2007-10-06 19:53 UTC, Shane Hathaway
Details | Diff
pygame-1.7.1-r1.ebuild (pygame-1.7.1-r1.ebuild,1.15 KB, text/plain)
2008-02-11 07:30 UTC, Arne Babenhauserheide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Hathaway 2007-10-06 19:49:40 UTC
The current Freevo will not start with the combination of AMD64 and Python 2.5 due to a pygame bug.  The exception says "ValueError: Buffer length does not equal format and resolution size".  See http://www.mail-archive.com/freevo-users@lists.sourceforge.net/msg13833.html

The pygame ebuild needs to be enhanced with this patch in order to run correctly with Python 2.5:

http://tvcentric.com/viewvc/freevo/branches/rel-1/freevo/contrib/patches/pygame-2.5.patch?revision=9530&view=markup


Reproducible: Always

Steps to Reproduce:
1. emerge freevo
2. freevo
Comment 1 Shane Hathaway 2007-10-06 19:51:28 UTC
Created attachment 132762 [details, diff]
patch to pygame-1.7.1.ebuild
Comment 2 Shane Hathaway 2007-10-06 19:53:08 UTC
Created attachment 132763 [details, diff]
files/pygame-2.5.patch

This is the patch mentioned in the problem description.
Comment 3 Arne Babenhauserheide 2008-02-11 07:30:23 UTC
Created attachment 143186 [details]
pygame-1.7.1-r1.ebuild

I thought it might speed up the process if I posted the working ebuild. 

I tested it, and it works for me (amd64).
Comment 4 Rene Dudfield 2008-02-28 03:57:45 UTC
Hello,

This has been fixed in the upcoming pygame 1.8 release.

Please upgrade to pygame 1.8 when it comes out shortly.

cheers,
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2008-04-07 19:26:43 UTC
it has been released, lets wait a few days for the python herd to do its thing
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2008-04-09 04:44:51 UTC
1.8.0 is in the tree
Comment 7 Renan T. Inácio 2008-07-16 04:29:29 UTC
The r1 ebuild does not compile on amd64 using Python 2.4, complaining that Py_ssize_t is not defined.

pygame-1.8.0 compiles fine though.