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

Bug 194932

Summary: dev-python/pygame broken w/ python-2.5 on amd64
Product: Gentoo Linux Reporter: Shane Hathaway <shane>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 212179    
Bug Blocks: 148333    
Attachments: patch to pygame-1.7.1.ebuild
files/pygame-2.5.patch
pygame-1.7.1-r1.ebuild

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.