project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.48k stars 2.01k forks source link

source scripts/bootstrap.sh, Setting up Python environment.....[\]: on Raspberry Pi 4B #29337

Closed qq8512852 closed 1 year ago

qq8512852 commented 1 year ago

Build issue(s)

1. Basic Information

Git Branch: remotes/origin/test_event_7 Hardware: Raspberry PI 4B (Linux ubuntu 5.4.0-1069-raspi #79-Ubuntu SMP PREEMPT Thu Aug 18 18:15:22 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux) 64 GB SD card OS: ubuntu 20.04 server 64bit Python version: Python 3.8.10 (default, May 26 2023, 14:05:08)

2. Log Print

WELCOME TO...

▄███▒ ░▓█ ░▓█ ░▓█▓ ▒█████▄ ██▒ ▀█▒ ▒█ ▒█ ░█▒ ▒█░ █░ █▓░ ▒██████ ░█▒ ▒█▄▄▄█░ ▓█ █▒ ▒█ ▒█ ░█░ ▒█▀ ░▓███▀ ░▓███░▓█▒ ░█░ ▒█

BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Downloading and installing packages into local source directory:

Setting up CIPD package manager...done (15m19.1s) Setting up Python environment.....[|] ninja: Entering directory `/home/wubo/matter/git-hub-matter/connectedhomeip/.environment/gn_out' [1/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_protobuf/common_protos._includes.stamp [2/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_tokenizer/proto._includes.stamp [3/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_rpc/protos._includes.stamp [4/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_unit_test/unit_test_proto._includes.stamp [5/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_protobuf_compiler --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_protobuf_compiler/toolchain:protocol_buffer --touch protocol_buffer/gen/third_party/pigweed/repo/pw_protobuf_compiler/protobuf_requirements.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [6/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_protobuf_compiler/protobuf_requirements.stamp [7/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_rpc --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_protobuf_compiler/toolchain:protocol_buffer --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/mirror_tree.py --source-root ../../third_party/pigweed/repo/pw_rpc/ --directory protocol_buffer/gen/third_party/pigweed/repo/pw_rpc/protos.proto_library/sources/pw_rpc ../../third_party/pigweed/repo/pw_rpc/benchmark.proto ../../third_party/pigweed/repo/pw_rpc/echo.proto ../../third_party/pigweed/repo/pw_rpc/internal/packet.proto ../../third_party/pigweed/repo/pw_rpc/echo.options [8/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_rpc/protos._sources.stamp [9/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/happy --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/happy/happy.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [10/182] touch python/obj/third_party/pigweed/repo/pw_build/python_lint._run_pip_install.stamp [11/182] touch python/obj/third_party/happy/happy.stamp [12/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_protobuf --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_protobuf_compiler/toolchain:protocol_buffer --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/mirror_tree.py --source-root ../../third_party/pigweed/repo/pw_protobuf/ --directory protocol_buffer/gen/third_party/pigweed/repo/pw_protobuf/common_protos.proto_library/sources/ ../../third_party/pigweed/repo/pw_protobuf/pw_protobuf_protos/common.proto ../../third_party/pigweed/repo/pw_protobuf/pw_protobuf_protos/status.proto [13/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_protobuf/common_protos._sources.stamp [14/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_unit_test --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_protobuf_compiler/toolchain:protocol_buffer --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/mirror_tree.py --source-root ../../third_party/pigweed/repo/pw_unit_test/ --directory protocol_buffer/gen/third_party/pigweed/repo/pw_unit_test/unit_test_proto.proto_library/sources/ ../../third_party/pigweed/repo/pw_unit_test/pw_unit_test_proto/unit_test.proto [15/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_unit_test/unit_test_proto._sources.stamp [16/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_tokenizer --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_protobuf_compiler/toolchain:protocol_buffer --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/mirror_tree.py --source-root ../../third_party/pigweed/repo/pw_tokenizer/ --directory protocol_buffer/gen/third_party/pigweed/repo/pw_tokenizer/proto.proto_library/sources/pw_tokenizer/proto ../../third_party/pigweed/repo/pw_tokenizer/options.proto [17/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../integrations/mobly --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/integrations/mobly/chip_mobly.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [18/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_tokenizer/proto._sources.stamp [19/182] touch python/obj/integrations/mobly/chip_mobly.stamp [20/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_build --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_build/python_lint.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [21/182] touch python/obj/third_party/pigweed/repo/pw_build/python_lint.stamp [22/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_cli/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_cli/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [23/182] touch python/obj/third_party/pigweed/repo/pw_cli/py/py.stamp [24/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_env_setup/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_env_setup/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [25/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_log_tokenized/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_log_tokenized/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [26/182] touch python/obj/third_party/pigweed/repo/pw_env_setup/py/py.stamp [27/182] touch python/obj/third_party/pigweed/repo/pw_log_tokenized/py/py.stamp [28/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_arduino_build/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_arduino_build/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [29/182] touch python/obj/third_party/pigweed/repo/pw_arduino_build/py/py.stamp [30/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_module/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_module/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [31/182] touch python/obj/third_party/pigweed/repo/pw_module/py/py.stamp [32/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_status/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_status/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [33/182] touch python/obj/third_party/pigweed/repo/pw_status/py/py.stamp [34/182] touch python/obj/third_party/pigweed/repo/pw_tokenizer/proto.python._deps._run_pip_install.stamp [35/182] touch python/obj/third_party/pigweed/repo/pw_tokenizer/proto.python._deps.install.stamp [36/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_doctor/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_doctor/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [37/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_protobuf/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_protobuf/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [38/182] touch python/obj/third_party/pigweed/repo/pw_doctor/py/py.stamp [39/182] touch python/obj/third_party/pigweed/repo/pw_protobuf/py/py.stamp [40/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_protobuf_compiler/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_protobuf_compiler/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [41/182] touch python/obj/third_party/pigweed/repo/pw_protobuf_compiler/py/py.stamp [42/182] touch protocol_buffer/obj/third_party/pigweed/repo/pw_protobuf_compiler/py/py.stamp [43/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_stm32cube_build/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_stm32cube_build/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [44/182] touch python/obj/third_party/pigweed/repo/pw_stm32cube_build/py/py.stamp [45/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_toolchain/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_toolchain/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [46/182] touch python/obj/third_party/pigweed/repo/pw_toolchain/py/py.stamp [47/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_watch/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_watch/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [48/182] touch python/obj/third_party/pigweed/repo/pw_watch/py/py.stamp [49/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_package/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_package/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [50/182] touch python/obj/third_party/pigweed/repo/pw_package/py/py.stamp [51/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_presubmit/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_presubmit/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [52/182] touch python/obj/third_party/pigweed/repo/pw_presubmit/py/py.stamp [53/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_build/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_build/py/py.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_build/py/pw_build/nop.py [54/182] touch python/obj/third_party/pigweed/repo/pw_build/py/py.stamp [55/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../third_party/pigweed/repo/pw_cli/py --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/third_party/pigweed/repo/pw_cli/py/py._run_pip_install.pw_pystamp --capture-output --module pip -- install --constraint ../../scripts/constraints.txt --editable ../../third_party/pigweed/repo/pw_cli/py [56/182] touch python/obj/third_party/pigweed/repo/pw_cli/py/py._run_pip_install.stamp [57/182] touch python/obj/third_party/pigweed/repo/pw_cli/py/py.install.stamp [58/182] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../scripts --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//build/toolchain/linux:linux_arm64_gcc --touch gen/scripts/requirements.install.pw_pystamp --capture-output --module pip -- install --requirement ../../scripts/requirements.txt --constraint ../../scripts/constraints.txt FAILED: gen/scripts/requirements.install.pw_pystamp python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../scripts --default-toolchain=//build/toolchain/linux:linux_arm64_gcc --current-toolchain=//build/toolchain/linux:linux_arm64_gcc --touch gen/scripts/requirements.install.pw_pystamp --capture-output --module pip -- install --requirement ../../scripts/requirements.txt --constraint ../../scripts/constraints.txt Ignoring mbed-tools: markers 'platform_machine != "aarch64" and sys_platform == "linux"' don't match your environment Ignoring prettytable: markers 'platform_machine != "aarch64" and sys_platform == "linux"' don't match your environment Ignoring pyobjc-core: markers 'sys_platform == "darwin"' don't match your environment Ignoring pyobjc-framework-cocoa: markers 'sys_platform == "darwin"' don't match your environment Ignoring pyobjc-framework-corebluetooth: markers 'sys_platform == "darwin"' don't match your environment Ignoring pandas: markers 'platform_machine != "aarch64"' don't match your environment Collecting pip-tools (from -r ../../scripts/requirements.txt (line 1)) Downloading pip_tools-6.1.0-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.4/44.4 kB 314.0 kB/s eta 0:00:00 Collecting virtualenv (from -r ../../scripts/requirements.txt (line 2)) Downloading virtualenv-20.4.7-py2.py3-none-any.whl (7.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.2/7.2 MB 1.1 MB/s eta 0:00:00 Requirement already satisfied: setuptools>=21 in /home/wubo/matter/git-hub-matter/connectedhomeip/.environment/pigweed-venv/lib/python3.8/site-packages (from -r ../../scripts/requirements.esp32.txt (line 1)) (68.2.2) Collecting click>=5.0 (from -r ../../scripts/requirements.esp32.txt (line 2)) Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 kB 536.3 kB/s eta 0:00:00 Collecting pyserial>=3.0 (from -r ../../scripts/requirements.esp32.txt (line 3)) Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 301.2 kB/s eta 0:00:00 Collecting future>=0.15.2 (from -r ../../scripts/requirements.esp32.txt (line 4)) Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 1.1 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting cryptography>=2.1.4 (from -r ../../scripts/requirements.esp32.txt (line 5)) Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_aarch64.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 666.4 kB/s eta 0:00:00 Collecting pyparsing<2.4.0,>=2.0.3 (from -r ../../scripts/requirements.esp32.txt (line 6)) Downloading pyparsing-2.3.1-py2.py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 492.2 kB/s eta 0:00:00 Collecting pyelftools>=0.22 (from -r ../../scripts/requirements.esp32.txt (line 7)) Downloading pyelftools-0.27-py2.py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.6/151.6 kB 358.6 kB/s eta 0:00:00 Collecting gdbgui==0.13.2.0 (from -r ../../scripts/requirements.esp32.txt (line 8)) Downloading gdbgui-0.13.2.0-py3-none-any.whl (878 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 878.4/878.4 kB 517.2 kB/s eta 0:00:00 Collecting pygdbmi<=0.9.0.2 (from -r ../../scripts/requirements.esp32.txt (line 9)) Downloading pygdbmi-0.9.0.2-py3-none-any.whl (16 kB) Collecting reedsolo<=1.5.4,>=1.5.3 (from -r ../../scripts/requirements.esp32.txt (line 10)) Downloading reedsolo-1.5.4.tar.gz (271 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 271.3/271.3 kB 496.9 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting bitstring>=3.1.6 (from -r ../../scripts/requirements.esp32.txt (line 11)) Downloading bitstring-3.1.7.tar.gz (195 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.8/195.8 kB 368.4 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting ecdsa>=0.16.0 (from -r ../../scripts/requirements.esp32.txt (line 12)) Downloading ecdsa-0.17.0-py2.py3-none-any.whl (119 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.3/119.3 kB 439.6 kB/s eta 0:00:00 Collecting kconfiglib==13.7.1 (from -r ../../scripts/requirements.esp32.txt (line 13)) Downloading kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.7/145.7 kB 1.3 MB/s eta 0:00:00 Collecting construct==2.10.54 (from -r ../../scripts/requirements.esp32.txt (line 14)) Downloading construct-2.10.54.tar.gz (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.3/55.3 kB 91.2 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting python-socketio<5 (from -r ../../scripts/requirements.esp32.txt (line 15)) Downloading python_socketio-4.6.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.9/51.9 kB 3.1 MB/s eta 0:00:00 Collecting requests>=2.24.0 (from -r ../../scripts/requirements.txt (line 11)) Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 124.0 kB/s eta 0:00:00 Collecting wheel (from -r ../../scripts/requirements.txt (line 14)) Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB) Collecting dbus-python (from -r ../../scripts/requirements.txt (line 15)) Downloading dbus-python-1.2.16.tar.gz (576 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 576.7/576.7 kB 98.2 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting pgi (from -r ../../scripts/requirements.txt (line 16)) Downloading pgi-0.0.11.2.tar.gz (239 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.4/239.4 kB 243.4 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting portpicker (from -r ../../scripts/requirements.txt (line 22)) Downloading portpicker-1.4.0-py3-none-any.whl (13 kB) Collecting mobly (from -r ../../scripts/requirements.txt (line 23)) Downloading mobly-1.10.1.tar.gz (159 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.6/159.6 kB 258.3 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting west>=0.11.0 (from -r ../../scripts/requirements.txt (line 26)) Downloading west-0.11.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.3/84.3 kB 124.2 kB/s eta 0:00:00 Collecting intelhex (from -r ../../scripts/requirements.txt (line 27)) Downloading intelhex-2.3.0-py2.py3-none-any.whl (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 kB 200.1 kB/s eta 0:00:00 Collecting lockfile (from -r ../../scripts/requirements.txt (line 30)) Downloading lockfile-0.12.2-py2.py3-none-any.whl (13 kB) Collecting psutil>=5.7.3 (from -r ../../scripts/requirements.txt (line 31)) Downloading psutil-5.8.0.tar.gz (470 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 470.9/470.9 kB 313.0 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting ipython (from -r ../../scripts/requirements.txt (line 34)) Downloading ipython-7.24.1-py3-none-any.whl (785 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 785.9/785.9 kB 434.7 kB/s eta 0:00:00 Collecting appnope (from -r ../../scripts/requirements.txt (line 35)) Downloading appnope-0.1.2-py2.py3-none-any.whl (4.3 kB) Collecting appdirs (from -r ../../scripts/requirements.txt (line 36)) Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting coloredlogs (from -r ../../scripts/requirements.txt (line 37)) Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 1.6 MB/s eta 0:00:00 Collecting watchdog (from -r ../../scripts/requirements.txt (line 38)) Downloading watchdog-2.1.2-py3-none-manylinux2014_aarch64.whl (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.9/74.9 kB 424.0 kB/s eta 0:00:00 Collecting protobuf (from -r ../../scripts/requirements.txt (line 39)) Downloading protobuf-3.17.3-cp38-cp38-manylinux2014_aarch64.whl (923 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 923.5/923.5 kB 519.3 kB/s eta 0:00:00 Collecting anytree (from -r ../../scripts/requirements.txt (line 42)) Downloading anytree-2.8.0-py2.py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 2.5 MB/s eta 0:00:00 Collecting cxxfilt (from -r ../../scripts/requirements.txt (line 43)) Downloading cxxfilt-0.2.2-py2.py3-none-any.whl (3.9 kB) Collecting ghapi (from -r ../../scripts/requirements.txt (line 44)) Obtaining dependency information for ghapi from https://files.pythonhosted.org/packages/60/71/064560201c434c22c9f395878ba0f21f9ede8169e61c1a109f26a377bd5e/ghapi-1.0.4-py3-none-any.whl.metadata Downloading ghapi-1.0.4-py3-none-any.whl.metadata (13 kB) Collecting Flask<1.0,>=0.12.2 (from gdbgui==0.13.2.0->-r ../../scripts/requirements.esp32.txt (line 8)) Downloading Flask-0.12.5-py2.py3-none-any.whl (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.7/81.7 kB 519.5 kB/s eta 0:00:00 Collecting Flask-Compress<2.0,>=1.4.0 (from gdbgui==0.13.2.0->-r ../../scripts/requirements.esp32.txt (line 8)) Downloading Flask_Compress-1.10.0-py3-none-any.whl (11 kB) Collecting Flask-SocketIO<3.0,>=2.9 (from gdbgui==0.13.2.0->-r ../../scripts/requirements.esp32.txt (line 8)) Downloading Flask_SocketIO-2.9.6-py2.py3-none-any.whl (16 kB) Collecting gevent<2.0,>=1.2.2 (from gdbgui==0.13.2.0->-r ../../scripts/requirements.esp32.txt (line 8)) Downloading gevent-1.5.0.tar.gz (5.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 654.6 kB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [318 lines of output] Compiling src/gevent/resolver/cares.pyx because it changed. [1/1] Cythonizing src/gevent/resolver/cares.pyx warning: src/gevent/resolver/cares.pyx:32:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: src/gevent/resolver/cares.pyx:33:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: src/gevent/libev/corecext.pyx:325:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: src/gevent/libev/corecext.pyx:778:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: src/gevent/libev/corecext.pyx:780:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: src/gevent/libev/corecext.pyx:782:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: src/gevent/libev/corecext.pyx:786:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: src/gevent/libev/corecext.pyx:1288:0: Global name SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: src/gevent/libev/corecext.pyx:1288:0: Global name __SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: src/gevent/libev/corecext.pyx:1288:0: Global name SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: src/gevent/libev/corecext.pyx:1288:0: Global name __SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          if events & ~(libev.EV__IOFDSET | libev.EV_READ | libev.EV_WRITE):
              raise ValueError('illegal event mask: %r' % events)
          # All the vfd_functions are no-ops on POSIX
          cdef int vfd = libev.vfd_open(fd)
          libev.ev_io_init(&self._watcher, <void *>gevent_callback_io, vfd, events)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1027:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              raise ValueError('illegal event mask: %r' % events)
          # All the vfd_functions are no-ops on POSIX
          cdef int vfd = libev.vfd_open(fd)
          libev.ev_io_init(&self._watcher, <void *>gevent_callback_io, vfd, events)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &io_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1028:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      def __cinit__(self, loop loop, double after=0.0, double repeat=0.0, ref=True, priority=None):
          if repeat < 0.0:
              raise ValueError("repeat must be positive or zero: %r" % repeat)
          libev.ev_timer_init(&self._watcher, <void *>gevent_callback_timer, after, repeat)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1072:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      def __cinit__(self, loop loop, double after=0.0, double repeat=0.0, ref=True, priority=None):
          if repeat < 0.0:
              raise ValueError("repeat must be positive or zero: %r" % repeat)
          libev.ev_timer_init(&self._watcher, <void *>gevent_callback_timer, after, repeat)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &timer_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1073:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          # 1) "libev: ev_signal_start called with illegal signal number"
          #    EV_NSIG might be different from signal.NSIG on some platforms
          # 2) "libev: a signal must not be attached to two different loops"
          #    we probably could check that in LIBEV_EMBED mode, but not in general
          libev.ev_signal_init(&self._watcher, <void *>gevent_callback_signal, signalnum)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1117:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          #    EV_NSIG might be different from signal.NSIG on some platforms
          # 2) "libev: a signal must not be attached to two different loops"
          #    we probably could check that in LIBEV_EMBED mode, but not in general
          libev.ev_signal_init(&self._watcher, <void *>gevent_callback_signal, signalnum)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &signal_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1118:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_idle _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_idle_init(&self._watcher, <void*>gevent_callback_idle)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1133:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_idle _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_idle_init(&self._watcher, <void*>gevent_callback_idle)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &idle_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1134:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_prepare _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_prepare_init(&self._watcher, <void*>gevent_callback_prepare)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1146:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_prepare _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_prepare_init(&self._watcher, <void*>gevent_callback_prepare)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &prepare_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1147:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_check _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_check_init(&self._watcher, <void*>gevent_callback_check)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1159:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_check _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_check_init(&self._watcher, <void*>gevent_callback_check)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &check_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1160:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_fork _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_fork_init(&self._watcher, <void*>gevent_callback_fork)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1172:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_fork _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_fork_init(&self._watcher, <void*>gevent_callback_fork)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &fork_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1173:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          # Note the use of ev_async_pending instead of ev_is_pending
          return True if libev.ev_async_pending(&self._watcher) else False

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_async_init(&self._watcher, <void*>gevent_callback_async)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1189:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          return True if libev.ev_async_pending(&self._watcher) else False

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_async_init(&self._watcher, <void*>gevent_callback_async)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &async_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1190:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              raise AttributeError("Child watchers are not supported on Windows")
          if not loop.default:
              raise TypeError('child watchers are only available on the default loop')
          libev.gevent_install_sigchld_handler()
          libev.ev_child_init(&self._watcher, <void *>gevent_callback_child, pid, trace)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1212:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          if not loop.default:
              raise TypeError('child watchers are only available on the default loop')
          libev.gevent_install_sigchld_handler()
          libev.ev_child_init(&self._watcher, <void *>gevent_callback_child, pid, trace)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &child_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1213:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              self._paths = paths
          else:
              paths = <bytes>path
              self._paths = paths
          libev.ev_stat_init(&self._watcher, <void *>gevent_callback_stat, <char*>paths, interval)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1263:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          else:
              paths = <bytes>path
              self._paths = paths
          libev.ev_stat_init(&self._watcher, <void *>gevent_callback_stat, <char*>paths, interval)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &stat_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1264:20: Cannot convert 'start_and_stop *' to Python object
  Compiling src/gevent/libev/corecext.pyx because it changed.
  [1/1] Cythonizing src/gevent/libev/corecext.pyx
  Traceback (most recent call last):
    File "/home/wubo/matter/git-hub-matter/connectedhomeip/.environment/pigweed-venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/wubo/matter/git-hub-matter/connectedhomeip/.environment/pigweed-venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/wubo/matter/git-hub-matter/connectedhomeip/.environment/pigweed-venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-diqnk75b/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "/tmp/pip-build-env-diqnk75b/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-diqnk75b/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 507, in run_setup
      super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-diqnk75b/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup
      exec(code, locals())
    File "<string>", line 49, in <module>
    File "/tmp/pip-install-127fzb29/gevent_71f886088a3f47d3b0ebf6ab05f72f05/_setuputils.py", line 254, in cythonize1
      new_ext = cythonize(
    File "/tmp/pip-build-env-diqnk75b/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
      cythonize_one(*args)
    File "/tmp/pip-build-env-diqnk75b/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
      raise CompileError(None, pyx_file)
  Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. ninja: build stopped: subcommand failed. ['ninja', '-C', '/home/wubo/matter/git-hub-matter/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']

Traceback (most recent call last): File "/home/wubo/matter/git-hub-matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 279, in install_packages subprocess.check_call(ninja_cmd, stdout=outs, stderr=outs) File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ninja', '-C', '/home/wubo/matter/git-hub-matter/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/wubo/matter/git-hub-matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 679, in sys.exit(main()) File "/home/wubo/matter/git-hub-matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 671, in main return EnvSetup(**vars(parse())).setup() File "/home/wubo/matter/git-hub-matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 414, in setup result = step(spin) File "/home/wubo/matter/git-hub-matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 533, in virtualenv if not virtualenv_setup.install( File "/home/wubo/matter/git-hub-matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 294, in install install_packages(gn_target) File "/home/wubo/matter/git-hub-matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 282, in install_packages raise subprocess.CalledProcessError(err.returncode, err.cmd, subprocess.CalledProcessError: Command '['ninja', '-C', '/home/wubo/matter/git-hub-matter/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.

How to fix it?

Platform

raspi

Anything else?

No response

andy31415 commented 1 year ago

Seems like libev error, we had this because gdbgui dependency in esp32.

Please do the following changes:

andy31415 commented 1 year ago

Having said that, above you say Git Branch: remotes/origin/test_event_7 ... this is a 2 year old branch. Why are you using it?

https://github.com/project-chip/connectedhomeip/commits/test_event_7

qq8512852 commented 1 year ago

Having said that, above you say Git Branch: remotes/origin/test_event_7 ... this is a 2 year old branch. Why are you using it?

https://github.com/project-chip/connectedhomeip/commits/test_event_7

Oh, because I first started working with Matter source code over a year ago, I have been using that version's codebase. After a long break, I‘m revisting it now and trying to compile it on a Raspberry Pi , but encountering difficulties. I 'm hesitant to switch branches as it may introduce further complications. But once environment is set up and ready. I'll check the latest version.

qq8512852 commented 1 year ago

Seems like libev error, we had this because gdbgui dependency in esp32.

Please do the following changes:

  • remove (comment out with) gdbgui from scripts/setup/requirements.esp32.txt
  • if esp32 compile needed, you can comment out gdbgui from esp-idf/requirements.txt from wherever you have espidf installed

Thanks, I will try this solution on the device tomorrow morning.

qq8512852 commented 1 year ago

Seems like libev error, we had this because gdbgui dependency in esp32.

Please do the following changes:

  • remove (comment out with) gdbgui from scripts/setup/requirements.esp32.txt
  • if esp32 compile needed, you can comment out gdbgui from esp-idf/requirements.txt from wherever you have espidf installed

Done. image

Solution: 1.vim scripts/requirements.esp32.txt 2.just "#gdbgui==0.13.2.0"

Thanks again.