Skip to content

Error: espressif/esp_rcp_update (~1.0.0) (MEGH-6660) #351

@work-krishna

Description

@work-krishna

Answers checklist.

  • I have read the Rainmaker documentation and the issue is not addressed there.
  • I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
  • I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

IDF / ESP32-Arduino version.

esp-idf [v5.2.2]

Operating System used.

Linux

How did you build your project?

Command line with idf.py

Development Kit.

ESP32C3

What is the expected behavior?

Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32c3, new sdkconfig will be created.
Running cmake in directory /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/krishna/.espressif/python_env/idf5.2_py3.12_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=0 /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light"...
-- Found Git: /usr/bin/git (found version "2.43.0")
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/blemesh_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/cmake_common does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/external_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/relinker does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/utils does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/krishna/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/krishna/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/krishna/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32c3
NOTICE: Dependencies lock doesn't exist, solving dependencies.
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
.NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
.....................NOTICE: Using component placed at /media/krishna/projects/esp/v5.2.3/esp-rainmaker/components/esp_rainmaker for dependency "espressif/esp_rainmaker", specified in /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/common/app_insights/idf_component.yml
.....................NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
CMake Error at /media/krishna/projects/esp/v5.2.3/esp-idf/tools/cmake/build.cmake:544 (message):
ERROR: Because espressif/esp_rainmaker (1.5.3) depends on
espressif/esp_rcp_update (~1.0.0)

and no versions of espressif/esp_rainmaker match >=1.0.0,<1.5.3 || >1.5.3, espressif/esp_rainmaker (>=1.0.0) requires espressif/esp_rcp_update (~1.0.0).

So, because project depends on both espressif/esp_rcp_update (~1.3.0) and
espressif/esp_rainmaker (>=1.0), version solving failed.

Call Stack (most recent call first):
/media/krishna/projects/esp/v5.2.3/esp-idf/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:51 (project)

-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build/log/idf_py_stderr_output_374888 and /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build/log/idf_py_stdout_output_374888

What is the actual behavior?

Every time I try to run command "idf.py set-target esp32c3" i get above error.

Steps to reproduce.

Step-1:
- Install eps-idf version v5.2.2

Step-2:

  • Install esp-matter successfully

Step-3:

  • pulled esp-rainmaker

Step-4:

  • compiled esp-idf example successfully

Step-5:

  • compiled esp-matter/examples successfully

Step-6:

  • Failed comiplation esp-rainmaker/examples/matter/matter_light

with above mentionsed error

Build Logs.

Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32c3, new sdkconfig will be created.
Running cmake in directory /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/krishna/.espressif/python_env/idf5.2_py3.12_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=0 /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light"...
-- Found Git: /usr/bin/git (found version "2.43.0") 
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/blemesh_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/cmake_common does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/external_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/relinker does not contain a CMakeLists.txt file. No component will be added
-- Component directory /media/krishna/projects/esp/v5.2.3/esp-matter/examples/common/utils does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/krishna/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/krishna/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/krishna/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32c3
NOTICE: Dependencies lock doesn't exist, solving dependencies.
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
.NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
.....................NOTICE: Using component placed at /media/krishna/projects/esp/v5.2.3/esp-rainmaker/components/esp_rainmaker for dependency "espressif/esp_rainmaker", specified in /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/common/app_insights/idf_component.yml
.....................NOTICE: Skipping optional dependency: espressif/esp_wifi_remote
CMake Error at /media/krishna/projects/esp/v5.2.3/esp-idf/tools/cmake/build.cmake:544 (message):
  ERROR: Because espressif/esp_rainmaker (1.5.3) depends on
  espressif/esp_rcp_update (~1.0.0)

   and no versions of espressif/esp_rainmaker match >=1.0.0,<1.5.3 || >1.5.3, espressif/esp_rainmaker (>=1.0.0) requires espressif/esp_rcp_update (~1.0.0).

  So, because project depends on both espressif/esp_rcp_update (~1.3.0) and
  espressif/esp_rainmaker (>=1.0), version solving failed.

Call Stack (most recent call first):
  /media/krishna/projects/esp/v5.2.3/esp-idf/tools/cmake/project.cmake:605 (idf_build_process)
  CMakeLists.txt:51 (project)


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build/log/idf_py_stderr_output_374888 and /media/krishna/projects/esp/v5.2.3/esp-rainmaker/examples/matter/matter_light/build/log/idf_py_stdout_output_374888

More Information.

I tried multiple times but still the same
although, I can successfully compile esp_matter/examples

Current tags:
ESP-IDF: v5.2.2 [commit: 3b8741b172dc951e18509698dee938304bcf1523]
esp-rainmaker: master [commit: 4312ee5]
esp-matter: main [commit: 74caefc7fb2e048685e55f43db55744aa3fd0c3c]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions