Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

What distinguishes the nrfconnect/sdk-connectedhomeip repositories from utilizing the chip/connectedhomeip repository directly for constructing Matter products?

When employing the chip/connectedhomeip repository, I can successfully build without encountering any errors. However, when I follow the instructions outlined on this page: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/protocols/matter/getting_started/testing/thread_one_otbr.html and use the source code available here: https://github.com/nrfconnect/sdk-connectedhomeip/releases, I encounter unexpected errors during the build process.

Is there a method to seamlessly integrate the connectedhomeip repository with nRF SDK 2.4.2 to ensure compatibility and avoid these issues?

  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.
  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
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
['/home/antshiv/Software/sdk-connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/antshiv/Software/sdk-connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/antshiv/Software/sdk-connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/antshiv/Software/sdk-connectedhomeip/scripts/setup/constraints.txt'] {'stdout': <_io.TextIOWrapper name=3 mode='w+' encoding='UTF-8'>, 'stderr': -2}

None
Traceback (most recent call last):
  File "/home/antshiv/Software/sdk-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 877, in <module>
    sys.exit(main())
  File "/home/antshiv/Software/sdk-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 869, in main
    return EnvSetup(**vars(parse())).setup()
  File "/home/antshiv/Software/sdk-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 522, in setup
    result = step(spin)
  File "/home/antshiv/Software/sdk-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 682, in virtualenv
    if not virtualenv_setup.install(
  File "/home/antshiv/Software/sdk-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 296, in install
    pip_install(
  File "/home/antshiv/Software/sdk-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 262, in pip_install
    return _check_call(cmd)
  File "/home/antshiv/Software/sdk-connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 88, in _check_call
    subprocess.check_call(args, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/antshiv/Software/sdk-connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/antshiv/Software/sdk-connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/antshiv/Software/sdk-connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/antshiv/Software/sdk-connectedhomeip/scripts/setup/constraints.txt']' returned non-zero exit status 1.

Related