Hi,
i am trying to port my project based on the matter light bulb sample to a PAN1780 module which also uses the nrf52840 I used before.
When building I receive this error. The prj.conf is unchanged and I have added an overlay file, but that did not make a difference. I am building for the pan1780 evaluation board, because that is the closest thing available.
These are the build logs from the terminal:
* Executing task: nRF Connect: Build: light_occ/build_1 (active)
Building light_occ
west build --build-dir /home/entwicklung/matter_apps/light_occ/build_1 /home/entwicklung/matter_apps/light_occ
[0/1] Re-running CMake...
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/entwicklung/matter_apps/light_occ
-- CMake version: 3.20.5
-- Found Python3: /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/python3.8 (found suitable version "3.8.2", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/entwicklung/.cache/zephyr
-- Zephyr version: 3.4.99 (/home/entwicklung/ncs/v2.5.0/zephyr)
-- Found west (found suitable version "1.1.0", minimum required is "0.14.0")
-- Board: pan1780_evb
-- Found host-tools: zephyr 0.16.1 (/home/entwicklung/ncs/toolchains/7795df4459/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (/home/entwicklung/ncs/toolchains/7795df4459/opt/zephyr-sdk)
-- Found BOARD.dts: /home/entwicklung/ncs/v2.5.0/zephyr/boards/arm/pan1780_evb/pan1780_evb.dts
-- Found devicetree overlay: /home/entwicklung/matter_apps/light_occ/boards/pan1780_evb.overlay
-- Generated zephyr.dts: /home/entwicklung/matter_apps/light_occ/build_1/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/entwicklung/matter_apps/light_occ/build_1/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/entwicklung/matter_apps/light_occ/build_1/zephyr/dts.cmake
Parsing /home/entwicklung/matter_apps/light_occ/Kconfig
Loaded configuration '/home/entwicklung/ncs/v2.5.0/zephyr/boards/arm/pan1780_evb/pan1780_evb_defconfig'
Merged configuration '/home/entwicklung/matter_apps/light_occ/prj.conf'
Configuration saved to '/home/entwicklung/matter_apps/light_occ/build_1/zephyr/.config'
Kconfig header saved to '/home/entwicklung/matter_apps/light_occ/build_1/zephyr/include/generated/autoconf.h'
warning: Deprecated symbol IEEE802154_2015 is enabled.
warning: Deprecated symbol CPLUSPLUS is enabled.
warning: Deprecated symbol LIB_CPLUSPLUS is enabled.
-- Found Python3: /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/python3.8 (found version "3.8.2") found components: Interpreter
=== child image mcuboot - begin ===
loading initial cache file /home/entwicklung/matter_apps/light_occ/build_1/mcuboot/child_image_preload.cmake
-- Application: /home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.20.5
Loading Zephyr default modules (Zephyr base (cached)).
-- Cache files will be written to: /home/entwicklung/.cache/zephyr
-- Zephyr version: 3.4.99 (/home/entwicklung/ncs/v2.5.0/zephyr)
-- Found west (found suitable version "1.1.0", minimum required is "0.14.0")
-- Board: pan1780_evb
-- Found host-tools: zephyr 0.16.1 (/home/entwicklung/ncs/toolchains/7795df4459/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (/home/entwicklung/ncs/toolchains/7795df4459/opt/zephyr-sdk)
-- Found BOARD.dts: /home/entwicklung/ncs/v2.5.0/zephyr/boards/arm/pan1780_evb/pan1780_evb.dts
-- Found devicetree overlay: /home/entwicklung/ncs/v2.5.0/nrf/modules/mcuboot/usb.overlay
-- Generated zephyr.dts: /home/entwicklung/matter_apps/light_occ/build_1/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/entwicklung/matter_apps/light_occ/build_1/mcuboot/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/entwicklung/matter_apps/light_occ/build_1/mcuboot/zephyr/dts.cmake
Parsing /home/entwicklung/ncs/v2.5.0/modules/lib/matter/config/nrfconnect/chip-module/Kconfig.mcuboot.root
Loaded configuration '/home/entwicklung/matter_apps/light_occ/build_1/mcuboot/zephyr/.config'
No change to configuration in '/home/entwicklung/matter_apps/light_occ/build_1/mcuboot/zephyr/.config'
No change to Kconfig header in '/home/entwicklung/matter_apps/light_occ/build_1/mcuboot/zephyr/include/generated/autoconf.h'
CMake Warning at /home/entwicklung/ncs/v2.5.0/nrf/lib/flash_patch/CMakeLists.txt:8 (message):
----------------------------------------------------------
--- WARNING: To maintain the integrity of secure boot, ---
--- enable CONFIG_DISABLE_FLASH_PATCH in production. ---
----------------------------------------------------------
MCUBoot bootloader key file: /home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/root-ec-p256.pem
-- Configuring done
-- Generating done
-- Build files have been written to: /home/entwicklung/matter_apps/light_occ/build_1/mcuboot
=== child image mcuboot - end ===
CMake Warning at /home/entwicklung/ncs/v2.5.0/nrf/modules/mcuboot/CMakeLists.txt:320 (message):
---------------------------------------------------------
--- WARNING: Using default MCUBoot key, it should not ---
--- be used for production. ---
---------------------------------------------------------
CMake Warning at /home/entwicklung/ncs/v2.5.0/zephyr/CMakeLists.txt:1958 (message):
__ASSERT() statements are globally ENABLED
CMake Warning at /home/entwicklung/ncs/v2.5.0/nrf/cmake/partition_manager.cmake:79 (message):
---------------------------------------------------------------------
--- WARNING: Using a bootloader without pm_static.yml. ---
--- There are cases where a deployed product can consist of ---
--- multiple images, and only a subset of these images can be ---
--- upgraded through a firmware update mechanism. In such cases, ---
--- the upgradable images must have partitions that are static ---
--- and are matching the partition map used by the bootloader ---
--- programmed onto the device. ---
---------------------------------------------------------------------
Call Stack (most recent call first):
/home/entwicklung/ncs/v2.5.0/zephyr/cmake/modules/kernel.cmake:247 (include)
/home/entwicklung/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:138 (include)
/home/entwicklung/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/entwicklung/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:23 (find_package)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/entwicklung/matter_apps/light_occ/build_1
[0/489] Performing build step for 'mcuboot_subimage'
[1/29] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[2/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
[3/29] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
[4/29] Building C object CMakeFiles/app.dir/main.c.obj
[5/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
[6/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj
[7/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
[8/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
[9/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj
[10/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
[11/29] Building C object CMakeFiles/app.dir/nrf_cleanup.c.obj
[12/29] Building C object CMakeFiles/app.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
[13/29] Building C object zephyr/CMakeFiles/zephyr.dir/home/entwicklung/ncs/v2.5.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
[14/29] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
[15/29] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
[16/29] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
[17/29] Building C object zephyr/soc/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[18/29] Building C object modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir/home/entwicklung/ncs/v2.5.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
[19/29] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
[20/29] Linking C static library zephyr/soc/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a
[21/29] Linking C static library app/libapp.a
[22/29] Generating linker_zephyr_pre0.cmd
[23/29] Linking C static library modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a
[29/29] Linking C executable zephyr/zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 22232 B 48 KB 45.23%
RAM: 18368 B 256 KB 7.01%
IDT_LIST: 0 GB 2 KB 0.00%
[409/489] Linking C static library zephyr/kernel/libkernel.a
[410/487] Performing build step for 'chip-gn'
Starting Matter library build in /home/entwicklung/matter_apps/light_occ/build_1/modules/connectedhomeip
Done. Made 198 targets from 186 files in 785ms
[1/327] c++ obj/src/app/libCHIPDataModel.FailSafeContext.cpp.o
[2/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributeDataIB.cpp.o
[3/327] c++ obj/src/app/libCHIPDataModel.WriteClient.cpp.o
[4/327] c++ obj/src/app/libCHIPDataModel.EventManagement.cpp.o
[5/327] c++ obj/src/app/MessageDef/libCHIPDataModel.ArrayParser.cpp.o
[6/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributeDataIBs.cpp.o
[7/327] c++ obj/src/app/libCHIPDataModel.WriteHandler.cpp.o
[8/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributePathIB.cpp.o
[9/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributePathIBs.cpp.o
[10/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributeReportIBs.cpp.o
[11/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributeStatusIB.cpp.o
[12/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributeReportIB.cpp.o
[13/327] c++ obj/src/app/libCHIPDataModel.InteractionModelEngine.cpp.o
[14/327] c++ obj/src/app/MessageDef/libCHIPDataModel.ClusterPathIB.cpp.o
[15/327] c++ obj/src/access/libaccess.AccessControl.cpp.o
[16/327] c++ obj/src/access/examples/libaccess.PermissiveAccessControlDelegate.cpp.o
[17/327] c++ obj/src/access/examples/libaccess.ExampleAccessControlDelegate.cpp.o
[18/327] c++ obj/src/app/libCHIPDataModel.AttributeAccessInterface.cpp.o
[19/327] c++ obj/src/app/MessageDef/libCHIPDataModel.ArrayBuilder.cpp.o
[20/327] c++ obj/examples/providers/libMatterDeviceInfoProviderExample.DeviceInfoProviderImpl.cpp.o
[21/327] c++ obj/src/app/libCHIPDataModel.CASEClient.cpp.o
[22/327] c++ obj/src/app/libCHIPDataModel.BufferedReadCallback.cpp.o
[23/327] c++ obj/src/app/libCHIPDataModel.ChunkedWriteCallback.cpp.o
[24/327] c++ obj/src/app/libCHIPDataModel.AttributePathExpandIterator.cpp.o
[25/327] c++ obj/src/app/libCHIPDataModel.CASESessionManager.cpp.o
[26/327] c++ obj/src/app/libCHIPDataModel.DefaultAttributePersistenceProvider.cpp.o
[27/327] c++ obj/src/app/libCHIPDataModel.DeviceProxy.cpp.o
[28/327] c++ obj/src/app/libCHIPDataModel.DeferredAttributePersistenceProvider.cpp.o
[29/327] c++ obj/src/credentials/libCredentials.DeviceAttestationCredsProvider.cpp.o
[30/327] c++ obj/src/app/libCHIPDataModel.CommandSender.cpp.o
[31/327] c++ obj/src/app/libCHIPDataModel.CommandHandler.cpp.o
[32/327] c++ obj/src/credentials/libCredentials.LastKnownGoodTime.cpp.o
[33/327] c++ obj/src/credentials/attestation_verifier/libCredentials.DeviceAttestationVerifier.cpp.o
[34/327] c++ obj/src/app/libCHIPDataModel.ClusterStateCache.cpp.o
[35/327] c++ obj/src/credentials/libCredentials.PersistentStorageOpCertStore.cpp.o
[36/327] c++ obj/src/credentials/libCredentials.FabricTable.cpp.o
[37/327] c++ obj/src/credentials/examples/libCredentials.ExampleDACs.cpp.o
[38/327] c++ obj/src/credentials/examples/libCredentials.ExamplePAI.cpp.o
[39/327] c++ obj/src/credentials/libCredentials.GroupDataProviderImpl.cpp.o
[40/327] c++ obj/src/credentials/examples/libCredentials.DeviceAttestationCredsExample.cpp.o
[41/327] c++ obj/src/credentials/tests/libCredentials.CHIPAttCert_test_vectors.cpp.o
[42/327] c++ obj/src/ble/libBleLayer.BleUUID.cpp.o
[43/327] c++ obj/src/ble/libBleLayer.BleError.cpp.o
[44/327] c++ obj/src/credentials/attestation_verifier/libDefaultAttestationVerifier.DefaultDeviceAttestationVerifier.cpp.o
[45/327] c++ obj/src/ble/libBleLayer.BtpEngine.cpp.o
[46/327] c++ obj/src/app/MessageDef/libCHIPDataModel.AttributeStatusIBs.cpp.o
[47/327] c++ obj/src/app/MessageDef/libCHIPDataModel.Builder.cpp.o
[48/327] c++ obj/src/ble/libBleLayer.BLEEndPoint.cpp.o
[49/327] c++ obj/src/credentials/libCredentials.CHIPCertFromX509.cpp.o
[50/327] c++ obj/src/app/MessageDef/libCHIPDataModel.CommandDataIB.cpp.o
[51/327] c++ obj/src/app/MessageDef/libCHIPDataModel.CommandPathIB.cpp.o
[52/327] c++ obj/src/app/MessageDef/libCHIPDataModel.CommandStatusIB.cpp.o
[53/327] c++ obj/src/app/MessageDef/libCHIPDataModel.DataVersionFilterIB.cpp.o
[54/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventFilterIB.cpp.o
[55/327] c++ obj/src/app/MessageDef/libCHIPDataModel.DataVersionFilterIBs.cpp.o
[56/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventDataIB.cpp.o
[57/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventFilterIBs.cpp.o
[58/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventPathIBs.cpp.o
[59/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventReportIB.cpp.o
[60/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventPathIB.cpp.o
[61/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventReportIBs.cpp.o
[62/327] c++ obj/src/app/MessageDef/libCHIPDataModel.EventStatusIB.cpp.o
[63/327] c++ obj/src/app/MessageDef/libCHIPDataModel.InvokeRequests.cpp.o
[64/327] c++ obj/src/app/MessageDef/libCHIPDataModel.InvokeRequestMessage.cpp.o
[65/327] c++ obj/src/app/MessageDef/libCHIPDataModel.InvokeResponseIB.cpp.o
[66/327] c++ obj/src/app/MessageDef/libCHIPDataModel.MessageBuilder.cpp.o
[67/327] c++ obj/src/app/MessageDef/libCHIPDataModel.ListParser.cpp.o
[68/327] c++ obj/src/app/MessageDef/libCHIPDataModel.ListBuilder.cpp.o
[69/327] c++ obj/src/app/MessageDef/libCHIPDataModel.InvokeResponseIBs.cpp.o
[70/327] c++ obj/src/app/MessageDef/libCHIPDataModel.MessageDefHelper.cpp.o
[71/327] c++ obj/src/app/MessageDef/libCHIPDataModel.InvokeResponseMessage.cpp.o
[72/327] c++ obj/src/app/MessageDef/libCHIPDataModel.MessageParser.cpp.o
[73/327] c++ obj/src/app/MessageDef/libCHIPDataModel.Parser.cpp.o
[74/327] c++ obj/src/app/MessageDef/libCHIPDataModel.ReadRequestMessage.cpp.o
[75/327] c++ obj/src/app/MessageDef/libCHIPDataModel.ReportDataMessage.cpp.o
[76/327] c++ obj/src/app/MessageDef/libCHIPDataModel.StructBuilder.cpp.o
[77/327] c++ obj/src/app/MessageDef/libCHIPDataModel.StructParser.cpp.o
[78/327] c++ obj/src/app/MessageDef/libCHIPDataModel.StatusIB.cpp.o
[79/327] c++ obj/src/app/MessageDef/libCHIPDataModel.StatusResponseMessage.cpp.o
[80/327] c++ obj/src/app/MessageDef/libCHIPDataModel.SubscribeRequestMessage.cpp.o
[81/327] c++ obj/src/app/MessageDef/libCHIPDataModel.SubscribeResponseMessage.cpp.o
[82/327] c++ obj/src/app/MessageDef/libCHIPDataModel.WriteRequestMessage.cpp.o
[83/327] c++ obj/src/app/MessageDef/libCHIPDataModel.TimedRequestMessage.cpp.o
[84/327] c++ obj/src/app/MessageDef/libCHIPDataModel.WriteResponseMessage.cpp.o
[85/327] c++ obj/src/app/libCHIPDataModel.OperationalSessionSetup.cpp.o
[86/327] c++ obj/src/app/libCHIPDataModel.RequiredPrivilege.cpp.o
[87/327] c++ obj/src/app/libCHIPDataModel.StatusResponse.cpp.o
[88/327] c++ obj/src/app/libCHIPDataModel.ReadHandler.cpp.o
[89/327] c++ obj/src/app/libCHIPDataModel.ReadClient.cpp.o
[90/327] c++ obj/src/app/libCHIPDataModel.TimedRequest.cpp.o
[91/327] c++ obj/src/app/libCHIPDataModel.TimedHandler.cpp.o
[92/327] c++ obj/src/app/server/libCHIPAppServer.DefaultAclStorage.cpp.o
[93/327] c++ obj/src/app/server/libCHIPAppServer.EchoHandler.cpp.o
[94/327] c++ obj/src/app/reporting/libCHIPDataModel.Engine.cpp.o
[95/327] c++ obj/src/crypto/libChipCrypto.RandUtils.cpp.o
[96/327] c++ obj/src/app/server/libCHIPAppServer.AclStorage.cpp.o
[97/327] c++ obj/src/app/server/libCHIPAppServer.Dnssd.cpp.o
[98/327] c++ obj/src/ble/libBleLayer.BleLayer.cpp.o
[99/327] c++ obj/src/app/server/libCHIPAppServer.OnboardingCodesUtil.cpp.o
[100/327] c++ obj/src/app/server/libCHIPAppServer.Server.cpp.o
[101/327] c++ obj/src/credentials/libCredentials.GenerateChipX509Cert.cpp.o
[102/327] c++ obj/src/app/server/libCHIPAppServer.CommissioningWindowManager.cpp.o
[103/327] c++ obj/src/credentials/libCredentials.CHIPCert.cpp.o
[104/327] c++ obj/src/credentials/libCredentials.CHIPCertToX509.cpp.o
[105/327] c++ obj/src/crypto/libChipCrypto.PersistentStorageOperationalKeystore.cpp.o
[106/327] c++ obj/src/credentials/libCredentials.DeviceAttestationConstructor.cpp.o
[107/327] c++ obj/src/crypto/libChipCrypto.RawKeySessionKeystore.cpp.o
[108/327] c++ obj/src/credentials/libCredentials.CertificationDeclaration.cpp.o
[109/327] c++ obj/src/credentials/attestation_verifier/libDefaultAttestationVerifier.DacOnlyPartialAttestationVerifier.cpp.o
[110/327] c++ obj/src/lib/asn1/libASN1.ASN1OID.cpp.o
[111/327] c++ obj/src/crypto/libChipCrypto.CHIPCryptoPAL.cpp.o
[112/327] c++ obj/src/inet/libInetLayer.IPAddress-StringFuncts.cpp.o
[113/327] c++ obj/src/lib/shell/libCHIPShell.MainLoopZephyr.cpp.o
[114/327] c++ obj/src/inet/libInetLayer.IPAddress.cpp.o
[115/327] c++ obj/src/inet/libInetLayer.IPPacketInfo.cpp.o
[116/327] c++ obj/src/lib/asn1/libASN1.ASN1Reader.cpp.o
[117/327] c++ obj/src/lib/asn1/libASN1.ASN1Time.cpp.o
[118/327] c++ obj/src/crypto/cryptopal_mbedtls.CHIPCryptoPALmbedTLS.cpp.o
[119/327] c++ obj/src/lib/asn1/libASN1.ASN1Error.cpp.o
[120/327] c++ obj/src/inet/libInetLayer.UDPEndPointImplSockets.cpp.o
[121/327] c++ obj/src/inet/libInetLayer.IPPrefix.cpp.o
[122/327] c++ obj/src/lib/address_resolve/address_resolve.AddressResolve_DefaultImpl.cpp.o
[123/327] c++ obj/src/inet/libInetLayer.InetArgParser.cpp.o
[124/327] c++ obj/src/inet/libInetLayer.UDPEndPoint.cpp.o
[125/327] c++ obj/src/inet/libInetLayer.InetError.cpp.o
[126/327] c++ obj/src/inet/libInetLayer.InetInterface.cpp.o
[127/327] c++ obj/src/lib/core/libChipCore.CHIPError.cpp.o
[128/327] c++ obj/src/lib/core/libChipCore.TLVWriter.cpp.o
[129/327] c++ obj/src/lib/core/libChipCore.TLVUtilities.cpp.o
[130/327] c++ obj/src/lib/address_resolve/address_resolve.AddressResolve.cpp.o
[131/327] c++ obj/src/lib/core/libChipCore.CHIPKeyIds.cpp.o
[132/327] c++ obj/src/lib/core/libChipCore.OTAImageHeader.cpp.o
[133/327] c++ obj/src/lib/core/libChipCore.TLVDebug.cpp.o
[134/327] c++ obj/src/lib/core/libChipCore.TLVCircularBuffer.cpp.o
[135/327] c++ obj/src/lib/support/libSupportLayer.BytesCircularBuffer.cpp.o
[136/327] c++ obj/src/lib/dnssd/dnssd.Discovery_ImplPlatform.cpp.o
[137/327] c++ obj/src/lib/support/libSupportLayer.Base64.cpp.o
[138/327] c++ obj/src/lib/core/libChipCore.TLVUpdater.cpp.o
[139/327] c++ obj/src/lib/asn1/libASN1.ASN1Writer.cpp.o
[140/327] c++ obj/src/lib/support/libSupportLayer.BufferWriter.cpp.o
[141/327] c++ obj/src/lib/support/libSupportLayer.BufferReader.cpp.o
[142/327] c++ obj/src/lib/support/libSupportLayer.CHIPPlatformMemory.cpp.o
[143/327] c++ obj/src/lib/core/libChipCore.TLVReader.cpp.o
[144/327] c++ obj/src/lib/support/libSupportLayer.FixedBufferAllocator.cpp.o
[145/327] c++ obj/src/lib/support/libSupportLayer.BytesToHex.cpp.o
[146/327] c++ obj/src/lib/support/libSupportLayer.FibonacciUtils.cpp.o
[147/327] c++ obj/zzz_generated/app-common/app-common/zap-generated/libClusterObjects.cluster-objects.cpp.o
[148/327] c++ obj/src/lib/support/libSupportLayer.CHIPMem.cpp.o
[149/327] c++ obj/src/lib/support/libSupportLayer.ErrorStr.cpp.o
[150/327] c++ obj/src/lib/shell/commands/commands.Help.cpp.o
[151/327] c++ obj/src/lib/support/libSupportLayer.IniEscaping.cpp.o
[152/327] c++ obj/src/lib/support/libSupportLayer.PersistentStorageAudit.cpp.o
[153/327] c++ obj/src/lib/support/libSupportLayer.Pool.cpp.o
[154/327] c++ obj/src/lib/support/logging/libSupportLayer.CHIPLogging.cpp.o
[155/327] c++ obj/src/lib/support/libSupportLayer.CHIPArgParser.cpp.o
[156/327] c++ obj/src/lib/shell/libCHIPShell.streamer_zephyr.cpp.o
[157/327] c++ obj/src/lib/dnssd/dnssd.IPAddressSorter.cpp.o
[158/327] c++ obj/src/lib/dnssd/dnssd.ServiceNaming.cpp.o
[159/327] c++ obj/src/lib/shell/shell_core.streamer.cpp.o
[160/327] c++ obj/src/lib/shell/commands/commands.Base64.cpp.o
[161/327] c++ obj/src/lib/dnssd/dnssd.TxtFields.cpp.o
[162/327] c++ obj/src/lib/shell/shell_core.Engine.cpp.o
[163/327] c++ obj/src/lib/shell/commands/commands.Config.cpp.o
[164/327] c++ obj/src/lib/shell/commands/commands.Meta.cpp.o
[165/327] c++ obj/src/lib/shell/commands/commands.OnboardingCodes.cpp.o
[166/327] c++ obj/src/lib/shell/commands/commands.Device.cpp.o
[167/327] c++ obj/src/lib/support/libSupportLayer.PrivateHeap.cpp.o
[168/327] c++ obj/src/lib/support/libSupportLayer.SerializableIntegerSet.cpp.o
[169/327] c++ obj/src/lib/shell/commands/commands.BLE.cpp.o
[170/327] c++ obj/src/lib/support/libSupportLayer.TimeUtils.cpp.o
[171/327] c++ obj/src/lib/support/libSupportLayer.ThreadOperationalDataset.cpp.o
[172/327] c++ obj/src/lib/support/verhoeff/libSupportLayer.Verhoeff.cpp.o
[173/327] c++ obj/src/lib/shell/commands/commands.NFC.cpp.o
[174/327] c++ obj/src/lib/support/verhoeff/libSupportLayer.Verhoeff10.cpp.o
[175/327] c++ obj/src/lib/support/libSupportLayer.ZclString.cpp.o
[176/327] c++ obj/src/lib/shell/commands/commands.Dns.cpp.o
[177/327] c++ obj/src/lib/support/verhoeff/libSupportLayer.Verhoeff32.cpp.o
[178/327] c++ obj/src/lib/support/verhoeff/libSupportLayer.Verhoeff16.cpp.o
[179/327] c++ obj/src/lib/shell/commands/commands.Ota.cpp.o
[180/327] c++ obj/src/lib/support/verhoeff/libSupportLayer.Verhoeff36.cpp.o
[181/327] c++ obj/src/messaging/libMessagingLayer.ErrorCategory.cpp.o
[182/327] c++ obj/src/lib/support/libSupportLayer.CHIPMem-Malloc.cpp.o
[183/327] c++ obj/src/messaging/libMessagingLayer.ApplicationExchangeDispatch.cpp.o
[184/327] c++ obj/src/platform/nrfconnect.SingletonConfigurationManager.cpp.o
[185/327] c++ obj/src/messaging/libMessagingLayer.ExchangeMessageDispatch.cpp.o
[186/327] c++ obj/src/messaging/libMessagingLayer.ReliableMessageMgr.cpp.o
[187/327] c++ obj/src/messaging/libMessagingLayer.ExchangeContext.cpp.o
[188/327] c++ obj/src/messaging/libMessagingLayer.ExchangeMgr.cpp.o
[189/327] c++ obj/src/platform/libDeviceLayer.CommissionableDataProvider.cpp.o
[190/327] c++ obj/src/messaging/libMessagingLayer.ReliableMessageContext.cpp.o
[191/327] c++ obj/src/platform/libDeviceLayer.DeviceInstanceInfoProvider.cpp.o
[192/327] c++ obj/src/platform/libDeviceLayer.DeviceControlServer.cpp.o
[193/327] c++ obj/src/platform/libDeviceLayer.PlatformEventSupport.cpp.o
[194/327] c++ obj/src/messaging/libMessagingLayer.ReliableMessageProtocolConfig.cpp.o
[195/327] c++ obj/src/platform/libDeviceLayer.Entropy.cpp.o
[196/327] c++ obj/src/platform/libDeviceLayer.DeviceInfoProvider.cpp.o
[197/327] c++ obj/src/platform/libDeviceLayer.LockTracker.cpp.o
[198/327] c++ obj/src/platform/libDeviceLayer.DiagnosticDataProvider.cpp.o
[199/327] c++ obj/src/platform/Zephyr/nrfconnect.BLEAdvertisingArbiter.cpp.o
[200/327] c++ obj/src/platform/libDeviceLayer.GeneralUtils.cpp.o
[201/327] c++ obj/src/platform/Zephyr/nrfconnect.BLEManagerImpl.cpp.o
[202/327] c++ obj/src/platform/libDeviceLayer.PersistedStorage.cpp.o
[203/327] c++ obj/src/platform/libDeviceLayer.Globals.cpp.o
[204/327] c++ obj/src/platform/OpenThread/libDeviceLayer.GenericNetworkCommissioningThreadDriver.cpp.o
[205/327] c++ obj/src/platform/Zephyr/nrfconnect.Logging.cpp.o
[206/327] c++ obj/src/platform/Zephyr/nrfconnect.ConfigurationManagerImpl.cpp.o
[207/327] c++ obj/src/platform/Zephyr/nrfconnect.KeyValueStoreManagerImpl.cpp.o
[208/327] c++ obj/src/platform/Zephyr/nrfconnect.SystemTimeSupport.cpp.o
[209/327] cc obj/src/platform/nrfconnect/nrfconnect.FactoryDataParser.c.o
[210/327] c++ obj/src/platform/nrfconnect/nrfconnect.Reboot.cpp.o
[211/327] c++ obj/src/platform/Zephyr/nrfconnect.PlatformManagerImpl.cpp.o
[212/327] c++ obj/src/platform/Zephyr/nrfconnect.ZephyrConfig.cpp.o
[213/327] c++ obj/src/platform/Zephyr/nrfconnect.DiagnosticDataProviderImpl.cpp.o
[214/327] c++ obj/src/platform/nrfconnect/nrfconnect.ConnectivityManagerImpl.cpp.o
[215/327] c++ obj/src/platform/nrfconnect/nrfconnect.DiagnosticDataProviderImplNrf.cpp.o
[216/327] c++ obj/src/system/libSystemLayer.TLVPacketBufferBackingStore.cpp.o
[217/327] c++ obj/src/platform/nrfconnect/nrfconnect.FactoryDataProvider.cpp.o
FAILED: obj/src/platform/nrfconnect/nrfconnect.FactoryDataProvider.cpp.o
ccache /home/entwicklung/ncs/toolchains/7795df4459/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 -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\> -fmacro-prefix-map=../../../../../ncs/v2.5.0/modules/lib/matter/= -std=gnu++14 -fno-rtti -Wnon-virtual-dtor -isystem/home/entwicklung/ncs/v2.5.0/nrf/drivers/mpsl/clock_control -isystem/home/entwicklung/ncs/v2.5.0/zephyr/include -isystem/home/entwicklung/matter_apps/light_occ/build_1/zephyr/include/generated -isystem/home/entwicklung/ncs/v2.5.0/zephyr/soc/arm/nordic_nrf/nrf52 -isystem/home/entwicklung/ncs/v2.5.0/zephyr/lib/libc/newlib/include -isystem/home/entwicklung/ncs/v2.5.0/zephyr/soc/arm/nordic_nrf/common/. -isystem/home/entwicklung/ncs/v2.5.0/zephyr/subsys/bluetooth -isystem/home/entwicklung/ncs/v2.5.0/zephyr/subsys/net/lib/sockets/. -isystem/home/entwicklung/ncs/v2.5.0/zephyr/subsys/settings/include -isystem/home/entwicklung/ncs/v2.5.0/nrf/include -isystem/home/entwicklung/ncs/v2.5.0/nrf/lib/multithreading_lock/. -isystem/home/entwicklung/ncs/v2.5.0/nrf/subsys/bluetooth/controller/. -isystem/home/entwicklung/ncs/v2.5.0/zephyr/drivers/flash -isystem/home/entwicklung/ncs/v2.5.0/nrf/tests/include -isystem/home/entwicklung/ncs/v2.5.0/zephyr/modules/openthread/platform/. -isystem/home/entwicklung/ncs/v2.5.0/modules/hal/cmsis/CMSIS/Core/Include -isystem/home/entwicklung/ncs/v2.5.0/zephyr/modules/cmsis/. -isystem/home/entwicklung/ncs/v2.5.0/modules/hal/nordic/nrfx -isystem/home/entwicklung/ncs/v2.5.0/modules/hal/nordic/nrfx/drivers/include -isystem/home/entwicklung/ncs/v2.5.0/modules/hal/nordic/nrfx/mdk -isystem/home/entwicklung/ncs/v2.5.0/zephyr/modules/hal_nordic/nrfx/. -isystem/home/entwicklung/ncs/v2.5.0/modules/debug/segger/SEGGER -isystem/home/entwicklung/ncs/v2.5.0/modules/debug/segger/Config -isystem/home/entwicklung/ncs/v2.5.0/modules/lib/zcbor/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/nfc/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/fem/common/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/fem/nrf21540_gpio/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/fem/simple_gpio/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/fem/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/fem/include/protocol -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/mpsl/include/protocol -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/openthread/include -isystem/home/entwicklung/matter_apps/light_occ/build_1/modules/nrf/subsys/nrf_security/src/include/generated -isystem/home/entwicklung/ncs/v2.5.0/nrf/subsys/nrf_security/include -isystem/home/entwicklung/ncs/v2.5.0/nrf/ext/oberon/psa/core/include -isystem/home/entwicklung/ncs/v2.5.0/nrf/ext/oberon/psa/core/library -isystem/home/entwicklung/ncs/v2.5.0/modules/crypto/mbedtls/include -isystem/home/entwicklung/ncs/v2.5.0/modules/crypto/mbedtls/library -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/crypto/nrf_oberon/include/ -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/crypto/nrf_oberon/include/mbedtls -isystem/home/entwicklung/ncs/v2.5.0/nrf/ext/oberon/psa/drivers -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/crypto/nrf_cc310_platform/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/crypto/nrf_oberon/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/nrf_802154/driver/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/nrf_802154/sl/include -isystem/home/entwicklung/ncs/v2.5.0/nrfxlib/nrf_802154/common/include -DKERNEL -D__ZEPHYR__=1 -D_FORTIFY_SOURCE=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++14 -fno-exceptions -fno-rtti -imacros/home/entwicklung/matter_apps/light_occ/build_1/zephyr/include/generated/autoconf.h -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mfp16-format=ieee --sysroot=/home/entwicklung/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros/home/entwicklung/ncs/v2.5.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -fno-pic -fno-pie --param=min-pagesize=0 -fmacro-prefix-map=/home/entwicklung/matter_apps/light_occ=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/entwicklung/ncs/v2.5.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/entwicklung/ncs/v2.5.0=WEST_TOPDIR -specs=nano.specs -D_POSIX_THREADS -std=gnu++14 -DNDEBUG -DCHIP_HAVE_CONFIG_H=1 -I../../../../../ncs/v2.5.0/modules/lib/matter/src/include -I../../../../../ncs/v2.5.0/modules/lib/matter/src -Igen/include -I../../../../../ncs/v2.5.0/modules/lib/matter/zzz_generated/app-common -I../../../../../ncs/v2.5.0/modules/lib/matter/third_party/nlassert/repo/include -I../../../../../ncs/v2.5.0/modules/lib/matter/third_party/nlio/repo/include -c ../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.cpp -o obj/src/platform/nrfconnect/nrfconnect.FactoryDataProvider.cpp.o
In file included from ../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.cpp:18:
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h: In member function 'CHIP_ERROR chip::DeviceLayer::InternalFlashFactoryData::GetFactoryDataPartition(uint8_t*&, size_t&)':
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:38:48: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope
38 | data = reinterpret_cast<uint8_t *>(PM_FACTORY_DATA_ADDRESS);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:39:20: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope
39 | dataSize = PM_FACTORY_DATA_SIZE;
| ^~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h: In member function 'constexpr size_t chip::DeviceLayer::InternalFlashFactoryData::FactoryDataBlockBegin()':
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:54:16: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope
54 | return PM_FACTORY_DATA_ADDRESS & (-CONFIG_FPROTECT_BLOCK_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h: In member function 'constexpr size_t chip::DeviceLayer::InternalFlashFactoryData::FactoryDataBlockSize()':
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:62:14: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope
62 | (PM_FACTORY_DATA_ADDRESS + PM_FACTORY_DATA_SIZE + CONFIG_FPROTECT_BLOCK_SIZE - 1) & (-CONFIG_FPROTECT_BLOCK_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:62:40: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope
62 | (PM_FACTORY_DATA_ADDRESS + PM_FACTORY_DATA_SIZE + CONFIG_FPROTECT_BLOCK_SIZE - 1) & (-CONFIG_FPROTECT_BLOCK_SIZE);
| ^~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:63:44: error: non-constant condition for static assertion
63 | static_assert(kFactoryDataBlockEnd <= PM_SETTINGS_STORAGE_ADDRESS,
| ^
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h: At global scope:
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:102:32: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope
102 | uint8_t mFactoryDataBuffer[PM_FACTORY_DATA_SIZE];
| ^~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h: In member function 'CHIP_ERROR chip::DeviceLayer::ExternalFlashFactoryData::GetFactoryDataPartition(uint8_t*&, size_t&)':
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:86:44: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope
86 | int ret = flash_read(mFlashDevice, PM_FACTORY_DATA_ADDRESS, mFactoryDataBuffer, PM_FACTORY_DATA_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:86:69: error: 'mFactoryDataBuffer' was not declared in this scope
86 | int ret = flash_read(mFlashDevice, PM_FACTORY_DATA_ADDRESS, mFactoryDataBuffer, PM_FACTORY_DATA_SIZE);
| ^~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:86:89: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope
86 | int ret = flash_read(mFlashDevice, PM_FACTORY_DATA_ADDRESS, mFactoryDataBuffer, PM_FACTORY_DATA_SIZE);
| ^~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h: At global scope:
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:171:62: error: 'PM_FACTORY_DATA_SIZE' was not declared in this scope
171 | static constexpr uint16_t kFactoryDataPartitionSize = PM_FACTORY_DATA_SIZE;
| ^~~~~~~~~~~~~~~~~~~~
../../../../../ncs/v2.5.0/modules/lib/matter/src/platform/nrfconnect/FactoryDataProvider.h:172:62: error: 'PM_FACTORY_DATA_ADDRESS' was not declared in this scope
172 | static constexpr uint32_t kFactoryDataPartitionAddress = PM_FACTORY_DATA_ADDRESS;
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
[218/327] c++ obj/src/platform/OpenThread/nrfconnect.OpenThreadUtils.cpp.o
[219/327] c++ obj/src/platform/OpenThread/nrfconnect.DnssdImpl.cpp.o
[220/327] c++ obj/src/platform/Zephyr/nrfconnect.SysHeapMalloc.cpp.o
[221/327] c++ obj/src/platform/Zephyr/nrfconnect.NFCManagerImpl.cpp.o
[222/327] c++ obj/src/platform/Zephyr/nrfconnect.ThreadStackManagerImpl.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/libCHIPShell.a modules/connectedhomeip/lib/libMatterDeviceInfoProviderExample.a
cd /home/entwicklung/matter_apps/light_occ/build_1/modules/connectedhomeip && /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/cmake -E echo "Starting Matter library build in /home/entwicklung/matter_apps/light_occ/build_1/modules/connectedhomeip" && /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/python3.8 /home/entwicklung/ncs/v2.5.0/modules/lib/matter/config/common/cmake/make_gn_args.py @args.tmp > args.gn.tmp && /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/cmake -E compare_files args.gn.tmp args.gn || /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/cmake -E rename args.gn.tmp args.gn && /home/entwicklung/ncs/toolchains/7795df4459/opt/bin/gn --root=/home/entwicklung/ncs/v2.5.0/modules/lib/matter --root-target=/home/entwicklung/ncs/v2.5.0/modules/lib/matter/config/nrfconnect/chip-gn --dotfile=/home/entwicklung/ncs/v2.5.0/modules/lib/matter/config/nrfconnect/chip-gn/.gn --script-executable=/home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/python3.8 gen --check --fail-on-unused-args /home/entwicklung/matter_apps/light_occ/build_1/modules/connectedhomeip && ninja && /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/cmake -E echo "Matter library build complete"
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /home/entwicklung/ncs/toolchains/7795df4459/usr/local/bin/cmake --build /home/entwicklung/matter_apps/light_occ/build_1
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
It would be very helpful if someone could point me in the right direction.