Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185819 - games-arcade/bub-n-bros does not build with python-2.5
Summary: games-arcade/bub-n-bros does not build with python-2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.5
  Show dependency tree
 
Reported: 2007-07-19 00:25 UTC by Santiago M. Mola (RETIRED)
Modified: 2007-08-13 19:14 UTC (History)
2 users (show)

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


Attachments
python2.5 compile fix (bubbob-python25.patch,970 bytes, patch)
2007-07-23 03:35 UTC, Luis Medinas (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago M. Mola (RETIRED) gentoo-dev 2007-07-19 00:25:09 UTC
f_nlocals, f_ncells, f_nfreevars, f_stack_size and f_restricted are deprecated in Python 2.5.
Those belong to /usr/include/python2.4/frameobject.h

This error happens both on bub-n-bros-1.1 and 1.5.

running build_ext
building 'statesaver' extension
creating build
creating build/temp.linux-i686-2.5
/usr/lib/ccache/bin/gcc -fno-strict-aliasing -march=pentium4 -O2 -pipe -fPIC -I/usr/include/python2.5 -c statesaver.c -o build/temp.linux-i686-2.5/statesaver.o
statesaver.c: En la función ‘genbuild’:
statesaver.c:47: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_nfreevars’
statesaver.c:47: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_ncells’
statesaver.c: En la función ‘gencopy’:
statesaver.c:98: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_stacksize’
statesaver.c:98: error: ‘PyFrameObject’ no tiene un miembro llamado ‘f_stacksize’
statesaver.c: En la función ‘key_richcmp’:
statesaver.c:184: error: ‘PyCmp_EQ’ no se declaró aquí (primer uso en esta función)
statesaver.c:184: error: (Cada identificador no declarado solamente se reporta una vez
statesaver.c:184: error: ara cada funcion en la que aparece.)
error: command '/usr/lib/ccache/bin/gcc' failed with exit status 1
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2007-07-23 03:34:19 UTC
ok i build a patch to fix this issue... aparently it works please give it a try. If it works as expected i'll submit upstream
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2007-07-23 03:35:13 UTC
Created attachment 125717 [details, diff]
python2.5 compile fix
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2007-08-09 04:56:56 UTC
ping on this ? can we get this done ?
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2007-08-13 19:14:27 UTC
Fixed, thanks Luis.