Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] python 2.6 and python-updater
Date: Tue, 21 Oct 2008 23:34:02
Message-Id: 20081021193357.1d474528@osage.osagesoftware.com
1 I've just updated from python-2.5 to 2.6. Since emerge ran fine, I
2 ran python-updater. It's encountering problems with lots of
3 packages. For example, "emerge -1 setuptools" ends with:
4
5 ########## begin emerge output ##########
6
7 copying build/lib/pkg_resources.py -> /usr/lib64/python2.6/site-packages
8 ACCESS DENIED
9 open_wr: /usr/lib64/python2.6/site-packages/pkg_resources.py
10 error: /usr/lib64/python2.6/site-packages/pkg_resources.py: Permission
11 denied
12 *
13 * ERROR: dev-python/setuptools-0.6_rc8-r1 failed.
14 * Call stack:
15 * ebuild.sh, line 49: Called src_install
16 * environment, line 2445: Called distutils_src_install
17 * environment, line 724: Called die
18 * The specific snippet of code:
19 * ${python} setup.py install --root="${D}" --no-compile "$@" || die
20 "python setup.py install failed";
21 * The die message:
22 * python setup.py install failed
23 *
24 * If you need support, post the topmost build error, and the call
25 stack if relevant.
26 * A complete build log is located at
27 '/var/log/portage/dev-python:setuptools-0.6_rc8-r1:20081021-133932.log'.
28 * The ebuild environment file is located at
29 '/var/tmp/portage/dev-python/setuptools-0.6_rc8-r1/temp/environment'.
30 *
31 --------------------------- ACCESS VIOLATION SUMMARY
32 --------------------------- LOG FILE =
33 "/var/log/sandbox/sandbox-32513.log"
34
35 open_wr: /usr/lib64/python2.6/site-packages/pkg_resources.py
36 --------------------------------------------------------------------------------
37 
38 >>> Failed to emerge dev-python/setuptools-0.6_rc8-r1, Log file:
39
40 >>> '/var/log/portage/dev-python:setuptools-0.6_rc8-r1:20081021-133932.log'
41
42 * GNU info directory index is up-to-date.
43
44 ########## end emerge output ##########
45
46 This looks like a permissions problem
47 in /usr/lib64/python2.6/site-packages/. I normally run emerge as
48 'relson', but this time I ran emerge as 'root' -- so I don't think
49 it's a simple permissions problem.
50
51 Has anybody else emerge python-2.6 and run python-updater? Any idea
52 of what I may be doing wrong? Is it time to head for bgo?
53
54 Regards,
55
56 David

Attachments

File name MIME type
dev-python:setuptools-0.6_rc8-r1:20081021-133932.log text/x-log

Replies

Subject Author
[gentoo-user] SOLVED: python 2.6 and python-updater David Relson <relson@×××××××××××××.com>