Re: [gentoo-user] Getting ki18n to compile
On 05/19/16 01:39, Alec Ten Harmsel wrote: On Thu, May 19, 2016 at 01:21:20AM +0800, Andrew Lowe wrote: Hi all, Doing the usual "emerge -NuD world" and I get hit with: Calculating dependencies... done! !!! The ebuild selected to satisfy ">=kde-frameworks/ki18n-5.18.0:5" has unmet requirements. - kde-frameworks/ki18n-5.22.1::gentoo USE="-debug -doc -test" ABI_X86="64" PYTHON_SINGLE_TARGET="python3_4 -python2_7" PYTHON_TARGETS="python2_7 -python3_4" PYTHON_SINGLE_TARGET sets the version of python for a package that can only be installed with a single python. PYTHON_TARGETS sets the versions of python a python package will be installed to/with for packages that can be installed to multiple python versions. You have PYTHON_SINGLE_TARGET=python3_4, but PYTHON_TARGETS does *not* contain python3_4. This is bad. The following REQUIRED_USE flag constraints are unsatisfied: python_single_target_python3_4? ( python_targets_python3_4 ) This is the line that enforces the above (i.e. PYTHON_SINGLE_TARGET must be in PYTHON_TARGETS). kde-frameworks/ki18n python_single_target_python3_4 This is not the problem and can be removed. But the problem persists, nothing has changed. "eselect python list" lists that I've got Python 2.7, 3.4 and 3.5 installed. I've just noticed that doing "emerge --info ki18n" shows: PYTHON SINGLE_TARGET="python3_5" what? What do you have PYTHON_TARGETS and PYTHON_SINGLE_TARGET in /etc/portage/make.conf? Alec I've done some analysis/fiddling based upon your suggestions and it compiled. I had made a few assumptions that proved to be wrong and sorting them out fixed things. Thanks, Andrew
Re: [gentoo-user] Getting ki18n to compile
On Thu, May 19, 2016 at 01:21:20AM +0800, Andrew Lowe wrote: > Hi all, > Doing the usual "emerge -NuD world" and I get hit with: > > > > Calculating dependencies... done! > > !!! The ebuild selected to satisfy ">=kde-frameworks/ki18n-5.18.0:5" has > unmet requirements. > - kde-frameworks/ki18n-5.22.1::gentoo USE="-debug -doc -test" > ABI_X86="64" PYTHON_SINGLE_TARGET="python3_4 -python2_7" > PYTHON_TARGETS="python2_7 -python3_4" PYTHON_SINGLE_TARGET sets the version of python for a package that can only be installed with a single python. PYTHON_TARGETS sets the versions of python a python package will be installed to/with for packages that can be installed to multiple python versions. You have PYTHON_SINGLE_TARGET=python3_4, but PYTHON_TARGETS does *not* contain python3_4. This is bad. >The following REQUIRED_USE flag constraints are unsatisfied: > python_single_target_python3_4? ( python_targets_python3_4 ) This is the line that enforces the above (i.e. PYTHON_SINGLE_TARGET must be in PYTHON_TARGETS). > > > kde-frameworks/ki18n python_single_target_python3_4 > This is not the problem and can be removed. > > > But the problem persists, nothing has changed. "eselect python list" > lists that I've got Python 2.7, 3.4 and 3.5 installed. I've just noticed > that doing "emerge --info ki18n" shows: > > PYTHON SINGLE_TARGET="python3_5" what? What do you have PYTHON_TARGETS and PYTHON_SINGLE_TARGET in /etc/portage/make.conf? Alec
[gentoo-user] Getting ki18n to compile
Hi all, Doing the usual "emerge -NuD world" and I get hit with: Calculating dependencies... done! !!! The ebuild selected to satisfy ">=kde-frameworks/ki18n-5.18.0:5" has unmet requirements. - kde-frameworks/ki18n-5.22.1::gentoo USE="-debug -doc -test" ABI_X86="64" PYTHON_SINGLE_TARGET="python3_4 -python2_7" PYTHON_TARGETS="python2_7 -python3_4" The following REQUIRED_USE flag constraints are unsatisfied: python_single_target_python3_4? ( python_targets_python3_4 ) The above constraints are a subset of the following complete expression: exactly-one-of ( python_single_target_python2_7 python_single_target_python3_4 ) python_single_target_python2_7? ( python_targets_python2_7 ) python_single_target_python3_4? ( python_targets_python3_4 ) (dependency required by "kde-apps/khelpcenter-5.6.2-r1::gentoo" [installed]) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) So I add to following line to packages.use kde-frameworks/ki18n python_single_target_python3_4 But the problem persists, nothing has changed. "eselect python list" lists that I've got Python 2.7, 3.4 and 3.5 installed. I've just noticed that doing "emerge --info ki18n" shows: PYTHON SINGLE_TARGET="python3_5" Does that help? Any ideas as to what I'm doing wrong greatly appreciated, Andrew