esp-matter icon indicating copy to clipboard operation
esp-matter copied to clipboard

Newest esp-matter commit fails to build light example (CON-1867)

Open olavt opened this issue 4 months ago • 15 comments

I updated to the latest version of ESP Matter, created a new project based on the light examples and tried to build it. It failed. See log below for details.

Environment

  • ESP-Matter Commit Id: 3036b0ca
  • ESP-IDF Commit Id: 4c2820d37 (v5.4.1)
  • SoC (eg: ESP32 or ESP32-C3): ESP32-C6
  • Device Logs (Please attach the log file):

fctry,data,nvs,0x3e0000,24K,


[848/1382] Performing configure step for 'chip_gn' FAILED: [code=1] esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-configure /Users/olavt/test/light/build/esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-configure cd /Users/olavt/test/light/build/esp-idf/chip && /Users/olavt/.espressif/esp-matter/connectedhomeip/connectedhomeip/.environment/cipd/packages/pigweed/gn --root=/Users/olavt/.espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32 gen --check --fail-on-unused-args /Users/olavt/test/light/build/esp-idf/chip && /Users/olavt/.espressif/tools/cmake/3.30.2/CMake.app/Contents/bin/cmake -E touch /Users/olavt/test/light/build/esp-idf/chip/chip_gn-prefix/src/chip_gn-stamp/chip_gn-configure ERROR at //third_party/connectedhomeip/build_overrides/pigweed_environment.gni:20:1: Unable to load "/build_overrides/pigweed_environment.gni". import(getenv("_PW_ACTUAL_ENVIRONMENT_ROOT") + ^--------------------------------------------- See //build_overrides/pigweed_environment.gni:20:1: whence it was imported. import("${_bootstrap_root}/build_overrides/pigweed_environment.gni") ^------------------------------------------------------------------ See //third_party/connectedhomeip/build/config/compiler/BUILD.gn:17:1: whence it was imported. import("//build_overrides/pigweed_environment.gni") ^------------------------------------------------- See //third_party/connectedhomeip/build/config/defaults.gni:70:9: which caused the file to be included. [ "${build_root}/config/compiler:warnings_default" ] ^----------------------------------------------- [850/1382] Performing configure step for 'bootloader' -- Found Git: /usr/bin/git (found version "2.50.1 (Apple Git-155)") -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- The ASM compiler identification is GNU -- Found assembler: /Users/olavt/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/olavt/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/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: /Users/olavt/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32c6 -- Project sdkconfig file /Users/olavt/test/light/sdkconfig -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/riscv/ld/rom.api.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/soc/esp32c6/ld/esp32c6.peripherals.ld -- Bootloader project name: "bootloader" version: 1 -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.api.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.rvfp.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.wdt.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.systimer.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.version.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.newlib.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/bootloader/subproject/main/ld/esp32c6/bootloader.ld -- Adding linker script /Users/olavt/esp/v5.4.1/esp-idf/components/bootloader/subproject/main/ld/esp32c6/bootloader.rom.ld -- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_format esp_common esp_hw_support esp_rom esp_security esp_system esptool_py freertos hal log main micro-ecc newlib partition_table riscv soc spi_flash -- Component paths: /Users/olavt/esp/v5.4.1/esp-idf/components/bootloader /Users/olavt/esp/v5.4.1/esp-idf/components/bootloader_support /Users/olavt/esp/v5.4.1/esp-idf/components/efuse /Users/olavt/esp/v5.4.1/esp-idf/components/esp_app_format /Users/olavt/esp/v5.4.1/esp-idf/components/esp_bootloader_format /Users/olavt/esp/v5.4.1/esp-idf/components/esp_common /Users/olavt/esp/v5.4.1/esp-idf/components/esp_hw_support /Users/olavt/esp/v5.4.1/esp-idf/components/esp_rom /Users/olavt/esp/v5.4.1/esp-idf/components/esp_security /Users/olavt/esp/v5.4.1/esp-idf/components/esp_system /Users/olavt/esp/v5.4.1/esp-idf/components/esptool_py /Users/olavt/esp/v5.4.1/esp-idf/components/freertos /Users/olavt/esp/v5.4.1/esp-idf/components/hal /Users/olavt/esp/v5.4.1/esp-idf/components/log /Users/olavt/esp/v5.4.1/esp-idf/components/bootloader/subproject/main /Users/olavt/esp/v5.4.1/esp-idf/components/bootloader/subproject/components/micro-ecc /Users/olavt/esp/v5.4.1/esp-idf/components/newlib /Users/olavt/esp/v5.4.1/esp-idf/components/partition_table /Users/olavt/esp/v5.4.1/esp-idf/components/riscv /Users/olavt/esp/v5.4.1/esp-idf/components/soc /Users/olavt/esp/v5.4.1/esp-idf/components/spi_flash -- Configuring done (1.9s) -- Generating done (0.0s) -- Build files have been written to: /Users/olavt/test/light/build/bootloader ninja: build stopped: subcommand failed.

  • The terminal process "ninja" terminated with exit code: 1.

olavt avatar Nov 26 '25 21:11 olavt