Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] meld ERROR - ImportError: This platform lacks a functioning sem_open
Date: Sun, 29 Dec 2013 18:58:38
Message-Id: 20131229185847.GF15186@syscon7.ed.shawcable.net
In Reply to: Re: [gentoo-user] meld ERROR - ImportError: This platform lacks a functioning sem_open by Edward M
1 On 12/29/13 00:27, Edward M wrote:
2 >On Sat, 28 Dec 2013 23:44:49 -0700
3 >Joseph <syscon780@×××××.com> wrote:
4 >
5 >> I've solved the problem by installing meld-1.6.0 from attic, 1.7.0
6 >> and 1.8.2 don't work. I've tried python2.7 and 3.2 make no
7 >> difference.
8 >
9 >I am wondering if the issue your system is having is related to one
10 >of the following:
11 >
12 >-------------------------------------------------------------------------
13 >
14 >2012-11-06-PYTHON_TARGETS-deployment
15 > Title PYTHON_TARGETS deployment
16 > Author Michał Górny <mgorny@g.o>
17 > Posted 2012-11-06
18 > Revision 1
19 >
20 >Recently, a few new Python eclasses have been deployed. As ebuilds
21 >migrate, the way they support multiple Python implementations will
22 >change. The previous method built Python modules for Python
23 >implementations selected through `eselect python'. The new method uses
24 >the PYTHON_TARGETS USE flags to explicitly name the implementations the
25 >modules shall be built for.
26 >
27 >If you are running a modern system with only Python 2.7 & 3.2 installed,
28 >then you don't have to do anything. The defaults will simply fit you,
29 >and let you keep your system up-to-date when new Python versions are
30 >deployed.
31 >
32 >However, if you'd like to use another set of Python implementations, you
33 >will need to set PYTHON_TARGETS in your make.conf file appropriately.
34 >This variable names the enabled implementations in the standard way
35 >common to all USE_EXPAND variables.
36 >
37 >For example, a setup enabling all major Python implementations would
38 >look like:
39 >
40 > PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5"
41 >
42 >The variable should list all Python implementations which are going to
43 >be used on the system; missing a particular value there will result
44 >in missing Python modules.
45 >
46 >A complete list of all possible values can be obtained using a command
47 >equivalent to the following:
48 >
49 > emerge -1pv dev-python/python-exec
50 >
51 >For more details, please see the python-r1 User's Guide [1].
52 >
53 >[1] http://www.gentoo.org/proj/en/Python/python-r1/user-guide.xml
54 >
55 >------------------------------------------------------------------------------
56 >2013-11-07-python-exec-package-move
57 > Title python-exec package move
58 > Author Michał Górny <mgorny@g.o>
59 > Posted 2013-11-07
60 > Revision 1
61 >
62 >Due to the recent issues which caused dev-python/python-exec:0 to be
63 >removed prematurely [1], we had to perform an urgent package move.
64 >Since we could not use the automatic updates support in portage, users
65 >will notice two python-exec packages and possibly blockers.
66 >
67 >Currently, dev-lang/python-exec is the real package that contains
68 >python-exec and that will be used in the future. dev-python/python-exec
69 >is a virtual package that is kept for compatibility with dependencies
70 >in already-installed packages.
71 >
72 >In the most favorable scenario, the package will be upgraded correctly
73 >on your next world update if you use the '--deep' (-D) and '--update'
74 >(-u) options. If you don't want to perform a complete world update
75 >or if it fails for you, you may as well manually upgrade
76 >dev-python/python-exec:
77 >
78 > emerge -1 dev-python/python-exec
79 >
80 >This will cause portage to update both python-exec packages and resolve
81 >the blockers properly.
82 >
83 >Please note that if you have applied any kind of package-specific
84 >modifications to dev-python/python-exec (such as applying keywords
85 >through 'package.accept_keywords'), you will need to copy them to
86 >dev-lang/python-exec as well.
87 >
88 >If you have applied keywords to dev-python/python-exec in order
89 >to unmask Python 3.3 on a stable system, please consider removing
90 >the keywords and reading our wiki page that explains how to properly
91 >unmask USE flags [2].
92 >
93 >We apologize for all the inconveniences. If you have any more issues
94 >with python-exec, please do not hesitate to contact as at #gentoo-python
95 >IRC channel (@freenode) or the gentoo-python@l.g.o mailing
96 >list.
97 >
98 >[1]:https://bugs.gentoo.org/show_bug.cgi?id=489440
99 >[2]:https://wiki.gentoo.org/wiki/Unmasking_non-stable_Python_implementations
100
101 I think this problem has something to do with this bug:
102 https://bugs.gentoo.org/show_bug.cgi?id=496328
103
104 --
105 Joseph

Replies