When trying to cross-compile the latest python it always fails due to a wrong check. "python -V" does not only print the version but also "Python " in front of it and it prints to stderr. The following patch should fix this: <quote> --- python-2.4.4-r4.ebuild.orig 2007-07-07 18:22:57.000000000 +0000 +++ python-2.4.4-r4.ebuild 2007-07-07 18:23:41.000000000 +0000 @@ -56,7 +56,7 @@ cd ${S} if tc-is-cross-compiler ; then - [[ $(python -V) != ${PV} ]] && \ + [[ "$(python -V 2>&1)" != "Python ${PV}" ]] && \ die "Crosscompiling requires the same host and build versions." else rm "${WORKDIR}/${PV}"/*_all_crosscompile.patch </quote> Cross compiling fails never the less, but that's another thing.
*** This bug has been marked as a duplicate of bug 184308 ***