I'm getting this error now on all interix machines when emerging dev-python/pycairo - should be there on all others too: ...[snip] running install_egg_info Writing /opt/gentoo/var/tmp/portage/dev-python/pycairo-1.8.8/image/opt/gentoo/usr/lib/python2.6/site-packages/pycairo-1.8.8-py2.6.egg-info ------------------------------------------------------- You should not use ${EPREFIX} with helpers. --> /opt/gentoo/usr/lib/python2.6/site-packages/cairo ------------------------------------------------------- * ERROR: dev-python/pycairo-1.8.8 failed: * failed with Python 2.6 in installation() function * * Call stack: * ebuild.sh: 51: <call call-ebuildshell 'src_install'> * environment: 393: <call src_install> * environment:3208: <call python_execute_function '-q' 'installation'> * environment:2859: die "${failure_message}"; * * If you need support, post the topmost build error, and the call stack if relevant. the message "You should not ..." comes from doins. Any ideas?
yeah. get_python_libdir returns the EPREFIX, so you need to strip that off before putting it into doins we recently changed this behaviour, get_python_libdir used not to return the EPREFIX.
so - pycairo neither calls get_python_libdir, nor does it call doins... so the problem must be somewhere else... but where?
(In reply to comment #2) > so - pycairo neither calls get_python_libdir, nor does it call doins... so the > problem must be somewhere else... but where? > strike that out.... damn :) search command was bogus ;)
i guess this is the problematic code: 76 installation() { 77 insinto "$(python_get_sitedir)/cairo" 78 doins src/__init__.py 79 } 80 python_execute_function -q installation is "local pysite=$(python_get_sitedir)/cairo"; insinto "${pysite#${EPREFIX}}" the preferred solution?
put on two lines, yes
done