Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404927 - dev-python/pyliblzma-0.5.3 fails with python 2.5
Summary: dev-python/pyliblzma-0.5.3 fails with python 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 02:42 UTC by Patrick Lauer
Modified: 2012-05-09 03:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-02-20 02:42:58 UTC
* Building of dev-python/pyliblzma-0.5.3 with CPython 2.5...
python2.5 setup.py build -b build-2.5
running build
running build_py
creating build-2.5
creating build-2.5/lib.linux-x86_64-2.5
copying liblzma.py -> build-2.5/lib.linux-x86_64-2.5
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'lzma' extension
creating build-2.5/temp.linux-x86_64-2.5
creating build-2.5/temp.linux-x86_64-2.5/src
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -DVERSION="0.5.3" -I/usr/include/python2.5 -c -DVERSION="0.5.3" -I/usr/include/python2.5 -c src/liblzma.c -o build-2.5/temp.linux-x86_64-2.5/src/liblzma.o -Wall -Wextra -pedantic -Wswitch-enum -Wswitch-default -std=gnu99
src/liblzma.c: In function ‘LZMA_compress’:
src/liblzma.c:23:2: error: ‘Py_buffer’ undeclared (first use in this function)
src/liblzma.c:23:2: note: each undeclared identifier is reported only once for each function it appears in
src/liblzma.c:23:12: error: expected ‘;’ before ‘pdata’
src/liblzma.c:35:13: error: ‘pdata’ undeclared (first use in this function)
src/liblzma.c:98:2: warning: implicit declaration of function ‘PyBuffer_Release’
src/liblzma.c: In function ‘LZMA_decompress’:
src/liblzma.c:123:2: error: ‘Py_buffer’ undeclared (first use in this function)
src/liblzma.c:123:12: error: expected ‘;’ before ‘pdata’
src/liblzma.c:134:7: error: ‘pdata’ undeclared (first use in this function)
src/liblzma.c: In function ‘initlzma’:
src/liblzma.c:259:6: warning: implicit declaration of function ‘Py_TYPE’
src/liblzma.c:259:6: error: lvalue required as left operand of assignment
src/liblzma.c:260:6: error: lvalue required as left operand of assignment
src/liblzma.c:261:6: error: lvalue required as left operand of assignment
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 * ERROR: dev-python/pyliblzma-0.5.3 failed (compile phase):
 *   Building failed with CPython 2.5 in distutils_building() function