dev-python/pyyaml-3.09 fails to build with Python 3.2 (PyCObject). It contains file generated by dev-python/cython-0.11*. This bug has been fixed in >=dev-python/cython-0.12. Regeneration of this file is unsafe due to incompatible changes between dev-python/cython versions, so it's better to wait for a newer version of dev-python/pyyaml using >=dev-python/cython-0.12. running build_ext building '_yaml' extension creating build-3.2/temp.linux-x86_64-3.2 creating build-3.2/temp.linux-x86_64-3.2/ext x86_64-pc-linux-gnu-gcc -pthread -march=core2 -pipe -O2 -fno-ident -Werror=implicit-function-declaration -fPIC -I/usr/include/python3.2 -c ext/_yaml.c -o build-3.2/temp.linux-x86_64-3.2/ext/_yaml.o ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’: ext/_yaml.c:1072: warning: assignment discards qualifiers from pointer target type ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’: ext/_yaml.c:1830: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type /usr/include/yaml.h:1367: note: expected ‘int (*)(void *, unsigned char *, size_t, size_t *)’ but argument is of type ‘int (*)(void *, char *, int, int *)’ ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter___init__’: ext/_yaml.c:10912: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type /usr/include/yaml.h:1829: note: expected ‘int (*)(void *, unsigned char *, size_t)’ but argument is of type ‘int (*)(void *, char *, int)’ ext/_yaml.c: In function ‘__Pyx_SetVtable’: ext/_yaml.c:20301: error: implicit declaration of function ‘PyCObject_FromVoidPtr’ ext/_yaml.c:20301: warning: assignment makes pointer from integer without a cast error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
Created attachment 230743 [details] pyyaml-3.09:20100507-212411.log
hmmm. last version is 3.09 from 2009-08-31. When do you think a new version will be out? I guess, it would be best to open a bug upstream.
python 3.2 isn't even in portage yet.
pyyaml-3.10 in portage now. this release supports python 3.2.