* Executing task: nRF Connect: Generate config nrf9160dk_nrf9160_ns for c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update Building application_update C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build c:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION=NONE" -- west build: generating a build system Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update -- CMake version: 3.20.5 -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr) -- Found west (found suitable version "1.1.0", minimum required is "0.7.1") -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0 -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/dts.cmake Parsing C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/Kconfig Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig' Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/prj.conf' Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/include/generated/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (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: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter Changed board to secure nrf9160dk_nrf9160 (NOT NS) === child image mcuboot - begin === loading initial cache file C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake CMake Warning (dev) at C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8 (set): Syntax error in cmake code at C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/child_image_preload.cmake:8 when parsing string C:\ncs\toolchains\31f4403e35\opt\bin\python.exe Invalid escape sequence \3 Policy CMP0010 is not set: Bad variable reference syntax is an error. Run "cmake --help-policy CMP0010" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr -- CMake version: 3.20.5 -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr) -- Found west (found suitable version "1.1.0", minimum required is "0.7.1") -- Board: nrf9160dk_nrf9160, Revision: 0.7.0 -- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts -- Found devicetree overlay: C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/app.overlay -- Generated zephyr.dts: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/dts.cmake Parsing C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.4.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig' Merged configuration 'C:/ncs/v2.4.0/bootloader/mcuboot/boot/zephyr/prj.conf' Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/tfm.conf' Merged configuration 'C:/ncs/v2.4.0/nrf/modules/mcuboot/fih_low_enable.conf' Merged configuration 'C:/ncs/v2.4.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' Merged configuration 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf' Configuration saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot/zephyr/include/generated/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (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: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message): No SOURCES given to Zephyr library: lib__libc__common Excluding target from build. MCUBoot bootloader key file: C:/ncs/v2.4.0/bootloader/mcuboot/root-ec-p256.pem -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/mcuboot === child image mcuboot - end === CMake Warning at C:/ncs/v2.4.0/nrf/modules/mcuboot/CMakeLists.txt:310 (message): --------------------------------------------------------- --- WARNING: Using default MCUBoot key, it should not --- --- be used for production. --- --------------------------------------------------------- CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message): No SOURCES given to Zephyr library: lib__libc__common Excluding target from build. CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:1864 (message): __ASSERT() statements are globally ENABLED Dropping partition 'nrf_modem_lib_trace' since its size is 0. Dropping partition 'nonsecure_storage' since it is empty. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build -- west build: building application [1/323] Generating include/generated/version.h -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1 [1/184] Generating include/generated/version.h -- Zephyr version: 3.3.99 (C:/ncs/v2.4.0/zephyr), build: v3.3.99-ncs1 [174/184] Linking C executable zephyr\zephyr_pre0.elf [178/184] Linking C executable zephyr\zephyr_pre1.elf [184/184] Linking C executable zephyr\zephyr.elf Memory region Used Size Region Size %age Used FLASH: 28598 B 48 KB 58.18% RAM: 16368 B 32 KB 49.95% IDT_LIST: 0 GB 2 KB 0.00% [11/323] Generating ../../tfm/CMakeCache.txt -- Found Git: C:/ncs/toolchains/31f4403e35/mingw64/bin/git.exe (found version "2.37.3.windows.1") -- The C compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter -- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.4.0/zephyr/.cache -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/tfm [22/323] Performing install step for 'tfm' -- Install configuration: "MinSizeRel" [304/323] Linking C executable zephyr\zephyr_pre0.elf [308/323] Linking C executable zephyr\zephyr_pre1.elf [314/323] Linking C executable zephyr\zephyr.elf Memory region Used Size Region Size %age Used FLASH: 127340 B 448 KB 27.76% RAM: 38408 B 211608 B 18.15% IDT_LIST: 0 GB 2 KB 0.00% [318/323] Generating ../../zephyr/app_update.bin image.py: sign the payload [319/323] Generating ../../zephyr/app_signed.hex image.py: sign the payload [321/323] Generating ../../zephyr/app_test_update.hex image.py: sign the payload [323/323] Generating zephyr/merged.hex * Terminal will be reused by tasks, press any key to close it. * Executing task: nRF Connect: Flash: application_update/build (active) Flashing build to motor C:\Windows\system32\cmd.exe /d /s /c "west flash -d c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build --dev-id 203200665" -- west flash: rebuilding [0/32] Performing build step for 'tfm' ninja: no work to do. [1/24] Performing build step for 'mcuboot_subimage' ninja: no work to do. [3/22] Building C object CMakeFiles/app.dir/src/main.c.obj [4/22] Linking C static library app\libapp.a [5/22] Linking C executable zephyr\zephyr_pre0.elf [6/22] Generating dev_handles.c FAILED: zephyr/dev_handles.c cmd.exe /C "cd /D C:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build\zephyr && C:\ncs\toolchains\31f4403e35\opt\bin\python.exe C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py --output-source dev_handles.c --output-graphviz dev_graph.dot --num-dynamic-devices 0 --kernel C:/ncs/v2.4.0/nrf/samples/nrf9160/http_update/application_update/build/zephyr/zephyr_pre0.elf --zephyr-base C:/ncs/v2.4.0/zephyr --start-symbol __device_start" Traceback (most recent call last): File "C:/ncs/v2.4.0/zephyr/scripts/build/gen_handles.py", line 34, in from elf_parser import ZephyrElf File "C:\ncs\v2.4.0\zephyr\scripts\build\elf_parser.py", line 12, in from elftools.elf.elffile import ELFFile File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\elf\elffile.py", line 41, in from ..dwarf.dwarfinfo import DWARFInfo, DebugSectionDescriptor, DwarfConfig File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\dwarfinfo.py", line 17, in from .structs import DWARFStructs File "C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages\elftools\dwarf\structs.py", line 10, in from logging.config import valid_ident File "", line 259, in load_module File "logging\config.py", line 30, in File "", line 259, in load_module File "logging\handlers.py", line 26, in File "", line 259, in load_module File "socket.py", line 49, in ImportError: Module use of python312.dll conflicts with this version of Python. ninja: build stopped: subcommand failed. FATAL ERROR: re-build in c:\ncs\v2.4.0\nrf\samples\nrf9160\http_update\application_update\build failed * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.