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.55k stars 2.04k forks source link

[BUG] Could not build wheels for chip-rpc, which is required to install pyproject.toml-based projects when running source scripts/bootstrap.sh #26114

Open ParthSSharma opened 1 year ago

ParthSSharma commented 1 year ago

Reproduction steps

I tried following the build guide as mentioned here: https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/BUILDING.md

  1. git clone --recurse-submodules git@github.com:project-chip/connectedhomeip.git
  2. git submodule update --init
  3. sudo apt-get install git gcc g++ pkg-config libssl-dev libdbus-1-dev \ libglib2.0-dev libavahi-client-dev ninja-build python3-venv python3-dev \ python3-pip unzip libgirepository1.0-dev libcairo2-dev libreadline-dev
  4. source scripts/bootstrap.sh

Bug prevalence

Every time I run bootstrap.sh or activate.sh

GitHub hash of the SDK that was being used

2e4064e17b2bfa8394100483279a4bbaf9d40b42

Platform

windows

Platform Version(s)

No response

Anything else?

I am using WSL with ubuntu image Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy

The terminal looks as follows:

parthssharma@DESKTOP-L5GOCE4:/mnt/e/Parth/Coding/Matter/connectedhomeip$ source scripts/bootstrap.sh
Synchronizing submodule url for 'examples/common/QRCode/repo'
Synchronizing submodule url for 'examples/common/m5stack-tft/repo'
Synchronizing submodule url for 'third_party/boringssl/repo/src'
Synchronizing submodule url for 'third_party/bouffalolab/repo'
Synchronizing submodule url for 'third_party/bouffalolab/repo/components'
Synchronizing submodule url for 'third_party/bouffalolab/repo/customer_app'
Synchronizing submodule url for 'third_party/bouffalolab/repo/docs'
Synchronizing submodule url for 'third_party/bouffalolab/repo/tools'
Synchronizing submodule url for 'third_party/cirque/repo'
Synchronizing submodule url for 'third_party/editline/repo'
Synchronizing submodule url for 'third_party/freertos/repo'
Synchronizing submodule url for 'third_party/imgui/repo'
Synchronizing submodule url for 'third_party/infineon/cyw30739_sdk/repos/30739A0'
Synchronizing submodule url for 'third_party/infineon/cyw30739_sdk/repos/CYW930739M2EVB-01'
Synchronizing submodule url for 'third_party/infineon/cyw30739_sdk/repos/btsdk-include'
Synchronizing submodule url for 'third_party/infineon/cyw30739_sdk/repos/btsdk-tools'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/TARGET_CY8CKIT-062S2-43012'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/abstraction-rtos'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/anycloud-ota'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/bluetooth-freertos'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/btstack'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/clib-support'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/connectivity-utilities'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/core-lib'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/core-make'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/freertos'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/kv-store'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/lwip'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/mbedtls'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/mtb-hal-cat1'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/mtb-pdl-cat1'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/psoc6cm0p'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/recipe-make-cat1a'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/retarget-io'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/secure-sockets'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/serial-flash'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/whd-bsp-integration'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/wifi-connection-manager'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/wifi-host-driver'
Synchronizing submodule url for 'third_party/infineon/psoc6/psoc6_sdk/libs/wifi-mw-core'
Synchronizing submodule url for 'third_party/jsoncpp/repo'
Synchronizing submodule url for 'third_party/libwebsockets/repo'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/cypress/libs/core-lib'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/cypress/libs/cy-mbedtls-acceleration'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/cypress/libs/mtb-pdl-cat1'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/cypress/libs/pdl/psoc6pdl'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/cypress/libs/psoc6hal'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/cypress/libs/retarget-io'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/asio/asio'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bt/controller/lib_esp32'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bt/controller/lib_esp32c3_family'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bt/host/nimble/nimble'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cbor/tinycbor'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cmock/CMock'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cmock/CMock/vendor/c_exception'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cmock/CMock/vendor/unity'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/coap/libcoap'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/coap/libcoap/ext/tinydtls'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/esp_phy/lib'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/esp_wifi/lib'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/esptool_py/esptool'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/expat/expat'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/ieee802154/lib'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/json/cJSON'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/libsodium/libsodium'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/lwip/lwip'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/mbedtls/mbedtls'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/mqtt/esp-mqtt'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/nghttp/nghttp2'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/nghttp/nghttp2/third-party/mruby'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/openthread/lib'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/openthread/openthread'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/protobuf-c/protobuf-c'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/spiffs/spiffs'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/tinyusb/tinyusb'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/unity/unity'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/examples/build_system/cmake/import_lib/main/lib/tinyxml2'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/ext/cddl-gen'
Synchronizing submodule url for 'third_party/mbed-mcu-boot/repo/ext/mbedtls'
Synchronizing submodule url for 'third_party/mbed-os-cypress-capsense-button/repo'
Synchronizing submodule url for 'third_party/mbed-os-posix-socket/repo'
Synchronizing submodule url for 'third_party/mbed-os/repo'
Synchronizing submodule url for 'third_party/mbedtls/repo'
Synchronizing submodule url for 'third_party/mt793x_sdk/filogic'
Synchronizing submodule url for 'third_party/mt793x_sdk/lwip'
Synchronizing submodule url for 'third_party/mt793x_sdk/mDNSResponder'
Synchronizing submodule url for 'third_party/nanopb/repo'
Synchronizing submodule url for 'third_party/nlassert/repo'
Synchronizing submodule url for 'third_party/nlfaultinjection/repo'
Synchronizing submodule url for 'third_party/nlio/repo'
Synchronizing submodule url for 'third_party/nlunit-test/repo'
Synchronizing submodule url for 'third_party/nxp/mw320_sdk/repo'
Synchronizing submodule url for 'third_party/open-iot-sdk/sdk'
Synchronizing submodule url for 'third_party/open-iot-sdk/sdk/developer-tools'
Synchronizing submodule url for 'third_party/open-iot-sdk/storage'
Synchronizing submodule url for 'third_party/open-iot-sdk/storage/developer-tools'
Synchronizing submodule url for 'third_party/openthread/ot-efr32'
Synchronizing submodule url for 'third_party/openthread/ot-efr32/openthread'
Synchronizing submodule url for 'third_party/openthread/ot-efr32/third_party/silabs/gecko_sdk'
Synchronizing submodule url for 'third_party/openthread/ot-ifx'
Synchronizing submodule url for 'third_party/openthread/ot-ifx/openthread'
Synchronizing submodule url for 'third_party/openthread/ot-ifx/third_party/infineon/btsdk-include'
Synchronizing submodule url for 'third_party/openthread/ot-ifx/third_party/infineon/btsdk-tools'
Synchronizing submodule url for 'third_party/openthread/ot-ifx/third_party/infineon/platform/cyw30739/30739a0'
Synchronizing submodule url for 'third_party/openthread/ot-ifx/third_party/infineon/platform/cyw30739/bsp/cyw930739m2evb-01/TARGET_CYW930739M2EVB-01'
Synchronizing submodule url for 'third_party/openthread/ot-nxp'
Synchronizing submodule url for 'third_party/openthread/ot-nxp/openthread'
Synchronizing submodule url for 'third_party/openthread/ot-qorvo'
Synchronizing submodule url for 'third_party/openthread/ot-qorvo/openthread'
Synchronizing submodule url for 'third_party/openthread/ot-qorvo/third_party/Qorvo/repo'
Synchronizing submodule url for 'third_party/openthread/repo'
Synchronizing submodule url for 'third_party/ot-br-posix/repo'
Synchronizing submodule url for 'third_party/ot-br-posix/repo/third_party/cJSON/repo'
Synchronizing submodule url for 'third_party/ot-br-posix/repo/third_party/http-parser/repo'
Synchronizing submodule url for 'third_party/ot-br-posix/repo/third_party/openthread/repo'
Synchronizing submodule url for 'third_party/pigweed/repo'
Synchronizing submodule url for 'third_party/pybind11/repo'
Synchronizing submodule url for 'third_party/qpg_sdk/repo'
Synchronizing submodule url for 'third_party/silabs/gecko_sdk'
Synchronizing submodule url for 'third_party/silabs/matter_support'
Synchronizing submodule url for 'third_party/silabs/wiseconnect-wifi-bt-sdk'
Synchronizing submodule url for 'third_party/simw-top-mini/repo'
Synchronizing submodule url for 'third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx'
Synchronizing submodule url for 'third_party/ti_simplelink_sdk/repo_cc32xx'

  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 (3.5s)
  Setting up Python environment.....[|]
