To prevent build failures like: * Package: app-i18n/ibus-table-1.2.0.20100111 * Repository: gentoo * Maintainer: cjk@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib nls test userland_GNU * FEATURES: ccache sandbox * Please rebuild dev-lang/python:3.1 with the following USE flags enabled: sqlite * ERROR: app-i18n/ibus-table-1.2.0.20100111 failed (setup phase): * Please rebuild dev-lang/python:3.1 with the following USE flags enabled: sqlite * * Call stack: * ebuild.sh, line 91: Called pkg_setup * ebuild.sh, line 321: Called python_pkg_setup * python.eclass, line 459: Called python_pkg_setup_check_USE_flags * python.eclass, line 440: Called die * The specific snippet of code: * die "Please rebuild ${python_atom} with the following USE flags enabled: ${PYTHON_USE_WITH}" * * If you need support, post the output of 'emerge --info =app-i18n/ibus-table-1.2.0.20100111', * the complete build log and the output of 'emerge -pqv =app-i18n/ibus-table-1.2.0.20100111'. * The complete build log is located at '/var/log/portage/build/app-i18n/ibus-table-1.2.0.20100111:20111109-185315.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/ibus-table-1.2.0.20100111/temp/die.env'. * S: '/var/tmp/portage/app-i18n/ibus-table-1.2.0.20100111/work/ibus-table-1.2.0.20100111' Reproducible: Always
Should python.eclass handle this? The ebuild is following python.eclass guide http://www.gentoo.org/proj/en/Python/developersguide.xml > EAPI="3" > PYTHON_DEPEND="2:2.5" > PYTHON_USE_WITH="sqlite" > inherit python
I don't know :(, CCing python team
This bug doesn't make sense, as ibus-table can't use python:3.1 ... Reassigning to python team.
This bug is already fixed in >=app-i18n/ibus-table-1.3.0.20100621, which call 'python_set_active_version 2'.