Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310223 - Emerging dev-python/lxml-2.2.4 crashed returning "error: Cython does not appear to be installed on platform 'posix'"
Summary: Emerging dev-python/lxml-2.2.4 crashed returning "error: Cython does not appe...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 14:24 UTC by Arnaud Fleurentdidier Messaoudi
Modified: 2010-07-27 15:15 UTC (History)
1 user (show)

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 Arnaud Fleurentdidier Messaoudi 2010-03-19 14:24:01 UTC
Emerging dev-python/lxml-2.2.4 crashed returning "error: Cython does not appear to be installed on platform 'posix'"

Emerging dev-python/cython-0.12 instead of dev-python/cython-0.11.2 solved the issue

Reproducible: Always

Steps to Reproduce:
1. Forget to update for several months
2. emerge -uND world


Actual Results:  
error: Cython does not appear to be installed on platform 'posix'

Expected Results:  
installation

Issue solved by emerging dev-python/cython-0.12 instead of dev-python/cython-0.11.2 solved the issue

I post this bug in order to share a way to fix it
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-26 18:58:52 UTC
Please test with dev-python/lxml-2.2.6.
Comment 2 Aidan Thornton 2010-07-08 10:23:54 UTC
Bug still applies with dev-python/lxml-2.2.6. If dev-python/cython-0.11.2 is installed, emerge fails with the error given. Note that removing Cython totally makes the issue go away.

(Since I'm not the original reporter, I can't re-open this bug.)
Comment 3 Arnaud Fleurentdidier Messaoudi 2010-07-08 20:16:44 UTC
relating to Comment  #2 From Aidan Thornton  2010-07-08 10:23:54

Aidan Thornton said the bug was still reproductible. I re-open the bug, waiting for someone to post a way to fix it.

PS: I have dev-python/lxml-2.2.6 and dev-python/cython-0.12 installed on my system (but I am not up to date and can't play with updates yet), then it means that I've not been able to reproduce Aidan's bug.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-20 00:29:21 UTC
lxml tarballs contain files generated by Cython.
Comment 5 PetaMem R&D 2010-07-27 13:47:50 UTC
running build_ext
error: Cython does not appear to be installed on platform 'posix'
 * ERROR: dev-python/lxml-2.2.7 failed:

Problem reproducible IF cython 0.11 is installed. As there seems to be no dependency, the old version of cython remains when trying to install lxml

If I manually update to cython 0.13_beta0, the problem goes away.

IMHO a dependency bug. lxml should depend on cython >=0.13

Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-27 15:15:26 UTC
(In reply to comment #5)

Try to install dev-python/lxml after uninstalling dev-python/cython.