Jump to content

cheburah

Forum Members
  • Posts

    4
  • Joined

  • Last visited

Equipment

  • Keenetic
    keenetic ultra kn-1810

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

cheburah's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Добрый день. Подскажите, Keenetic Air (KN-1610) подключен в режиме адаптера к Keenetic Ultra (KN-1810) к сети сегмента Домашняя сеть. Устройства в LAN портах KN-1610 выходят в интернет, видят друг друга и KN-1810, но не имеют доступа к устройствам в LAN портах KN-1810. Прошивка последняя 3.4.12 на обоих устройствах. DHCP на KN-1810 отключен, сервер DHCP как раз висит на LAN KN-1810. Но включенные устройства уже получили сетевые настройки, при переключении с кабеля LAN KN-1810 на кабель LAN адаптера KN-1610 без выключения питания, настройки сохраняются, и рабочий интернет на устройствах LAN KN-1610 как бы доказывает.Получается, не работает маршрутизация с wifi KN-1810 на LAN KN-1810, чего быть не может, т.к. это всё в сегменте Домашняя сеть.
  2. Добрый день. Прошу помощи, при установке bcrypt выдает ошибку: pip3 install bcrypt Collecting bcrypt Using cached bcrypt-3.1.7.tar.gz (42 kB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /opt/bin/python3 /opt/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /opt/tmp/pip-build-env-_5ch_acc/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 (171 lines): Collecting setuptools>=40.8.0 Using cached setuptools-49.6.0-py3-none-any.whl (803 kB) Collecting wheel Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB) Collecting cffi>=1.1 Using cached cffi-1.14.1.tar.gz (468 kB) Collecting pycparser Using cached pycparser-2.20-py2.py3-none-any.whl (112 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-j0lt5mtt/cffi/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-j0lt5mtt/cffi/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-q9iv2d7v cwd: /opt/tmp/pip-install-j0lt5mtt/cffi/ Complete output (71 lines): Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? No working compiler found, or bogus compiler options passed to the compiler from Python's standard "distutils" module. See the error messages above. Likely, the problem is not related to CFFI but generic to the setup.py of any Python package that tries to compile C code. (Hints: on OS/X 10.8, for errors about -mno-fused-madd see http://stackoverflow.com/questions/22313407/ Otherwise, see https://wiki.python.org/moin/CompLangPython or the IRC channel #python on irc.freenode.net.) Trying to continue anyway. If you are trying to install CFFI from a build done in a different context, you can ignore this warning. running bdist_wheel running build running build_py creating build creating build/lib.linux-mips-3.8 creating build/lib.linux-mips-3.8/cffi copying cffi/model.py -> build/lib.linux-mips-3.8/cffi copying cffi/vengine_gen.py -> build/lib.linux-mips-3.8/cffi copying cffi/vengine_cpy.py -> build/lib.linux-mips-3.8/cffi copying cffi/commontypes.py -> build/lib.linux-mips-3.8/cffi copying cffi/ffiplatform.py -> build/lib.linux-mips-3.8/cffi copying cffi/api.py -> build/lib.linux-mips-3.8/cffi copying cffi/cffi_opcode.py -> build/lib.linux-mips-3.8/cffi copying cffi/lock.py -> build/lib.linux-mips-3.8/cffi copying cffi/setuptools_ext.py -> build/lib.linux-mips-3.8/cffi copying cffi/verifier.py -> build/lib.linux-mips-3.8/cffi copying cffi/cparser.py -> build/lib.linux-mips-3.8/cffi copying cffi/error.py -> build/lib.linux-mips-3.8/cffi copying cffi/pkgconfig.py -> build/lib.linux-mips-3.8/cffi copying cffi/backend_ctypes.py -> build/lib.linux-mips-3.8/cffi copying cffi/recompiler.py -> build/lib.linux-mips-3.8/cffi copying cffi/__init__.py -> build/lib.linux-mips-3.8/cffi copying cffi/_cffi_include.h -> build/lib.linux-mips-3.8/cffi copying cffi/parse_c_type.h -> build/lib.linux-mips-3.8/cffi copying cffi/_embedding.h -> build/lib.linux-mips-3.8/cffi copying cffi/_cffi_errors.h -> build/lib.linux-mips-3.8/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-mips-3.8 creating build/temp.linux-mips-3.8/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/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include -I/home/ryzhovau/Entware/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -Qunused-arguments -Qunused-arguments -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/opt/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-mips-3.8/c/_cffi_backend.o gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi DEPRECATION: Could not build wheels for cffi which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368. Installing collected packages: setuptools, wheel, pycparser, 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-j0lt5mtt/cffi/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-j0lt5mtt/cffi/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-0sy_y2eb/install-record.txt --single-version-externally-managed --prefix /opt/tmp/pip-build-env-_5ch_acc/overlay --compile --install-headers /opt/tmp/pip-build-env-_5ch_acc/overlay/include/python3.8/cffi cwd: /opt/tmp/pip-install-j0lt5mtt/cffi/ Complete output (71 lines): Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? No working compiler found, or bogus compiler options passed to the compiler from Python's standard "distutils" module. See the error messages above. Likely, the problem is not related to CFFI but generic to the setup.py of any Python package that tries to compile C code. (Hints: on OS/X 10.8, for errors about -mno-fused-madd see http://stackoverflow.com/questions/22313407/ Otherwise, see https://wiki.python.org/moin/CompLangPython or the IRC channel #python on irc.freenode.net.) Trying to continue anyway. If you are trying to install CFFI from a build done in a different context, you can ignore this warning. running install running build running build_py creating build creating build/lib.linux-mips-3.8 creating build/lib.linux-mips-3.8/cffi copying cffi/model.py -> build/lib.linux-mips-3.8/cffi copying cffi/vengine_gen.py -> build/lib.linux-mips-3.8/cffi copying cffi/vengine_cpy.py -> build/lib.linux-mips-3.8/cffi copying cffi/commontypes.py -> build/lib.linux-mips-3.8/cffi copying cffi/ffiplatform.py -> build/lib.linux-mips-3.8/cffi copying cffi/api.py -> build/lib.linux-mips-3.8/cffi copying cffi/cffi_opcode.py -> build/lib.linux-mips-3.8/cffi copying cffi/lock.py -> build/lib.linux-mips-3.8/cffi copying cffi/setuptools_ext.py -> build/lib.linux-mips-3.8/cffi copying cffi/verifier.py -> build/lib.linux-mips-3.8/cffi copying cffi/cparser.py -> build/lib.linux-mips-3.8/cffi copying cffi/error.py -> build/lib.linux-mips-3.8/cffi copying cffi/pkgconfig.py -> build/lib.linux-mips-3.8/cffi copying cffi/backend_ctypes.py -> build/lib.linux-mips-3.8/cffi copying cffi/recompiler.py -> build/lib.linux-mips-3.8/cffi copying cffi/__init__.py -> build/lib.linux-mips-3.8/cffi copying cffi/_cffi_include.h -> build/lib.linux-mips-3.8/cffi copying cffi/parse_c_type.h -> build/lib.linux-mips-3.8/cffi copying cffi/_embedding.h -> build/lib.linux-mips-3.8/cffi copying cffi/_cffi_errors.h -> build/lib.linux-mips-3.8/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-mips-3.8 creating build/temp.linux-mips-3.8/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/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include -I/home/ryzhovau/Entware/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -Qunused-arguments -Qunused-arguments -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/opt/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-mips-3.8/c/_cffi_backend.o gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'? error: command 'gcc' failed with exit status 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-j0lt5mtt/cffi/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-j0lt5mtt/cffi/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-0sy_y2eb/install-record.txt --single-version-externally-managed --prefix /opt/tmp/pip-build-env-_5ch_acc/overlay --compile --install-headers /opt/tmp/pip-build-env-_5ch_acc/overlay/include/python3.8/cffi Check the logs for full command output. ---------------------------------------- ERROR: Command errored out with exit status 1: /opt/bin/python3 /opt/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /opt/tmp/pip-build-env-_5ch_acc/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.
×
×
  • Create New...