Closed
Description
Reproduction steps
export NRF_CONNECT_DIR=/opt/nordic/ncs/v2.7.0
source $NRF_CONNECT_DIR/zephyr/zephyr-env.sh
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
export ZEPHYR_SDK_INSTALL_DIR=/opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk
export ZEPHYR_NRF_MODULE_DIR=$NRF_CONNECT_DIR/nrf
python3 matter/scripts/checkout_submodules.py --shallow --platform nrfconnect
. matter/scripts/activate.sh
west build -b "nrf52840dongle/nrf52840" --sysbuild -- -DOVERLAY_CONFIG=rpc.overlay -DCONF_FILE=prj.conf
Output:
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /opt/homebrew/opt/python@3.11/bin/python3.11 (found suitable version "3.11.8", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /Users/adminy/Library/Caches/zephyr
-- Found west (found suitable version "1.0.0", minimum required is "0.14.0")
-- Board: nrf52840dongle, qualifiers: nrf52840
Parsing /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/Kconfig.sysbuild
Loaded configuration '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/_sysbuild/empty.conf'
Merged configuration '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/sysbuild.conf'
Configuration saved to '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/zephyr/.config'
Kconfig header saved to '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/_sysbuild/autoconf.h'
--
********************************
* Running CMake for nrfconnect *
********************************
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.3") found components: Interpreter
Loading Zephyr default modules (Zephyr base).
-- Application: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect
-- CMake version: 3.26.3
-- Using NCS Toolchain 2.7.20240620.1065210518403 for building. (/opt/nordic/ncs/toolchains/f8037e9b83/cmake)
-- Found Python3: /opt/nordic/ncs/toolchains/f8037e9b83/bin/python3 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /Users/adminy/Library/Caches/zephyr
-- Zephyr version: 3.6.99 (/opt/nordic/ncs/v2.7.0/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52840dongle, qualifiers: nrf52840
-- Found host-tools: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.5 (/opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk)
-- Found Dtc: /opt/nordic/ncs/toolchains/f8037e9b83/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found BOARD.dts: /opt/nordic/ncs/v2.7.0/zephyr/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840.dts
-- Found devicetree overlay: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/boards/nrf52840dongle_nrf52840.overlay
'label' is marked as deprecated in 'properties:' in /opt/nordic/ncs/v2.7.0/zephyr/dts/bindings/serial/zephyr,cdc-acm-uart.yaml for node /soc/usbd@40027000/cdc_acm_uart0.
-- Generated zephyr.dts: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/dts.cmake
warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled.
Parsing /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/Kconfig
Loaded configuration '/opt/nordic/ncs/v2.7.0/zephyr/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840_defconfig'
Merged configuration '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/prj.conf'
Merged configuration '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/rpc.overlay'
Merged configuration '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/.config.sysbuild'
Configuration saved to '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/.config'
Kconfig header saved to '/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/include/generated/autoconf.h'
-- Found GnuLd: /opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- 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: /opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
CMake Warning at /opt/nordic/ncs/v2.7.0/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
CONFIG_USB_DEVICE_VID has default value 0x2FE3.
This value is only for testing and MUST be configured for USB products.
CMake Warning at /opt/nordic/ncs/v2.7.0/zephyr/subsys/usb/device/CMakeLists.txt:28 (message):
CONFIG_USB_DEVICE_PID has default value 0x100.
This value is only for testing and MUST be configured for USB products.
-- Using ccache: /opt/nordic/ncs/toolchains/f8037e9b83/bin/ccache
-- Found Python3: /opt/nordic/ncs/toolchains/f8037e9b83/bin/python3 (found version "3.9.6") found components: Interpreter
CMake Warning at /opt/nordic/ncs/v2.7.0/zephyr/CMakeLists.txt:2027 (message):
__ASSERT() statements are globally ENABLED
CMake Warning at /Users/adminy/Desktop/rs/matter/third_party/pigweed/repo/pw_build/pigweed.cmake:720 (message):
pw_log_BACKEND was not defined when pw_set_backend was invoked, you may be
missing a pw_add_backend_variable or the *.cmake import to that file.
Call Stack (most recent call first):
CMakeLists.txt:85 (pw_set_backend)
CMake Warning at /Users/adminy/Desktop/rs/matter/third_party/pigweed/repo/pw_build/pigweed.cmake:720 (message):
pw_assert.check_BACKEND was not defined when pw_set_backend was invoked,
you may be missing a pw_add_backend_variable or the *.cmake import to that
file.
Call Stack (most recent call first):
CMakeLists.txt:86 (pw_set_backend)
CMake Warning at /Users/adminy/Desktop/rs/matter/third_party/pigweed/repo/pw_build/pigweed.cmake:720 (message):
pw_assert.assert_BACKEND was not defined when pw_set_backend was invoked,
you may be missing a pw_add_backend_variable or the *.cmake import to that
file.
Call Stack (most recent call first):
CMakeLists.txt:87 (pw_set_backend)
CMake Warning at /Users/adminy/Desktop/rs/matter/third_party/pigweed/repo/pw_build/pigweed.cmake:720 (message):
pw_sys_io_BACKEND was not defined when pw_set_backend was invoked, you may
be missing a pw_add_backend_variable or the *.cmake import to that file.
Call Stack (most recent call first):
CMakeLists.txt:88 (pw_set_backend)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/GNUInstallDirs.cmake:243 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
third_party/connectedhomeip/third_party/nanopb/repo/CMakeLists.txt:28 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.3") found components: Interpreter
-- Python install dir: /opt/homebrew/lib/python3.12/site-packages
-- Configuring done (18.3s)
-- Generating done (6.1s)
-- Build files have been written to: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect
-- Found partition manager static configuration : /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/pm_static_nrf52840dongle_nrf52840.yml
Partition 'settings_storage' is not included in the dynamic resolving since it is statically defined.
-- Configuring done (31.3s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build
-- west build: building application
[5/10] Performing build step for 'nrfconnect'
[0/633] cd /Users/adminy/Desktop/rs/matter && /opt/homebrew/Frameworks/Python.framework/...3.12/bin/python3.12 scripts/setup/nrfconnect/update_ncs.py --check --quiet || ( exit 0 )
[1/633] Preparing syscall dependency handling
[9/633] Generating include/generated/version.h
-- Zephyr version: 3.6.99 (/opt/nordic/ncs/v2.7.0/zephyr), build: v3.6.99-ncs2
[21/633] Generating gen/app-codegen/cpp-app/app/PluginApplicationCallbacks.h, gen/app-codegen/cpp-app/app/callback-stub.cpp, gen/app-codegen/cpp-app/app/cluster-init-callback.cpp
2024-11-16 19:11:58 INFO Parsing idl from /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/../lighting-common/lighting-app.matter
2024-11-16 19:11:59 INFO Running code generator cpp-app
2024-11-16 19:11:59 INFO File to be generated: app/PluginApplicationCallbacks.h
2024-11-16 19:11:59 INFO Template path: PluginApplicationCallbacksHeader.jinja, CWD: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect
2024-11-16 19:11:59 INFO Writing new data to: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-codegen/cpp-app/app/PluginApplicationCallbacks.h
2024-11-16 19:11:59 INFO File to be generated: app/callback-stub.cpp
2024-11-16 19:11:59 INFO Template path: CallbackStubSource.jinja, CWD: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect
2024-11-16 19:11:59 INFO Writing new data to: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-codegen/cpp-app/app/callback-stub.cpp
2024-11-16 19:11:59 INFO File to be generated: app/cluster-init-callback.cpp
2024-11-16 19:11:59 INFO Template path: ClusterInitCallbackSource.jinja, CWD: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect
2024-11-16 19:11:59 INFO Writing new data to: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-codegen/cpp-app/app/cluster-init-callback.cpp
2024-11-16 19:11:59 INFO Done
[128/633] Building CXX object third_party/connectedhomeip/third_party/pigweed/repo/pw_protobuf/CMakeFiles/pw_protobuf.dir/encoder.cc.obj
In file included from /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/third_party/connectedhomeip/third_party/pigweed/repo/pw_protobuf/encoder.cc:15:
/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/third_party/connectedhomeip/third_party/pigweed/repo/pw_protobuf/public/pw_protobuf/encoder.h: In member function 'pw::Status pw::protobuf::StreamEncoder::WritePackedVarints(uint32_t, pw::span<T, 4294967295>, pw::protobuf::internal::VarintType) [with T = const long long unsigned int; <template-parameter-1-2> = void]':
/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/third_party/connectedhomeip/third_party/pigweed/repo/pw_protobuf/public/pw_protobuf/encoder.h:714:10: note: parameter passing for argument of type 'pw::span<const long long unsigned int>' changed in GCC 7.1
714 | Status WritePackedVarints(uint32_t field_number,
| ^~~~~~~~~~~~~~~~~~
[307/633] Generating gen/app-zapgen/zapgen/app-templates/zap-generated/access.h, gen/app..._config.h, gen/app-zapgen/zapgen/app-templates/zap-generated/IMClusterCommandHandler.cpp
🔧 Using temporary state directory: /var/folders/qq/lztskjj95qg1sryfz6rprqh80000gn/T/zap.SUdkVt
🤖 ZAP generation started:
🔍 input files: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/../lighting-common/lighting-app.zap
🔍 output pattern: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-zapgen/zapgen/app-templates/zap-generated
🔍 using templates: /Users/adminy/Desktop/rs/matter/src/app/zap-templates/app-templates.json
🔍 using zcl data: /Users/adminy/Desktop/rs/matter/src/app/zap-templates/zcl/zcl.json
🔍 zap version: ver. 2024.10.24, featureLevel 104, commit: 57ffa8efb274ae62da7eb4483b58bfebc0e113e7 from 2024-10-24T19:15:29.000Z, mode: binary, exe: zap-cli
🕐 Setup time: 11s 668ms
👉 using input file: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/../lighting-common/lighting-app.zap
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
Application is failing the Device Type Specification as follows:
- ⚠ Check Device Type Compliance on endpoint: 0, device type: MA-rootdevice, cluster: Localization Configuration, attribute: ActiveLocale needs to be enabled
- ⚠ Check Device Type Compliance on endpoint: 0, device type: MA-rootdevice, cluster: Localization Configuration, attribute: SupportedLocales needs to be enabled
- ⚠ Check Device Type Compliance on endpoint: 1, device type: MA-dimmablelight, cluster: Scenes Management server, command: CopySceneResponse outgoing needs to be enabled
Application is failing the Cluster Specification as follows:
- ⚠ Check Cluster Compliance on endpoint: 0, cluster: Diagnostic Logs server, mandatory command: RetrieveLogsResponse outgoing needs to be enabled
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
👉 using output destination: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-zapgen/zapgen/app-templates/zap-generated
🕐 File loading time: 7s 164ms
🤖 Generating files:
✍ /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-zapgen/zapgen/app-templates/zap-generated/IMClusterCommandHandler.cpp
✍ /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-zapgen/zapgen/app-templates/zap-generated/gen_config.h
✍ /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-zapgen/zapgen/app-templates/zap-generated/access.h
✍ /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-zapgen/zapgen/app-templates/zap-generated/endpoint_config.h
🕐 Generation time: 11s 137ms
Searching for zcl file from /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/../lighting-common/lighting-app.zap
Files generated in: /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/gen/app-zapgen/zapgen/app-templates/zap-generated
[542/633] No configure step for 'chip-gn'
[543/633] Performing build step for 'chip-gn'
Starting Matter library build in /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip
diff: args.gn: No such file or directory
Done. Made 4444 targets from 309 files in 1670ms
[209/484] c++ obj/src/platform/nrfconnect/nrfconnect.FactoryDataProvider.cpp.o
FAILED: obj/src/platform/nrfconnect/nrfconnect.FactoryDataProvider.cpp.o
ccache /opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-g++ -MMD -MF obj/src/platform/nrfconnect/nrfconnect.FactoryDataProvider.cpp.o.d -Wconversion -mthumb -Os -g2 -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Werror -Wstack-usage=8192 -Wextra -Wshadow -Wunreachable-code -Wvla -Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wno-deprecated-declarations -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-unused-parameter -Wno-unused -Wno-cast-function-type -Wno-psabi -Wno-maybe-uninitialized -fdiagnostics-color -fno-strict-aliasing -D_POSIX_C_SOURCE=200809 -DMBEDTLS_CONFIG_FILE=\<nrf-config.h\> -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\<nrf-psa-crypto-want-config.h\> -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\<nrf-psa-crypto-config.h\> -fmacro-prefix-map=../../../../../../../= -std=gnu++17 -fno-rtti -Wnon-virtual-dtor -isystem/opt/nordic/ncs/v2.7.0/nrf/drivers/mpsl/clock_control -isystem/opt/nordic/ncs/v2.7.0/zephyr/include -isystem/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/include/generated -isystem/opt/nordic/ncs/v2.7.0/zephyr/soc/nordic -isystem/opt/nordic/ncs/v2.7.0/zephyr/lib/libc/newlib/include -isystem/opt/nordic/ncs/v2.7.0/zephyr/lib/libc/common/include -isystem/opt/nordic/ncs/v2.7.0/zephyr/soc/nordic/nrf52/. -isystem/opt/nordic/ncs/v2.7.0/zephyr/soc/nordic/common/. -isystem/opt/nordic/ncs/v2.7.0/zephyr/subsys/usb/device -isystem/opt/nordic/ncs/v2.7.0/zephyr/subsys/bluetooth -isystem/opt/nordic/ncs/v2.7.0/zephyr/subsys/settings/include -isystem/opt/nordic/ncs/v2.7.0/zephyr/drivers/usb/common/nrf_usbd_common/. -isystem/opt/nordic/ncs/v2.7.0/nrf/include -isystem/opt/nordic/ncs/v2.7.0/nrf/lib/multithreading_lock/. -isystem/opt/nordic/ncs/v2.7.0/nrf/subsys/bluetooth/controller/. -isystem/opt/nordic/ncs/v2.7.0/nrf/subsys/trusted_storage/include -isystem/opt/nordic/ncs/v2.7.0/zephyr/drivers/flash -isystem/opt/nordic/ncs/v2.7.0/nrf/tests/include -isystem/opt/nordic/ncs/v2.7.0/zephyr/modules/openthread/platform/. -isystem/opt/nordic/ncs/v2.7.0/modules/hal/cmsis/CMSIS/Core/Include -isystem/opt/nordic/ncs/v2.7.0/zephyr/modules/cmsis/. -isystem/opt/nordic/ncs/v2.7.0/modules/hal/nordic/nrfx -isystem/opt/nordic/ncs/v2.7.0/modules/hal/nordic/nrfx/drivers/include -isystem/opt/nordic/ncs/v2.7.0/modules/hal/nordic/nrfx/mdk -isystem/opt/nordic/ncs/v2.7.0/zephyr/modules/hal_nordic/nrfx/. -isystem/opt/nordic/ncs/v2.7.0/modules/lib/zcbor/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/nfc/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/common/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/nrf21540_gpio/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/nrf2220/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/nrf2240/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/nrf22xx/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/simple_gpio/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/fem/include/protocol -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/mpsl/include/protocol -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/openthread/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/crypto/nrf_cc310_platform/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/crypto/nrf_oberon/include -isystem/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/nrf/subsys/nrf_security/src/include/generated -isystem/opt/nordic/ncs/v2.7.0/nrf/subsys/nrf_security/include -isystem/opt/nordic/ncs/v2.7.0/modules/crypto/oberon-psa-crypto/include -isystem/opt/nordic/ncs/v2.7.0/modules/crypto/oberon-psa-crypto/library -isystem/opt/nordic/ncs/v2.7.0/modules/crypto/mbedtls/library -isystem/opt/nordic/ncs/v2.7.0/modules/crypto/mbedtls/include -isystem/opt/nordic/ncs/v2.7.0/modules/crypto/mbedtls/include/library -isyst
965A
em/opt/nordic/ncs/v2.7.0/nrfxlib/crypto/nrf_oberon/include/ -isystem/opt/nordic/ncs/v2.7.0/modules/crypto/oberon-psa-crypto/oberon/drivers -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/nrf_802154/driver/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/nrf_802154/sl/include -isystem/opt/nordic/ncs/v2.7.0/nrfxlib/nrf_802154/common/include -isystem/opt/nordic/ncs/v2.7.0/zephyr/modules/hal_nordic/nrf_802154/include -DKERNEL -D__ZEPHYR__=1 -D_ANSI_SOURCE -D__LINUX_ERRNO_EXTENSIONS__ -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -DNRF52840_XXAA -DZCBOR_ASSERTS -fno-strict-aliasing -fcheck-new -std=c++17 -fno-exceptions -fno-rtti -imacros/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/zephyr/include/generated/autoconf.h -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros/opt/nordic/ncs/v2.7.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -fno-pic -fno-pie --param=min-pagesize=0 -fmacro-prefix-map=/Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect=CMAKE_SOURCE_DIR -fmacro-prefix-map=/opt/nordic/ncs/v2.7.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/opt/nordic/ncs/v2.7.0=WEST_TOPDIR -specs=nano.specs -D_POSIX_THREADS -std=gnu++17 -DNDEBUG -DCHIP_HAVE_CONFIG_H=1 -I../../../../../../../src/include -I../../../../../../../src -Igen/include -I../../../../../../../third_party/nlassert/repo/include -I../../../../../../../third_party/nlio/repo/include -I../../../../../../../third_party/nlfaultinjection/include -I../../../../../../../zzz_generated/app-common -c ../../../../../../../src/platform/nrfconnect/FactoryDataProvider.cpp -o obj/src/platform/nrfconnect/nrfconnect.FactoryDataProvider.cpp.o
In file included from ../../../../../../../src/platform/nrfconnect/FactoryDataProvider.cpp:18:
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h: In member function 'CHIP_ERROR chip::DeviceLayer::InternalFlashFactoryData::GetFactoryDataPartition(uint8_t*&, size_t&)':
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:34:30: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope; did you mean 'FACTORY_DATA_ADDRESS'?
34 | #define FACTORY_DATA_ADDRESS PM_FACTORY_DATA_ADDRESS
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:54:48: note: in expansion of macro 'FACTORY_DATA_ADDRESS'
54 | data = reinterpret_cast<uint8_t *>(FACTORY_DATA_ADDRESS);
| ^~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:35:27: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope; did you mean 'FACTORY_DATA_SIZE'?
35 | #define FACTORY_DATA_SIZE PM_FACTORY_DATA_SIZE
| ^~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:55:20: note: in expansion of macro 'FACTORY_DATA_SIZE'
55 | dataSize = FACTORY_DATA_SIZE;
| ^~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h: In member function 'constexpr size_t chip::DeviceLayer::InternalFlashFactoryData::FactoryDataBlockBegin()':
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:34:30: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope; did you mean 'FACTORY_DATA_ADDRESS'?
34 | #define FACTORY_DATA_ADDRESS PM_FACTORY_DATA_ADDRESS
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:70:16: note: in expansion of macro 'FACTORY_DATA_ADDRESS'
70 | return FACTORY_DATA_ADDRESS & (-CONFIG_FPROTECT_BLOCK_SIZE);
| ^~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h: In member function 'constexpr size_t chip::DeviceLayer::InternalFlashFactoryData::FactoryDataBlockSize()':
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:34:30: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope; did you mean 'FACTORY_DATA_ADDRESS'?
34 | #define FACTORY_DATA_ADDRESS PM_FACTORY_DATA_ADDRESS
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:78:14: note: in expansion of macro 'FACTORY_DATA_ADDRESS'
78 | (FACTORY_DATA_ADDRESS + FACTORY_DATA_SIZE + CONFIG_FPROTECT_BLOCK_SIZE - 1) & (-CONFIG_FPROTECT_BLOCK_SIZE);
| ^~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:35:27: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope; did you mean 'FACTORY_DATA_SIZE'?
35 | #define FACTORY_DATA_SIZE PM_FACTORY_DATA_SIZE
| ^~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:78:37: note: in expansion of macro 'FACTORY_DATA_SIZE'
78 | (FACTORY_DATA_ADDRESS + FACTORY_DATA_SIZE + CONFIG_FPROTECT_BLOCK_SIZE - 1) & (-CONFIG_FPROTECT_BLOCK_SIZE);
| ^~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:79:44: error: non-constant condition for static assertion
79 | static_assert(kFactoryDataBlockEnd <= PM_SETTINGS_STORAGE_ADDRESS,
| ^
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h: At global scope:
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:35:27: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope; did you mean 'FACTORY_DATA_SIZE'?
35 | #define FACTORY_DATA_SIZE PM_FACTORY_DATA_SIZE
| ^~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:217:62: note: in expansion of macro 'FACTORY_DATA_SIZE'
217 | static constexpr uint16_t kFactoryDataPartitionSize = FACTORY_DATA_SIZE;
| ^~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:34:30: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope; did you mean 'FACTORY_DATA_ADDRESS'?
34 | #define FACTORY_DATA_ADDRESS PM_FACTORY_DATA_ADDRESS
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../../../src/platform/nrfconnect/FactoryDataProvider.h:218:62: note: in expansion of macro 'FACTORY_DATA_ADDRESS'
218 | static constexpr uint32_t kFactoryDataPartitionAddress = FACTORY_DATA_ADDRESS;
| ^~~~~~~~~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
[218/484] c++ obj/zzz_generated/app-common/app-common/zap-generated/libClusterObjects.cluster-objects.cpp.o
ninja: build stopped: subcommand failed.
FAILED: modules/connectedhomeip/src/chip-gn-stamp/chip-gn-build modules/connectedhomeip/args.gn modules/connectedhomeip/build.ninja modules/connectedhomeip/.ninja_deps modules/connectedhomeip/build.ninja.stamp modules/connectedhomeip/lib/libCHIP.a modules/connectedhomeip/lib/libMatterDeviceInfoProviderExample.a /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip/src/chip-gn-stamp/chip-gn-build /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip/args.gn /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip/build.ninja /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip/.ninja_deps /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip/build.ninja.stamp /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip/lib/libCHIP.a /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip/lib/libMatterDeviceInfoProviderExample.a
cd /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip && /opt/homebrew/Cellar/cmake/3.26.3/bin/cmake -E echo "Starting Matter library build in /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip" && /opt/nordic/ncs/toolchains/f8037e9b83/bin/python3 /Users/adminy/Desktop/rs/matter/config/common/cmake/make_gn_args.py @args.tmp > args.gn.tmp && bash -c "(! diff -q args.gn.tmp args.gn && mv args.gn.tmp args.gn) || true" && /opt/nordic/ncs/toolchains/f8037e9b83/bin/gn --root=/Users/adminy/Desktop/rs/matter --root-target=/Users/adminy/Desktop/rs/matter/config/nrfconnect/chip-gn --dotfile=/Users/adminy/Desktop/rs/matter/config/nrfconnect/chip-gn/.gn --script-executable=/opt/nordic/ncs/toolchains/f8037e9b83/bin/python3 gen --check --fail-on-unused-args /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect/modules/connectedhomeip && ninja && /opt/homebrew/Cellar/cmake/3.26.3/bin/cmake -E echo "Matter library build complete"
ninja: build stopped: subcommand failed.
FAILED: _sysbuild/sysbuild/images/nrfconnect-prefix/src/nrfconnect-stamp/nrfconnect-build /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/_sysbuild/sysbuild/images/nrfconnect-prefix/src/nrfconnect-stamp/nrfconnect-build
cd /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build/nrfconnect && /opt/homebrew/Cellar/cmake/3.26.3/bin/cmake --build .
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /Users/adminy/Desktop/rs/matter/examples/lighting-app/nrfconnect/build
Bug prevalence
on latest master, while some bugs seem to re-occur across a few commits now.
GitHub hash of the SDK that was being used
Platform
nrf
Platform Version(s)
nrf v2.7.0, macos 14.1.1 (23B81)
Anything else?
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Done