Gentoo Archives: gentoo-user

From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] media-video/totem-2.20.3 Access violation
Date: Wed, 30 Jul 2008 08:06:41
Message-Id: 6142e6140807300106u28de49c3u720bd770dd49c0ca@mail.gmail.com
In Reply to: Re: [gentoo-user] media-video/totem-2.20.3 Access violation by Zhu Sha Zang
1 All the problems above are related to python byte code, and the way it
2 is handled in gentoo. It would be to exhaustive to explain the
3 problems here but maybe this bug [1] helps to understand the problem.
4 Also if you want to learn more about python in gentoo you can read
5 this [2].
6
7 In the case of scons and docbook the problem is the same as mentoned
8 in the bug where python bytecode is installed into the wrong
9 filesystem location.
10
11 Other problems can occur when the python eclasses which handle the
12 python byte code are not used at all or improperly used with python
13 applications. For instance when python byte code is not handled by the
14 eclasses the py{c,o} files are created at runtime when using the
15 program as root. At deinstallation this files are not removed from the
16 filesystem because the package manager is not aware of them.
17
18 [1] http://bugs.gentoo.org/show_bug.cgi?id=194343
19 [2] http://www.gentoo.org/proj/en/Python/developersguide.xml