1 |
Hi people! |
2 |
I don't know how to merge the package pycrypto, I get always this error. |
3 |
How do I solve this problem that portage can merge python packages |
4 |
without any problems?! |
5 |
|
6 |
|
7 |
Tamer |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
here the log: |
13 |
|
14 |
|
15 |
ACCESS DENIED open_wr: |
16 |
/usr/lib64/python2.7/site-packages/test-easy-install-18832.write-test |
17 |
error: can't create or remove files in install directory |
18 |
|
19 |
The following error occurred while trying to add or remove files in the |
20 |
installation directory: |
21 |
|
22 |
[Errno 13] Permission denied: |
23 |
'/usr/lib64/python2.7/site-packages/test-easy-install-18832.write-test' |
24 |
|
25 |
The installation directory you specified (via --install-dir, --prefix, or |
26 |
the distutils default setting) was: |
27 |
|
28 |
/usr/lib64/python2.7/site-packages/ |
29 |
|
30 |
Perhaps your account does not have write access to this directory? If the |
31 |
installation directory is a system-owned directory, you may need to sign in |
32 |
as the administrator or "root" account. If you do not have administrative |
33 |
access to this machine, you may wish to choose a different installation |
34 |
directory, preferably one that is listed in your PYTHONPATH environment |
35 |
variable. |
36 |
|
37 |
For information on other options, you may wish to consult the |
38 |
documentation at: |
39 |
|
40 |
http://packages.python.org/distribute/easy_install.html |
41 |
|
42 |
Please make the appropriate changes for your system and try again. |
43 |
|
44 |
usage: epydoc [options] requirement_or_url ... |
45 |
or: epydoc --help |
46 |
|
47 |
error: option --config not recognized |
48 |
* ERROR: dev-python/pycrypto-2.6-r2 failed (compile phase): |
49 |
* (no error message) |
50 |
* |
51 |
* Call stack: |
52 |
* ebuild.sh, line 93: Called src_compile |
53 |
* environment, line 3446: Called distutils-r1_src_compile |
54 |
* environment, line 1022: Called _distutils-r1_run_common_phase |
55 |
'python_compile_all' |
56 |
* environment, line 232: Called multibuild_for_best_variant |
57 |
'_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all' |
58 |
* environment, line 2496: Called multibuild_foreach_variant |
59 |
'_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all' |
60 |
* environment, line 2521: Called _multibuild_run |
61 |
'_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all' |
62 |
* environment, line 2519: Called _python_multibuild_wrapper |
63 |
'distutils-r1_run_phase' 'python_compile_all' |
64 |
* environment, line 597: Called distutils-r1_run_phase |
65 |
'python_compile_all' |
66 |
* environment, line 1008: Called python_compile_all |
67 |
* environment, line 2940: Called die |
68 |
* The specific snippet of code: |
69 |
* epydoc --config=Doc/epydoc-config |
70 |
--exclude-introspect="^Crypto\.(Random\.OSRNG\.nt|Util\.winrandom)$" || die; |
71 |
* |
72 |
* If you need support, post the output of `emerge --info |
73 |
'=dev-python/pycrypto-2.6-r2'`, |
74 |
* the complete build log and the output of `emerge -pqv |
75 |
'=dev-python/pycrypto-2.6-r2'`. |
76 |
* The complete build log is located at |
77 |
'/var/tmp/portage/dev-python/pycrypto-2.6-r2/temp/build.log'. |
78 |
* The ebuild environment file is located at |
79 |
'/var/tmp/portage/dev-python/pycrypto-2.6-r2/temp/environment'. |
80 |
* Working directory: |
81 |
'/var/tmp/portage/dev-python/pycrypto-2.6-r2/work/pycrypto-2.6' |
82 |
* S: '/var/tmp/portage/dev-python/pycrypto-2.6-r2/work/pycrypto-2.6' |
83 |
--------------------------- ACCESS VIOLATION SUMMARY |
84 |
--------------------------- |
85 |
LOG FILE "/var/log/sandbox/sandbox-18610.log" |
86 |
|
87 |
VERSION 1.0 |
88 |
FORMAT: F - Function called |
89 |
FORMAT: S - Access Status |
90 |
FORMAT: P - Path as passed to function |
91 |
FORMAT: A - Absolute Path (not canonical) |
92 |
FORMAT: R - Canonical Path |
93 |
FORMAT: C - Command Line |
94 |
|
95 |
F: open_wr |
96 |
S: deny |
97 |
P: /usr/lib64/python2.7/site-packages/test-easy-install-18832.write-test |
98 |
A: /usr/lib64/python2.7/site-packages/test-easy-install-18832.write-test |
99 |
R: /usr/lib64/python2.7/site-packages/test-easy-install-18832.write-test |
100 |
C: /usr/bin/python2.7 /usr/bin/rst2html.py Doc/pycrypt.rst |
101 |
-------------------------------------------------------------------------------- |
102 |
|
103 |
>>> Failed to emerge dev-python/pycrypto-2.6-r2, Log file: |
104 |
|
105 |
>>> '/var/tmp/portage/dev-python/pycrypto-2.6-r2/temp/build.log' |
106 |
|
107 |
* Messages for package dev-python/pycrypto-2.6-r2: |
108 |
|
109 |
* ERROR: dev-python/pycrypto-2.6-r2 failed (compile phase): |
110 |
* (no error message) |
111 |
* |
112 |
* Call stack: |
113 |
* ebuild.sh, line 93: Called src_compile |
114 |
* environment, line 3446: Called distutils-r1_src_compile |
115 |
* environment, line 1022: Called _distutils-r1_run_common_phase |
116 |
'python_compile_all' |
117 |
* environment, line 232: Called multibuild_for_best_variant |
118 |
'_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all' |
119 |
* environment, line 2496: Called multibuild_foreach_variant |
120 |
'_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all' |
121 |
* environment, line 2521: Called _multibuild_run |
122 |
'_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile_all' |
123 |
* environment, line 2519: Called _python_multibuild_wrapper |
124 |
'distutils-r1_run_phase' 'python_compile_all' |
125 |
* environment, line 597: Called distutils-r1_run_phase |
126 |
'python_compile_all' |
127 |
* environment, line 1008: Called python_compile_all |
128 |
* environment, line 2940: Called die |
129 |
* The specific snippet of code: |
130 |
* epydoc --config=Doc/epydoc-config |
131 |
--exclude-introspect="^Crypto\.(Random\.OSRNG\.nt|Util\.winrandom)$" || die; |
132 |
* |
133 |
* If you need support, post the output of `emerge --info |
134 |
'=dev-python/pycrypto-2.6-r2'`, |
135 |
* the complete build log and the output of `emerge -pqv |
136 |
'=dev-python/pycrypto-2.6-r2'`. |
137 |
* The complete build log is located at |
138 |
'/var/tmp/portage/dev-python/pycrypto-2.6-r2/temp/build.log'. |
139 |
* The ebuild environment file is located at |
140 |
'/var/tmp/portage/dev-python/pycrypto-2.6-r2/temp/environment'. |
141 |
* Working directory: |
142 |
'/var/tmp/portage/dev-python/pycrypto-2.6-r2/work/pycrypto-2.6' |
143 |
* S: '/var/tmp/portage/dev-python/pycrypto-2.6-r2/work/pycrypto-2.6' |
144 |
office / # |