Gentoo Archives: gentoo-catalyst

From: "W. Trevor King" <wking@×××××××.us>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] sem_open inconsistency in installed Python versions
Date: Mon, 11 Mar 2013 11:55:58
Message-Id: 20130311115543.GE7445@odin.tremily.us
1 I've been bumping into failures installing Matplotlib 1.2.0-r2:
2
3 # cat /tmp/livecd-stage1.log
4
5 /build/lib/matplotlib/tests/baseline_images/test_delaunay
6 Traceback (most recent call last):
7 File "/usr/lib/python3.2/multiprocessing/synchronize.py", line 54, in <module>
8 from _multiprocessing import SemLock
9 ImportError: cannot import name SemLock
10
11 ImportError: This platform lacks a functioning sem_open implementation,
12 therefore, the required synchronization primitives needed will not function,
13 see issue 3770.
14
15
16 Looking through my logs, it seems that some versions of Python 3.2.3
17 found a sem_open implementation, but some did not:
18
19 $ cd /var/log/catalyst
20 $ grep sem_open dev-lang\:python-3.2.3\:*
21 dev-lang:python-3.2.3:20130310-213508.log:checking for sem_open... yes
22 dev-lang:python-3.2.3:20130310-222606.log:checking for sem_open... no
23 dev-lang:python-3.2.3:20130310-234410.log:checking for sem_open... yes
24
25 I cleaned out my logs before my last run, so we can match those build
26 times up with stages:
27
28 $ grep dev-lang/python-3.2.3 /tmp/*.log
29 /tmp/stage1.log:>>> Emerging (14 of 17) dev-lang/python-3.2.3
30 /tmp/stage1.log:>>> Installing (14 of 17) dev-lang/python-3.2.3
31 /tmp/stage1.log:>>> Emerging (72 of 75) dev-lang/python-3.2.3 for /tmp/stage1root/
32 /tmp/stage1.log:>>> Installing (72 of 75) dev-lang/python-3.2.3 to /tmp/stage1root/
33 /tmp/stage3.log:>>> Emerging (99 of 189) dev-lang/python-3.2.3
34 /tmp/stage3.log:>>> Installing (99 of 189) dev-lang/python-3.2.3
35
36 So the stage1 seed_update emerge finds sem_open, but the stage1root
37 setup does not. I'm not sure why this would happen, but since the
38 stage3 emerge *does* find sem_open, I'm not sure why the Matplotlib
39 emerge is failing in livecd-stage1. Does anyone want to take a guess?
40
41 Thanks,
42 Trevor
43
44 --
45 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
46 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachments

File name MIME type
signature.asc application/pgp-signature