Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401791 - [progress] dev-python/celementtree-1.0.5 fails to build with PyPy 1.7
Summary: [progress] dev-python/celementtree-1.0.5 fails to build with PyPy 1.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-01 13:12 UTC by Ian Delaney (RETIRED)
Modified: 2012-02-01 16:55 UTC (History)
0 users

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


Attachments
the build log (celementtree_build.log,9.08 KB, text/plain)
2012-02-01 13:12 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-02-01 13:12:19 UTC
Created attachment 300633 [details]
the build log

Testing progress package celementtree-1.0.5.

x86_64-pc-linux-gnu-gcc -pthread -march=native -pipe -O2 -fPIC -DXML_STATIC -DHAVE_MEMMOVE=1 -DXML_NS=1 -DXML_DTD=1 -DBYTEORDER=1234 -DXML_CONTEXT_BYTES=1024 -I/usr/include/python2.6 -c cElementTree.c -o build-2.6/temp.linux-x86_64-2.6/cElementTree.o
cElementTree.c:1368:5: warning: initialization from incompatible pointer type
cElementTree.c:1371:5: warning: âintargfuncâ is deprecated
 
-------------------------------------- 
 File "setup.py", line 36, in <module>
    config_h = sysconfig.get_config_h_filename()
AttributeError: 'module' object has no attribute 'get_config_h_filename'
 * ERROR: dev-python/celementtree-1.0.5-r1 failed (compile phase):
 *   Building failed with PyPy 1.7 (Python 2.7) in distutils_building() function

more header file clumsiness
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-02-01 16:55:53 UTC
distutils.sysconfig.get_config_h_filename() works properly only in CPython.
dev-python/celementtree is rather deprecated. xml.etree.cElementTree module from standard library can be used instead.
PyPy ABIs restricted in r1708.