Gentoo Archives: gentoo-user

From: Andrew Lowe <agl@×××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Getting ki18n to compile
Date: Fri, 20 May 2016 01:33:02
Message-Id: 5dd745ce-62da-b627-66c5-63d7a5b610ae@wht.com.au
In Reply to: Re: [gentoo-user] Getting ki18n to compile by Alec Ten Harmsel
1 On 05/19/16 01:39, Alec Ten Harmsel wrote:
2 > On Thu, May 19, 2016 at 01:21:20AM +0800, Andrew Lowe wrote:
3 >> Hi all,
4 >> Doing the usual "emerge -NuD world" and I get hit with:
5 >>
6 >> ********************
7 >>
8 >> Calculating dependencies... done!
9 >>
10 >> !!! The ebuild selected to satisfy ">=kde-frameworks/ki18n-5.18.0:5" has
11 >> unmet requirements.
12 >> - kde-frameworks/ki18n-5.22.1::gentoo USE="-debug -doc -test"
13 >> ABI_X86="64" PYTHON_SINGLE_TARGET="python3_4 -python2_7"
14 >> PYTHON_TARGETS="python2_7 -python3_4"
15 >
16 > PYTHON_SINGLE_TARGET sets the version of python for a package that can
17 > only be installed with a single python. PYTHON_TARGETS sets the versions
18 > of python a python package will be installed to/with for packages that
19 > can be installed to multiple python versions.
20 >
21 > You have PYTHON_SINGLE_TARGET=python3_4, but PYTHON_TARGETS does *not*
22 > contain python3_4. This is bad.
23 >
24 >> The following REQUIRED_USE flag constraints are unsatisfied:
25 >> python_single_target_python3_4? ( python_targets_python3_4 )
26 >
27 > This is the line that enforces the above (i.e. PYTHON_SINGLE_TARGET must
28 > be in PYTHON_TARGETS).
29 >
30 >> ********************
31 >>
32 >> kde-frameworks/ki18n python_single_target_python3_4
33 >>
34 >
35 > This is not the problem and can be removed.
36 >
37 >> ********************
38 >>
39 >> But the problem persists, nothing has changed. "eselect python list"
40 >> lists that I've got Python 2.7, 3.4 and 3.5 installed. I've just noticed
41 >> that doing "emerge --info ki18n" shows:
42 >>
43 >> PYTHON SINGLE_TARGET="python3_5"
44 >
45 > what?
46 >
47 > What do you have PYTHON_TARGETS and PYTHON_SINGLE_TARGET in
48 > /etc/portage/make.conf?
49 >
50 > Alec
51 >
52 >
53 I've done some analysis/fiddling based upon your suggestions and it
54 compiled. I had made a few assumptions that proved to be wrong and
55 sorting them out fixed things.
56
57 Thanks,
58 Andrew