vectorforce
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Blogs
Events
Posts posted by vectorforce
-
-
Спасибо, еще вопросик, убивается opkg shell, если закинуть в /opt/etc/init.d для автозапуска S100radicale:
Spoiler#!/bin/sh
PATH=/opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/bin:/usr/sbin:/usr/bin:/sbin:/bin
radicale
done
В журнале:
SpoilerOpkg::Manager: /opt/etc/init.d/rc.unslung: timed out.Дек 17 13:41:27ndmProcess: killing all processes in "Opkg shell" group...как увеличить время на выполнение? или есть альтернативы?
-
такого пакета в entware к сожалению нет.
-
Здравствуйте, прошу помощи у знающих, для настройки авторизации radicale (carddav&caldav) требуется пакет bcrypt, есть проблемы с установкой.
Spoiler~ # pip3 install bcrypt
Collecting bcrypt
Using cached bcrypt-3.2.0.tar.gz (42 kB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 /opt/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /opt/tmp/pip-build-env-tk9yrc1v/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (100 lines):
Collecting cffi>=1.1
Using cached cffi-1.14.4.tar.gz (471 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting setuptools>=40.8.0
Using cached setuptools-51.0.0-py3-none-any.whl (785 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /opt/tmp/pip-wheel-j6xu2w3l
cwd: /opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/
Complete output (36 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-mips-3.9
creating build/lib.linux-mips-3.9/cffi
copying cffi/__init__.py -> build/lib.linux-mips-3.9/cffi
copying cffi/pkgconfig.py -> build/lib.linux-mips-3.9/cffi
copying cffi/verifier.py -> build/lib.linux-mips-3.9/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-mips-3.9/cffi
copying cffi/ffiplatform.py -> build/lib.linux-mips-3.9/cffi
copying cffi/model.py -> build/lib.linux-mips-3.9/cffi
copying cffi/cparser.py -> build/lib.linux-mips-3.9/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-mips-3.9/cffi
copying cffi/commontypes.py -> build/lib.linux-mips-3.9/cffi
copying cffi/error.py -> build/lib.linux-mips-3.9/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-mips-3.9/cffi
copying cffi/vengine_gen.py -> build/lib.linux-mips-3.9/cffi
copying cffi/api.py -> build/lib.linux-mips-3.9/cffi
copying cffi/lock.py -> build/lib.linux-mips-3.9/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-mips-3.9/cffi
copying cffi/recompiler.py -> build/lib.linux-mips-3.9/cffi
copying cffi/_cffi_include.h -> build/lib.linux-mips-3.9/cffi
copying cffi/parse_c_type.h -> build/lib.linux-mips-3.9/cffi
copying cffi/_embedding.h -> build/lib.linux-mips-3.9/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-mips-3.9/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-mips-3.9
creating build/temp.linux-mips-3.9/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -I/home/ryzhovau/Entware.mipsel/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include -I/home/ryzhovau/Entware.mipsel/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/opt/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-mips-3.9/c/_cffi_backend.o
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^~~~~~~
compilation terminated.
error: command '/opt/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build cffi
Installing collected packages: pycparser, wheel, setuptools, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-fjevzqqc/install-record.txt --single-version-externally-managed --prefix /opt/tmp/pip-build-env-tk9yrc1v/overlay --compile --install-headers /opt/tmp/pip-build-env-tk9yrc1v/overlay/include/python3.9/cffi
cwd: /opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/
Complete output (36 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-mips-3.9
creating build/lib.linux-mips-3.9/cffi
copying cffi/__init__.py -> build/lib.linux-mips-3.9/cffi
copying cffi/pkgconfig.py -> build/lib.linux-mips-3.9/cffi
copying cffi/verifier.py -> build/lib.linux-mips-3.9/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-mips-3.9/cffi
copying cffi/ffiplatform.py -> build/lib.linux-mips-3.9/cffi
copying cffi/model.py -> build/lib.linux-mips-3.9/cffi
copying cffi/cparser.py -> build/lib.linux-mips-3.9/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-mips-3.9/cffi
copying cffi/commontypes.py -> build/lib.linux-mips-3.9/cffi
copying cffi/error.py -> build/lib.linux-mips-3.9/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-mips-3.9/cffi
copying cffi/vengine_gen.py -> build/lib.linux-mips-3.9/cffi
copying cffi/api.py -> build/lib.linux-mips-3.9/cffi
copying cffi/lock.py -> build/lib.linux-mips-3.9/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-mips-3.9/cffi
copying cffi/recompiler.py -> build/lib.linux-mips-3.9/cffi
copying cffi/_cffi_include.h -> build/lib.linux-mips-3.9/cffi
copying cffi/parse_c_type.h -> build/lib.linux-mips-3.9/cffi
copying cffi/_embedding.h -> build/lib.linux-mips-3.9/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-mips-3.9/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-mips-3.9
creating build/temp.linux-mips-3.9/c
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -pthread -I/home/ryzhovau/Entware.mipsel/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include -I/home/ryzhovau/Entware.mipsel/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/opt/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-mips-3.9/c/_cffi_backend.o
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^~~~~~~
compilation terminated.
error: command '/opt/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-5dycuzcx/cffi_550a07c9dd3a4a3c8cb063409a1c050d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-fjevzqqc/install-record.txt --single-version-externally-managed --prefix /opt/tmp/pip-build-env-tk9yrc1v/overlay --compile --install-headers /opt/tmp/pip-build-env-tk9yrc1v/overlay/include/python3.9/cffi Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/bin/python3 /opt/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /opt/tmp/pip-build-env-tk9yrc1v/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel 'cffi>=1.1; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
bcrypt
in Вопросы по сборке и настройке Opkg
Posted · Edited by vectorforce
Уже проверял, при 'radicale &' в скрипте сервер не стартует.