Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openshot-2.0.6.ebuild
Date: Thu, 24 Mar 2016 16:59:29
Message-Id: 56F41CC1.7090508@gmail.com
In Reply to: [gentoo-user] openshot-2.0.6.ebuild by James
1 On 24/03/2016 18:35, James wrote:
2 > Howdy,
3 >
4 > Looking at the openshot ebuild, I see::
5 > EAPI=6
6 > PYTHON_COMPAT=( python3_{4,5} )
7 >
8 > among other interesting details.
9 >
10 > So it should work with python 3.4 or 3.5, right?
11
12 Not quite.
13
14 IIRC PYTHON_COMPAT is the old way
15 PYTHON*_TARGET_* is the new way
16
17 >
18 > I have this::
19 > Installed versions: 2.7.10-r1 3.4.3-r1
20 > (examples gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml
21 > -berkdb -build -doc -hardened -wininst ELIBC="-uclibc")
22 >
23 > Available Python interpreters:
24 > [1] python2.7
25 > [2] python3.4 *
26 >
27 >
28 > currently I get this build failure message::
29 >
30 > The ebuild selected to satisfy "=media-video/openshot-2.0.6" has unmet
31 > requirements.
32 > - media-video/openshot-2.0.6::gentoo USE="" ABI_X86="64"
33 > PYTHON_SINGLE_TARGET="-python3_4 -python3_5" PYTHON_TARGETS="python3_4
34 > -python3_5"
35
36 There's your problem.
37 PYTHON_SINGLE_TARGET is not set but the ebuild requires it (see
38 following error)
39 >
40 > The following REQUIRED_USE flag constraints are unsatisfied:
41 > exactly-one-of ( python_single_target_python3_4
42 > python_single_target_python3_5 )
43 >
44 > The above constraints are a subset of the following complete expression:
45 > exactly-one-of ( python_single_target_python3_4
46 > python_single_target_python3_5 ) python_single_target_python3_4? (
47 > python_targets_python3_4 ) python_single_target_python3_5? (
48 > python_targets_python3_5 )
49 >
50 >
51 > So, I should not have to install python 3.5. But that's no big deal.
52 > If I do install python 3.5, it'll have it's own slot and I should leave
53 > python-3.4x as the default or can I set the default to 3.5x? Not sure what I
54 > missed.
55 >
56 >
57 > discussion or guidance is welcome,
58
59 Add PYTHON_SINGLE_TARGET="python3_4" to USE for this package.
60
61 This might be an ebuild bug (python packages should have all been fixed
62 by now), or maybe it's on your end.
63
64 What do you have for
65 emerge --info | grep PYTHON
66
67
68 --
69 Alan McKinnon
70 alan.mckinnon@×××××.com

Replies

Subject Author
[gentoo-user] Re: openshot-2.0.6.ebuild James <wireless@×××××××××××.com>