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

Bug 318923

Summary: dev-python/lxml-2.2.8 fails to build with Python 3.2
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: bugs+gentoo, esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292402    
Attachments: lxml-2.2.6:20100507-201229.log

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-07 21:44:16 UTC
dev-python/lxml-2.2.6 fails to build with Python 3.2.
It contains files generated by dev-python/cython-0.11*. This bug has been fixed in >=dev-python/cython-0.12. Regeneration of these files is unsafe due to incompatible changes between dev-python/cython versions, so it's better to wait for a newer version of dev-python/lxml using >=dev-python/cython-0.12.

running build_ext
building 'lxml.etree' extension
creating build-3.2/temp.linux-x86_64-3.2
creating build-3.2/temp.linux-x86_64-3.2/src
creating build-3.2/temp.linux-x86_64-3.2/src/lxml
x86_64-pc-linux-gnu-gcc -pthread -march=core2 -pipe -O1 -fno-ident -Werror=implicit-function-declaration -fPIC -I/usr/include/libxml2 -I/usr/include/python3.2 -c src/lxml/lxml.etree.c -o build-3.2/temp.linux-x86_64-3.2/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function ‘__Pyx_Method_ClassMethod’:
src/lxml/lxml.etree.c:144938: error: ‘PyMethodDescrObject’ has no member named ‘d_type’
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-07 21:45:06 UTC
Created attachment 230741 [details]
lxml-2.2.6:20100507-201229.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-02-08 23:42:40 UTC
Fixed by upstream in dev-python/lxml-2.3.