ninja: Entering directory `/mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/gn_out'
[1/9] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../.. --default-toolchain=//build/toolchain/linux:linux_x64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/pip_install_matter_packages.pw_pystamp --capture-output --python-dep-list-files python/gen/pip_install_matter_packages_metadata_path_list.txt -- ../../third_party/pigweed/repo/pw_build/py/pw_build/pip_install_python_deps.py --python-dep-list-files python/gen/pip_install_matter_packages_metadata_path_list.txt --gn-packages //examples/common/pigweed/rpc_console:chip_rpc_distribution install --no-build-isolation --constraint ../../scripts/setup/constraints.txt
FAILED: python/gen/pip_install_matter_packages.pw_pystamp
python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../.. --default-toolchain=//build/toolchain/linux:linux_x64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --touch python/gen/pip_install_matter_packages.pw_pystamp --capture-output --python-dep-list-files python/gen/pip_install_matter_packages_metadata_path_list.txt -- ../../third_party/pigweed/repo/pw_build/py/pw_build/pip_install_python_deps.py --python-dep-list-files python/gen/pip_install_matter_packages_metadata_path_list.txt --gn-packages //examples/common/pigweed/rpc_console:chip_rpc_distribution install --no-build-isolation --constraint ../../scripts/setup/constraints.txt
Processing ./python/obj/examples/common/pigweed/rpc_console/chip_rpc_distribution
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting googleapis-common-protos>=1.56.2 (from chip-rpc==0.0.1+20230416123656)
  Using cached googleapis_common_protos-1.59.0-py2.py3-none-any.whl (223 kB)
Requirement already satisfied: ipython in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (8.11.0)
Requirement already satisfied: jinja2 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (3.0.3)
Requirement already satisfied: mypy-protobuf>=3.2.0 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (3.2.0)
Requirement already satisfied: prompt-toolkit>=3.0.26 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (3.0.38)
Requirement already satisfied: protobuf in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (3.20.1)
Requirement already satisfied: psutil in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (5.9.4)
Collecting ptpython>=3.0.20 (from chip-rpc==0.0.1+20230416123656)
  Using cached ptpython-3.0.23-py2.py3-none-any.whl (63 kB)
Requirement already satisfied: pygments in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (2.14.0)
Collecting pyperclip (from chip-rpc==0.0.1+20230416123656)
  Using cached pyperclip-1.8.2-py3-none-any.whl
Requirement already satisfied: pyserial in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (3.5)
Requirement already satisfied: pyyaml in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (6.0)
Requirement already satisfied: toml in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (0.10.2)
Requirement already satisfied: types-protobuf>=3.19.22 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (3.19.22)
Collecting types-pygments (from chip-rpc==0.0.1+20230416123656)
  Using cached types_Pygments-2.15.0.0-py3-none-any.whl (16 kB)
Collecting types-pyserial<4.0,>=3.5 (from chip-rpc==0.0.1+20230416123656)
  Using cached types_pyserial-3.5.0.8-py3-none-any.whl (19 kB)
Collecting types-pyyaml (from chip-rpc==0.0.1+20230416123656)
  Using cached types_PyYAML-6.0.12.9-py3-none-any.whl (14 kB)
Requirement already satisfied: websockets in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from chip-rpc==0.0.1+20230416123656) (10.4)
INFO: pip is looking at multiple versions of googleapis-common-protos to determine which version is compatible with other requirements. This could take a while.
Collecting googleapis-common-protos>=1.56.2 (from chip-rpc==0.0.1+20230416123656)
  Using cached googleapis_common_protos-1.58.0-py2.py3-none-any.whl (223 kB)
  Using cached googleapis_common_protos-1.57.1-py2.py3-none-any.whl (218 kB)
  Using cached googleapis_common_protos-1.57.0-py2.py3-none-any.whl (217 kB)
  Using cached googleapis_common_protos-1.56.4-py2.py3-none-any.whl (211 kB)
Requirement already satisfied: wcwidth in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from prompt-toolkit>=3.0.26->chip-rpc==0.0.1+20230416123656) (0.2.6)
Requirement already satisfied: appdirs in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ptpython>=3.0.20->chip-rpc==0.0.1+20230416123656) (1.4.4)
Requirement already satisfied: jedi>=0.16.0 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ptpython>=3.0.20->chip-rpc==0.0.1+20230416123656) (0.18.2)
Requirement already satisfied: backcall in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ipython->chip-rpc==0.0.1+20230416123656) (0.2.0)
Requirement already satisfied: decorator in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ipython->chip-rpc==0.0.1+20230416123656) (5.1.1)
Requirement already satisfied: matplotlib-inline in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ipython->chip-rpc==0.0.1+20230416123656) (0.1.6)
Requirement already satisfied: pickleshare in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ipython->chip-rpc==0.0.1+20230416123656) (0.7.5)
Requirement already satisfied: stack-data in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ipython->chip-rpc==0.0.1+20230416123656) (0.6.2)
Requirement already satisfied: traitlets>=5 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ipython->chip-rpc==0.0.1+20230416123656) (5.9.0)
Requirement already satisfied: pexpect>4.3 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from ipython->chip-rpc==0.0.1+20230416123656) (4.8.0)
Requirement already satisfied: MarkupSafe>=2.0 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from jinja2->chip-rpc==0.0.1+20230416123656) (2.1.2)
Collecting types-docutils (from types-pygments->chip-rpc==0.0.1+20230416123656)
  Using cached types_docutils-0.19.1.7-py3-none-any.whl (16 kB)
Collecting types-setuptools (from types-pygments->chip-rpc==0.0.1+20230416123656)
  Using cached types_setuptools-67.6.0.7-py3-none-any.whl (35 kB)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from jedi>=0.16.0->ptpython>=3.0.20->chip-rpc==0.0.1+20230416123656) (0.8.3)
Requirement already satisfied: ptyprocess>=0.5 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from pexpect>4.3->ipython->chip-rpc==0.0.1+20230416123656) (0.7.0)
Requirement already satisfied: executing>=1.2.0 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from stack-data->ipython->chip-rpc==0.0.1+20230416123656) (1.2.0)
Requirement already satisfied: asttokens>=2.1.0 in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from stack-data->ipython->chip-rpc==0.0.1+20230416123656) (2.2.1)
Requirement already satisfied: pure-eval in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from stack-data->ipython->chip-rpc==0.0.1+20230416123656) (0.2.2)
Requirement already satisfied: six in /mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from asttokens>=2.1.0->stack-data->ipython->chip-rpc==0.0.1+20230416123656) (1.16.0)
Building wheels for collected packages: chip-rpc
  Building wheel for chip-rpc (pyproject.toml): started
  Building wheel for chip-rpc (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error

  × Building wheel for chip-rpc (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      running bdist_wheel
      running build
      running build_py
      installing to build/bdist.linux-x86_64/wheel
      running install
      running install_lib
      running install_egg_info
      running egg_info
      writing chip_rpc.egg-info/PKG-INFO
      writing dependency_links to chip_rpc.egg-info/dependency_links.txt
      writing entry points to chip_rpc.egg-info/entry_points.txt
      writing requirements to chip_rpc.egg-info/requires.txt
      writing top-level names to chip_rpc.egg-info/top_level.txt
      reading manifest file 'chip_rpc.egg-info/SOURCES.txt'
      writing manifest file 'chip_rpc.egg-info/SOURCES.txt'
      removing 'build/bdist.linux-x86_64/wheel/chip_rpc-0.0.1+20230416123656-py3.10.egg-info' (and everything under it)
      Copying chip_rpc.egg-info to build/bdist.linux-x86_64/wheel/chip_rpc-0.0.1+20230416123656-py3.10.egg-info
      running install_scripts
      error: [('build/bdist.linux-x86_64/wheel/chip_rpc-0.0.1+20230416123656-py3.10.egg-info', 'build/bdist.linux-x86_64/wheel/chip_rpc-0.0.1+20230416123656.dist-info', "[Errno 13] Permission denied: 'build/bdist.linux-x86_64/wheel/chip_rpc-0.0.1+20230416123656.dist-info'")]
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for chip-rpc
Failed to build chip-rpc
ERROR: Could not build wheels for chip-rpc, which is required to install pyproject.toml-based projects

ninja: build stopped: subcommand failed.
['ninja', '-C', '/mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']

Traceback (most recent call last):
  File "/mnt/e/Parth/Coding/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 354, in install_packages
    subprocess.check_call(ninja_cmd, stdout=outs, stderr=outs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', '/mnt/e/Parth/Coding/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 "/mnt/e/Parth/Coding/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 857, in <module>
    sys.exit(main())
  File "/mnt/e/Parth/Coding/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 849, in main
    return EnvSetup(**vars(parse())).setup()
  File "/mnt/e/Parth/Coding/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 501, in setup
    result = step(spin)
  File "/mnt/e/Parth/Coding/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 661, in virtualenv
    if not virtualenv_setup.install(
  File "/mnt/e/Parth/Coding/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 370, in install
    install_packages(gn_target)
  File "/mnt/e/Parth/Coding/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 357, in install_packages
    raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['ninja', '-C', '/mnt/e/Parth/Coding/Matter/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.