Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318925 - dev-python/pyyaml-3.09 fails to build with Python 3.2 (PyCObject)
Summary: dev-python/pyyaml-3.09 fails to build with Python 3.2 (PyCObject)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-3.2
  Show dependency tree
 
Reported: 2010-05-07 21:45 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-07-10 12:32 UTC (History)
1 user (show)

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


Attachments
pyyaml-3.09:20100507-212411.log (pyyaml-3.09:20100507-212411.log,13.67 KB, text/plain)
2010-05-07 21:46 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-07 21:45:18 UTC
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
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-07 21:46:07 UTC
Created attachment 230743 [details]
pyyaml-3.09:20100507-212411.log
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2010-07-20 21:02:25 UTC
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.
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2010-07-22 11:08:20 UTC
python 3.2 isn't even in portage yet.
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2011-07-10 12:32:51 UTC
pyyaml-3.10 in portage now. this release supports python 3.2.