Skip to content

dependancy error building the matter_switch example. (AEGHB-1120) #194

@lboue

Description

@lboue

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Build the matter_switch example.

Actual behavior (suspected bug)

CMake Error at /home/ludovic/esp-idf/tools/cmake/build.cmake:548 (message):
  ERROR: Because no versions of espressif/esp_insights match >1.2.4,<1.2.5 ||
  >1.2.5,<1.2.6 || >1.2.6,<2.0.0

Error logs or terminal output

ludovic@ubuntu:~/esp-box/examples/matter_switch$ idf.py set-target esp32s3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/home/ludovic/esp-box/examples/matter_switch/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32s3, new sdkconfig will be created.
Running cmake in directory /home/ludovic/esp-box/examples/matter_switch/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/ludovic/.espressif/python_env/idf5.1_py3.12_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=0 /home/ludovic/esp-box/examples/matter_switch"...
-- Found Git: /usr/bin/git (found version "2.43.0")
-- Component directory /home/ludovic/esp-matter/examples/common/blemesh_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/cmake_common does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/external_platform does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/relinker does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ludovic/esp-matter/examples/common/utils does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/ludovic/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/ludovic/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-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/ludovic/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
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: Skipping optional dependency: espressif/esp_wifi_remote
CMake Error at /home/ludovic/esp-idf/tools/cmake/build.cmake:548 (message):
  ERROR: Because no versions of espressif/esp_insights match >1.2.4,<1.2.5 ||
  >1.2.5,<1.2.6 || >1.2.6,<2.0.0

   and espressif/esp_insights (1.2.4) depends on espressif/esp_diag_data_store (1.0.2), espressif/esp_insights (>=1.2.4,<1.2.5 || >1.2.5,<1.2.6 || >1.2.6,<2.0.0) requires espressif/esp_diag_data_store (1.0.2).

  And because espressif/esp_insights (1.2.5) depends on both
  espressif/esp_diag_data_store (1.0.2) and espressif/esp_diag_data_store
  (1.0.2), espressif/esp_insights (>=1.2.4,<2.0.0) requires
  espressif/esp_diag_data_store (1.0.2).

  So, because project depends on both espressif/esp_diag_data_store (1.0.1)
  and espressif/esp_insights (^1.2.4), version solving failed.

Call Stack (most recent call first):
  /home/ludovic/esp-idf/tools/cmake/project.cmake:604 (idf_build_process)
  CMakeLists.txt:58 (project)


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /home/ludovic/esp-box/examples/matter_switch/build/log/idf_py_stderr_output_54086 and /home/ludovic/esp-box/examples/matter_switch/build/log/idf_py_stdout_output_54086

Steps to reproduce the behavior

cd $IDF_PATH
git fetch
git checkout release/v5.1
git pull
git submodule update --init --recursive
./install.sh
. ./export.sh

cd ~/esp-box/examples/matter_switch
idf.py set-target esp32s3

Project release version

latest

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Ubuntu

Shell

Bash

Additional context

No response

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