Summary: | app-pda/libplist fails to build Cython binding when Python 3.2 is active one | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Current packages | Assignee: | Davide Pesavento (RETIRED) <pesa> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alanh, godfath3rr, pda, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
This can be easily worked around with a sed in ${S}/cmake/modules/FindCython.cmake Anyway, the issue is that the wrapper /usr/bin/cython is called, the wrapper extracts the active python version from 'eselect python show' (3.2 in this case) and then proceeds to call /usr/bin/cython-3.2, which fails. The correct fix is: http://code.google.com/p/gentoo-progress/source/detail?r=1947 +*cython-0.15.1-r1 (31 Mar 2012) +*cython-0.14.1-r1 (31 Mar 2012) + + 31 Mar 2012; Mike Gilbert <floppym@gentoo.org> +cython-0.14.1-r1.ebuild, + +cython-0.15.1-r1.ebuild: + Make cython wrapper respect EPYTHON. Ported from Progress. + Works fine with cython-0.15.1-r1 now. Thanks guys! *** Bug 412367 has been marked as a duplicate of this bug. *** |
Created attachment 307303 [details] build.log I will attach `emerge --info` if you really want it, but this is really a case of: Not working: # eselect python list Available Python interpreters: [1] python2.7 [2] python3.2 * Working: # eselect python list Available Python interpreters: [1] python2.7 * [2] python3.2 It looks like the python_set_active_version 2 in pkg_setup() is not completely respected. This is now important with >=libplist-1.8-r1 where USE="python" is for Cython for compability with >=libimobiledevice-1.1.2. As in, users will notice.