Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: Meino Christian Cramer <Meino.Cramer@×××.de>, gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenOffice build failed.
Date: Mon, 29 May 2006 19:09:07
Message-Id: 7573e9640605291200x48b2bbeg3fb3e8733d3acc35@mail.gmail.com
1 On 5/29/06, Meino Christian Cramer <Meino.Cramer@×××.de> wrote:
2 > Before I will restart the whole thing again I would be happy if you
3 > could take a look on the logfile. I have attached it to this mail,
4
5 Here is the error:
6
7 Systemcall: /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.11/build/OOO_2_0_2/solver/680/unxlngi6.pro/bin/regcomp
8 -register -br /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.11/build/OOO_2_0_2/solver/680/unxlngi6.pro/bin/types.rdb
9 -br /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.11/build/OOO_2_0_2/solver/680/unxlngi6.pro/bin/pyuno_services.rdb
10 -r /tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.11/build/OOO_2_0_2/instsetoo_native/util/OpenOffice//services.rdb/en-US_inprogress_1/services.rdb
11 -c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python
12 2>&1 |
13 'import site' failed; use -v for traceback
14 register component 'vnd.openoffice.pymodule:mailmerge' in registry
15 '/tmp/portage/openoffice-2.0.2-r2/work/ooo-build-2.0.2.11/build/OOO_2_0_2/instsetoo_native/util/OpenOffice//services.rdb/en-US_inprogress_1/services.rdb'
16 failed!
17 error (RuntimeException): python-loader:exceptions.ImportError: No
18 module named os, traceback follows
19 Coludn't import traceback module
20
21 It looks like openoffice doesn't like the python that is on your
22 system. But I don't understand why, because the os, site, and
23 traceback modules are a part of python, and really must exist. In
24 fact portage relies on python, so if python were really broken portage
25 would not work.
26
27 So I guess now we should take a look at the output of:
28
29 eix dev-lang/python (you may need to merge eix for this)
30 emerge -pv dev-lang/python
31 env | grep PYTHON
32 python -c "import sys ; print sys.path"
33
34 I suppose you can also try running the command shown on the
35 Systemcall: line and see if the problem repeats itself...
36
37 -Richard
38
39 --
40 gentoo-user@g.o mailing list