У меня возникли проблемы с установкой mayan и попытался переустановить его. Когда я сталкиваюсь с ошибкой, которая, по-видимому, связана с pycryptodome, но остальное я не понимаю.
/opt/mayan-edms/bin/pip install mayan-edms
Collecting mayan-edms
Using cached mayan_edms-3.4.2-py2.py3-none-any.whl (4.4 MB)
Collecting pytz==2019.1
Using cached pytz-2019.1-py2.py3-none-any.whl (510 kB)
Collecting django-colorful==1.3
Using cached django_colorful-1.3-py2.py3-none-any.whl (10 kB)
Collecting mock==4.0.2
Using cached mock-4.0.2-py3-none-any.whl (28 kB)
Collecting django-cors-headers==2.5.2
Using cached django_cors_headers-2.5.2-py2.py3-none-any.whl (13 kB)
Collecting django-stronghold==0.4.0
Using cached django_stronghold-0.4.0-py2.py3-none-any.whl (9.9 kB)
Collecting celery==4.3.0
Using cached celery-4.3.0-py2.py3-none-any.whl (413 kB)
[... shortened in order to post the output ...]
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHAVE_STDINT_H -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=32 -DLTC_NO_ASM -DHAVE_POSIX_MEMALIGN -DGCC_REALIGN -Isrc/ -I/opt/mayan-edms/include -I/usr/local/include/python3.8 -c src/modexp_utils.c -o build/temp.linux-armv7l-3.8/src/modexp_utils.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHAVE_STDINT_H -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=32 -DLTC_NO_ASM -DHAVE_POSIX_MEMALIGN -DGCC_REALIGN -Isrc/ -I/opt/mayan-edms/include -I/usr/local/include/python3.8 -c src/siphash.c -o build/temp.linux-armv7l-3.8/src/siphash.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHAVE_STDINT_H -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=32 -DLTC_NO_ASM -DHAVE_POSIX_MEMALIGN -DGCC_REALIGN -Isrc/ -I/opt/mayan-edms/include -I/usr/local/include/python3.8 -c src/ec_ws.c -o build/temp.linux-armv7l-3.8/src/ec_ws.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHAVE_STDINT_H -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=32 -DLTC_NO_ASM -DHAVE_POSIX_MEMALIGN -DGCC_REALIGN -Isrc/ -I/opt/mayan-edms/include -I/usr/local/include/python3.8 -c src/mont.c -o build/temp.linux-armv7l-3.8/src/mont.o
In file included from src/mont.c:41:0:
src/multiply_32.c:54:1: warning: ‘force_align_arg_pointer’ attribute directive ignored [-Wattributes]
{
^
src/mont.c:261:1: warning: ‘force_align_arg_pointer’ attribute directive ignored [-Wattributes]
{
^
src/mont.c: In function ‘mont_mult’:
src/mont.c:1032:1: internal compiler error: in rtx_equal_for_memref_p, at alias.c:1856
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/mayan-edms/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vdklwpgb/pycryptodome/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vdklwpgb/pycryptodome/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-o3gvrwgt/install-record.txt --single-version-externally-managed --compile --install-headers /opt/mayan-edms/include/site/python3.8/pycryptodome Check the logs for full command output.
При повторном вводе команды я получаю другую ошибку и ничего не меняю а пока!
Running setup.py install for regex ... error
ERROR: Command errored out with exit status 1:
command: /opt/mayan-edms/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-u1z_y0_e/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-u1z_y0_e/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-0h3664yf/install-record.txt --single-version-externally-managed --compile --install-headers /opt/mayan-edms/include/site/python3.8/regex
cwd: /tmp/pip-install-u1z_y0_e/regex/
Complete output (39 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.8
creating build/lib.linux-armv7l-3.8/regex
copying regex_3/__init__.py -> build/lib.linux-armv7l-3.8/regex
copying regex_3/regex.py -> build/lib.linux-armv7l-3.8/regex
copying regex_3/_regex_core.py -> build/lib.linux-armv7l-3.8/regex
copying regex_3/test_regex.py -> build/lib.linux-armv7l-3.8/regex
running build_ext
building 'regex._regex' extension
creating build/temp.linux-armv7l-3.8
creating build/temp.linux-armv7l-3.8/regex_3
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/opt/mayan-edms/include -I/usr/local/include/python3.8 -c regex_3/_regex.c -o build/temp.linux-armv7l-3.8/regex_3/_regex.o
regex_3/_regex.c: In function ‘folded_char_at’:
regex_3/_regex.c:10625:9: warning: variable ‘folded_len’ set but not used [-Wunused-but-set-variable]
int folded_len;
^~~~~~~~~~
regex_3/_regex.c: In function ‘fuzzy_match_group_fld’:
regex_3/_regex.c:11508:10: warning: ‘data.new_text_pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!record_fuzzy(state, data.fuzzy_type, data.fuzzy_type == RE_FUZZY_DEL ?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data.new_text_pos : data.new_text_pos - data.step))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex_3/_regex.c: In function ‘fuzzy_match_string_fld’:
regex_3/_regex.c:11273:10: warning: ‘data.new_text_pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!record_fuzzy(state, data.fuzzy_type, data.fuzzy_type == RE_FUZZY_DEL ?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data.new_text_pos : data.new_text_pos - data.step))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex_3/_regex.c: In function ‘build_SET’:
regex_3/_regex.c:25919:1: internal compiler error: in rtx_equal_for_memref_p, at alias.c:1856
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/mayan-edms/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-u1z_y0_e/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-u1z_y0_e/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-0h3664yf/install-record.txt --single-version-externally-managed --compile --install-headers /opt/mayan-edms/include/site/python3.8/regex Check the logs for full command output.
Как это может произойти?