sip-4.8.1 doesn't have problems, sip-4.8.2 dies with die "/usr/bin/python isn't valid program"; Reproducible: Always Steps to Reproduce: 1.emerge =sip-4.8.2 Actual Results: >>> Emerging (3 of 94) dev-python/sip-4.8.2 * sip-4.8.2.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking sip-4.8.2.tar.gz to /var/tmp/portage/dev-python/sip-4.8.2/work >>> Source unpacked in /var/tmp/portage/dev-python/sip-4.8.2/work >>> Preparing source in /var/tmp/portage/dev-python/sip-4.8.2/work/sip-4.8.2 ... * * ERROR: dev-python/sip-4.8.2 failed. * Call stack: * ebuild.sh, line 49: Called src_prepare * environment, line 1507: Called python_copy_sources * environment, line 1000: Called validate_PYTHON_ABIS * environment, line 1806: Called die * The specific snippet of code: * die "/usr/bin/python isn't valid program"; * The die message: * /usr/bin/python isn't valid program * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/sip-4.8.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/sip-4.8.2/temp/environment'. * >>> Failed to emerge dev-python/sip-4.8.2, Log file: >>> '/var/tmp/portage/dev-python/sip-4.8.2/temp/build.log' * Messages for package dev-python/sip-4.8.2: * * ERROR: dev-python/sip-4.8.2 failed. * Call stack: * ebuild.sh, line 49: Called src_prepare * environment, line 1507: Called python_copy_sources * environment, line 1000: Called validate_PYTHON_ABIS * environment, line 1806: Called die * The specific snippet of code: * die "/usr/bin/python isn't valid program"; * The die message: * /usr/bin/python isn't valid program * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/sip-4.8.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/sip-4.8.2/temp/environment'. * * GNU info directory index is up-to-date. Expected Results: >>> Installing (1 of 1) dev-python/sip-4.8.2
Check 'eselect python list' and 'ls -l /usr/bin/python'.
Is your portage tree up2date?
The reporter invalidly changed /usr/bin/python. Please run: emerge --sync emerge -1 ">=app-admin/eselect-python-20090804" eselect python set python2.6
i used it with python 2.5. I did not change /usr/bin/python i switched using eselect python. Is this issue related to python version?
The commands in comment #3 should help you. You probably performed invalid and unsupported workaround (manual symlinking of /usr/bin/python) for another bug.