espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.91k stars 7.33k forks source link

ImportError: cannot import name 'rest_of_line' from 'pyparsing' (IDFGH-10338) #11596

Closed nidefawl closed 1 year ago

nidefawl commented 1 year ago

Answers checklist.

IDF version.

v5.0-547-g20e8e86c80

Operating System used.

Linux

How did you build your project?

Command line with CMake

If you are using Windows, please specify command line type.

None

What is the expected behavior?

No compile error

What is the actual behavior?

While trying to build the Sming Basic_Blink example on fresh Ubuntu 2204 installation using IDF 5.0 I get following error:

FAILED: esp-idf/esp_system/ld/sections.ld /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system/ld/sections.ld
cd /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system && /usr/bin/python /opt/esp-idf-5.0/tools/ldgen/ldgen.py --config /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig --fragments-list "/opt/esp-idf-5.0/components/xtensa/linker.lf;/opt/esp-idf-5.0/components/esp_ringbuf/linker.lf;/opt/esp-idf-5.0/components/driver/linker.lf;/opt/esp-idf-5.0/components/esp_pm/linker.lf;/opt/esp-idf-5.0/components/spi_flash/linker.lf;/opt/esp-idf-5.0/components/esp_system/linker.lf;/opt/esp-idf-5.0/components/esp_system/app.lf;/opt/esp-idf-5.0/components/esp_common/common.lf;/opt/esp-idf-5.0/components/esp_common/soc.lf;/opt/esp-idf-5.0/components/esp_rom/linker.lf;/opt/esp-idf-5.0/components/hal/linker.lf;/opt/esp-idf-5.0/components/log/linker.lf;/opt/esp-idf-5.0/components/heap/linker.lf;/opt/esp-idf-5.0/components/soc/linker.lf;/opt/esp-idf-5.0/components/esp_hw_support/linker.lf;/opt/esp-idf-5.0/components/freertos/linker.lf;/opt/esp-idf-5.0/components/newlib/newlib.lf;/opt/esp-idf-5.0/components/newlib/system_libs.lf;/opt/esp-idf-5.0/components/esp_adc/linker.lf;/opt/esp-idf-5.0/components/esp_event/linker.lf;/opt/esp-idf-5.0/components/esp_gdbstub/linker.lf;/opt/esp-idf-5.0/components/lwip/linker.lf;/opt/esp-idf-5.0/components/esp_netif/linker.lf;/opt/esp-idf-5.0/components/esp_wifi/linker.lf;/opt/esp-idf-5.0/components/esp_phy/linker.lf;/opt/esp-idf-5.0/components/espcoredump/linker.lf" --input /opt/esp-idf-5.0/components/esp_system/ld/esp32/sections.ld.in --output /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system/ld/sections.ld --kconfig /opt/esp-idf-5.0/Kconfig --env-file /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/config.env --libraries-file /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/ldgen_libraries --objdump /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-objdump
Traceback (most recent call last):
  File "/opt/esp-idf-5.0/tools/ldgen/ldgen.py", line 16, in <module>
    from ldgen.entity import EntityDB
  File "/opt/esp-idf-5.0/tools/ldgen/ldgen/entity.py", line 12, in <module>
    from pyparsing import (Group, Literal, OneOrMore, ParseException, SkipTo, Suppress, White, Word, ZeroOrMore, alphas,
ImportError: cannot import name 'rest_of_line' from 'pyparsing' (/usr/lib/python3/dist-packages/pyparsing.py)
ninja: build stopped: subcommand failed.
make: *** [/home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/component.mk:372: checksdk] Error 1

I built stuff successfully before on Ubuntu 2204 using IDF version 4.4

Steps to reproduce.

Try to build the Sming Basic_Blink example using IDF 5.0

Build or installation Logs.

michael@vm2204:~/esp-dev/Sming/samples/Basic_Blink$ make clean

Basic_Blink: Invoking 'clean' for Esp32/esp32 (debug) architecture
Using configuration 'standard'
Cleaning application...
michael@vm2204:~/esp-dev/Sming/samples/Basic_Blink$ make

Basic_Blink: Invoking 'all' for Esp32/esp32 (debug) architecture
Using configuration 'standard'
Creating /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig.defaults
Executing action: reconfigure
Running cmake in directory /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug"...
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Initialising new submodule components/bootloader/subproject/components/micro-ecc/micro-ecc...
Submodule 'components/bootloader/subproject/components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/bootloader/subproject/components/micro-ecc/micro-ecc'
Cloning into '/opt/esp-idf-5.0/components/bootloader/subproject/components/micro-ecc/micro-ecc'...
Submodule path 'components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out 'd037ec89546fad14b5c4d5456c2e23a71e554966'
-- Initialising new submodule components/bt/controller/lib_esp32...
Submodule 'components/bt/controller/lib_esp32' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/controller/lib_esp32'
Cloning into '/opt/esp-idf-5.0/components/bt/controller/lib_esp32'...
Submodule path 'components/bt/controller/lib_esp32': checked out 'd4a224c5d682d6b5a76542c6918b6a59dd0b2f8c'
-- Initialising new submodule components/bt/controller/lib_esp32c2/esp32c2-bt-lib...
Submodule 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib' (https://github.com/espressif/esp32c2-bt-lib.git) registered for path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib'
Cloning into '/opt/esp-idf-5.0/components/bt/controller/lib_esp32c2/esp32c2-bt-lib'...
Submodule path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib': checked out '2d0c9d0d5df1fa825ed3c48df968e3c9b8c434ee'
-- Initialising new submodule components/bt/controller/lib_esp32c3_family...
Submodule 'components/bt/controller/lib_esp32c3_family' (https://github.com/espressif/esp32c3-bt-lib.git) registered for path 'components/bt/controller/lib_esp32c3_family'
Cloning into '/opt/esp-idf-5.0/components/bt/controller/lib_esp32c3_family'...
Submodule path 'components/bt/controller/lib_esp32c3_family': checked out 'bba9af9259e0999ef246426d31a793fe0a3ff4db'
-- Initialising new submodule components/bt/controller/lib_esp32h2/esp32h2-bt-lib...
Submodule 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib' (https://github.com/espressif/esp32h2-bt-lib.git) registered for path 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib'
Cloning into '/opt/esp-idf-5.0/components/bt/controller/lib_esp32h2/esp32h2-bt-lib'...
Submodule path 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib': checked out 'f502278684195b9c20626ec8bb25430030d2ff23'
-- Initialising new submodule components/bt/host/nimble/nimble...
Submodule 'components/bt/host/nimble/nimble' (https://github.com/espressif/esp-nimble.git) registered for path 'components/bt/host/nimble/nimble'
Cloning into '/opt/esp-idf-5.0/components/bt/host/nimble/nimble'...
Submodule path 'components/bt/host/nimble/nimble': checked out '9a355b2b597a66868aed37e1ebccb0c274aaa252'
-- Initialising new submodule components/cmock/CMock...
Submodule 'components/cmock/CMock' (https://github.com/ThrowTheSwitch/CMock.git) registered for path 'components/cmock/CMock'
Cloning into '/opt/esp-idf-5.0/components/cmock/CMock'...
Submodule path 'components/cmock/CMock': checked out 'eeecc49ce8af123cf8ad40efdb9673e37b56230f'
Submodule 'vendor/c_exception' (https://github.com/throwtheswitch/cexception.git) registered for path 'components/cmock/CMock/vendor/c_exception'
Submodule 'vendor/unity' (https://github.com/throwtheswitch/unity.git) registered for path 'components/cmock/CMock/vendor/unity'
Cloning into '/opt/esp-idf-5.0/components/cmock/CMock/vendor/c_exception'...
Cloning into '/opt/esp-idf-5.0/components/cmock/CMock/vendor/unity'...
Submodule path 'components/cmock/CMock/vendor/c_exception': checked out '71b47be7c950f1bf5f7e5303779fa99a16224bb6'
Submodule path 'components/cmock/CMock/vendor/unity': checked out 'cf949f45ca6d172a177b00da21310607b97bc7a7'
-- Initialising new submodule components/esp_phy/lib...
Submodule 'components/esp_phy/lib' (https://github.com/espressif/esp-phy-lib.git) registered for path 'components/esp_phy/lib'
Cloning into '/opt/esp-idf-5.0/components/esp_phy/lib'...
Submodule path 'components/esp_phy/lib': checked out '3daf842446056002dcdb12866001c3d567f1abd9'
-- Initialising new submodule components/esp_wifi/lib...
Submodule 'components/esp_wifi/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp_wifi/lib'
Cloning into '/opt/esp-idf-5.0/components/esp_wifi/lib'...
Submodule path 'components/esp_wifi/lib': checked out '41d098bdad1d854e2cb90062d50a1aacb8fb8061'
-- Initialising new submodule components/heap/tlsf...
Submodule 'components/heap/tlsf' (https://github.com/espressif/tlsf.git) registered for path 'components/heap/tlsf'
Cloning into '/opt/esp-idf-5.0/components/heap/tlsf'...
Submodule path 'components/heap/tlsf': checked out '8c9cd0517adf99e363812e9a295dfe3898fdd345'
-- Initialising new submodule components/ieee802154/lib...
Submodule 'components/ieee802154/lib' (https://github.com/espressif/esp-ieee802154-lib.git) registered for path 'components/ieee802154/lib'
Cloning into '/opt/esp-idf-5.0/components/ieee802154/lib'...
Submodule path 'components/ieee802154/lib': checked out '2b52a261fef2ad7b630e11866dca567d17170401'
-- Initialising new submodule components/json/cJSON...
Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'components/json/cJSON'
Cloning into '/opt/esp-idf-5.0/components/json/cJSON'...
Submodule path 'components/json/cJSON': checked out 'd348621ca93571343a56862df7de4ff3bc9b5667'
-- Initialising new submodule components/lwip/lwip...
Submodule 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) registered for path 'components/lwip/lwip'
Cloning into '/opt/esp-idf-5.0/components/lwip/lwip'...
Submodule path 'components/lwip/lwip': checked out '705dd71d46779bf29653f1f1d7b1af5a09fb2aa7'
-- Initialising new submodule components/mbedtls/mbedtls...
Submodule 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) registered for path 'components/mbedtls/mbedtls'
Cloning into '/opt/esp-idf-5.0/components/mbedtls/mbedtls'...
Submodule path 'components/mbedtls/mbedtls': checked out '7b428b1bf260ce1fec4e3ffb6494070d439a3a67'
-- Initialising new submodule components/mqtt/esp-mqtt...
Submodule 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) registered for path 'components/mqtt/esp-mqtt'
Cloning into '/opt/esp-idf-5.0/components/mqtt/esp-mqtt'...
Submodule path 'components/mqtt/esp-mqtt': checked out 'ae53d799da294f03ef65c33e88fa33648e638134'
-- Initialising new submodule components/openthread/lib...
Submodule 'components/openthread/lib' (https://github.com/espressif/esp-thread-lib.git) registered for path 'components/openthread/lib'
Cloning into '/opt/esp-idf-5.0/components/openthread/lib'...
Submodule path 'components/openthread/lib': checked out '698e8386c31f2c34e167b65f72a6b2553e838dd9'
-- Initialising new submodule components/openthread/openthread...
Submodule 'components/openthread/openthread' (https://github.com/espressif/openthread.git) registered for path 'components/openthread/openthread'
Cloning into '/opt/esp-idf-5.0/components/openthread/openthread'...
Submodule path 'components/openthread/openthread': checked out 'e64ba13faa865aa7febd5cb7dc7eb52ff19a2c5c'
-- Initialising new submodule components/protobuf-c/protobuf-c...
Submodule 'components/protobuf-c/protobuf-c' (https://github.com/protobuf-c/protobuf-c.git) registered for path 'components/protobuf-c/protobuf-c'
Cloning into '/opt/esp-idf-5.0/components/protobuf-c/protobuf-c'...
Submodule path 'components/protobuf-c/protobuf-c': checked out 'f224ab2eeb648a818eb20687d7150a285442c907'
-- Initialising new submodule components/spiffs/spiffs...
Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'components/spiffs/spiffs'
Cloning into '/opt/esp-idf-5.0/components/spiffs/spiffs'...
Submodule path 'components/spiffs/spiffs': checked out '0dbb3f71c5f6fae3747a9d935372773762baf852'
-- Initialising new submodule components/unity/unity...
Submodule 'components/unity/unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'components/unity/unity'
Cloning into '/opt/esp-idf-5.0/components/unity/unity'...
Submodule path 'components/unity/unity': checked out '7d2bf62b7e6afaf38153041a9d53c21aeeca9a25'
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-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: /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig
Loading defaults file /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig.defaults...
/tmp/confgen_tmp_pmkl4to:63 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_NONE=n
/tmp/confgen_tmp_pmkl4to:64 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=n
/tmp/confgen_tmp_pmkl4to:65 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_WARN=n
/tmp/confgen_tmp_pmkl4to:67 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG=n
/tmp/confgen_tmp_pmkl4to:68 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE=n
/tmp/confgen_tmp_pmkl4to:72 line was updated to CONFIG_LOG_DEFAULT_LEVEL_NONE=n
/tmp/confgen_tmp_pmkl4to:73 line was updated to CONFIG_LOG_DEFAULT_LEVEL_ERROR=n
/tmp/confgen_tmp_pmkl4to:74 line was updated to CONFIG_LOG_DEFAULT_LEVEL_WARN=n
/tmp/confgen_tmp_pmkl4to:76 line was updated to CONFIG_LOG_DEFAULT_LEVEL_DEBUG=n
/tmp/confgen_tmp_pmkl4to:77 line was updated to CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=n
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: /usr/bin/python (found version "3.10.6") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "Sming" version: 4.0.0-rc4-538-g98c2cf63
-- Adding linker script /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /opt/esp-idf-5.0/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_update bootloader bootloader_support cxx driver efuse esp_adc esp_app_format esp_common esp_event esp_gdbstub esp_hw_support esp_netif esp_partition esp_phy esp_pm esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py freertos hal heap log lwip main mbedtls newlib nvs_flash partition_table pthread soc spi_flash vfs wpa_supplicant xtensa
-- Component paths: /opt/esp-idf-5.0/components/app_update /opt/esp-idf-5.0/components/bootloader /opt/esp-idf-5.0/components/bootloader_support /opt/esp-idf-5.0/components/cxx /opt/esp-idf-5.0/components/driver /opt/esp-idf-5.0/components/efuse /opt/esp-idf-5.0/components/esp_adc /opt/esp-idf-5.0/components/esp_app_format /opt/esp-idf-5.0/components/esp_common /opt/esp-idf-5.0/components/esp_event /opt/esp-idf-5.0/components/esp_gdbstub /opt/esp-idf-5.0/components/esp_hw_support /opt/esp-idf-5.0/components/esp_netif /opt/esp-idf-5.0/components/esp_partition /opt/esp-idf-5.0/components/esp_phy /opt/esp-idf-5.0/components/esp_pm /opt/esp-idf-5.0/components/esp_ringbuf /opt/esp-idf-5.0/components/esp_rom /opt/esp-idf-5.0/components/esp_system /opt/esp-idf-5.0/components/esp_timer /opt/esp-idf-5.0/components/esp_wifi /opt/esp-idf-5.0/components/espcoredump /opt/esp-idf-5.0/components/esptool_py /opt/esp-idf-5.0/components/freertos /opt/esp-idf-5.0/components/hal /opt/esp-idf-5.0/components/heap /opt/esp-idf-5.0/components/log /opt/esp-idf-5.0/components/lwip /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/main /opt/esp-idf-5.0/components/mbedtls /opt/esp-idf-5.0/components/newlib /opt/esp-idf-5.0/components/nvs_flash /opt/esp-idf-5.0/components/partition_table /opt/esp-idf-5.0/components/pthread /opt/esp-idf-5.0/components/soc /opt/esp-idf-5.0/components/spi_flash /opt/esp-idf-5.0/components/vfs /opt/esp-idf-5.0/components/wpa_supplicant /opt/esp-idf-5.0/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk

Basic_Blink: Invoking 'all' for Esp32/esp32 (debug) architecture
Executing action: reconfigure
Running cmake in directory /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug"...
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig
Loading defaults file /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig.defaults...
/tmp/confgen_tmp9e3phhl1:63 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_NONE=n
/tmp/confgen_tmp9e3phhl1:64 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=n
/tmp/confgen_tmp9e3phhl1:65 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_WARN=n
/tmp/confgen_tmp9e3phhl1:67 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG=n
/tmp/confgen_tmp9e3phhl1:68 line was updated to CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE=n
/tmp/confgen_tmp9e3phhl1:72 line was updated to CONFIG_LOG_DEFAULT_LEVEL_NONE=n
/tmp/confgen_tmp9e3phhl1:73 line was updated to CONFIG_LOG_DEFAULT_LEVEL_ERROR=n
/tmp/confgen_tmp9e3phhl1:74 line was updated to CONFIG_LOG_DEFAULT_LEVEL_WARN=n
/tmp/confgen_tmp9e3phhl1:76 line was updated to CONFIG_LOG_DEFAULT_LEVEL_DEBUG=n
/tmp/confgen_tmp9e3phhl1:77 line was updated to CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=n
-- App "Sming" version: 4.0.0-rc4-538-g98c2cf63
-- Adding linker script /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /opt/esp-idf-5.0/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_update bootloader bootloader_support cxx driver efuse esp_adc esp_app_format esp_common esp_event esp_gdbstub esp_hw_support esp_netif esp_partition esp_phy esp_pm esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py freertos hal heap log lwip main mbedtls newlib nvs_flash partition_table pthread soc spi_flash vfs wpa_supplicant xtensa
-- Component paths: /opt/esp-idf-5.0/components/app_update /opt/esp-idf-5.0/components/bootloader /opt/esp-idf-5.0/components/bootloader_support /opt/esp-idf-5.0/components/cxx /opt/esp-idf-5.0/components/driver /opt/esp-idf-5.0/components/efuse /opt/esp-idf-5.0/components/esp_adc /opt/esp-idf-5.0/components/esp_app_format /opt/esp-idf-5.0/components/esp_common /opt/esp-idf-5.0/components/esp_event /opt/esp-idf-5.0/components/esp_gdbstub /opt/esp-idf-5.0/components/esp_hw_support /opt/esp-idf-5.0/components/esp_netif /opt/esp-idf-5.0/components/esp_partition /opt/esp-idf-5.0/components/esp_phy /opt/esp-idf-5.0/components/esp_pm /opt/esp-idf-5.0/components/esp_ringbuf /opt/esp-idf-5.0/components/esp_rom /opt/esp-idf-5.0/components/esp_system /opt/esp-idf-5.0/components/esp_timer /opt/esp-idf-5.0/components/esp_wifi /opt/esp-idf-5.0/components/espcoredump /opt/esp-idf-5.0/components/esptool_py /opt/esp-idf-5.0/components/freertos /opt/esp-idf-5.0/components/hal /opt/esp-idf-5.0/components/heap /opt/esp-idf-5.0/components/log /opt/esp-idf-5.0/components/lwip /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/main /opt/esp-idf-5.0/components/mbedtls /opt/esp-idf-5.0/components/newlib /opt/esp-idf-5.0/components/nvs_flash /opt/esp-idf-5.0/components/partition_table /opt/esp-idf-5.0/components/pthread /opt/esp-idf-5.0/components/soc /opt/esp-idf-5.0/components/spi_flash /opt/esp-idf-5.0/components/vfs /opt/esp-idf-5.0/components/wpa_supplicant /opt/esp-idf-5.0/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk
ninja: Entering directory `/home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk'
[7/672] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[434/672] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-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: /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Adding linker script /opt/esp-idf-5.0/components/soc/esp32/ld/esp32.peripherals.ld
-- App "bootloader" version: v5.0-547-g20e8e86c80
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /opt/esp-idf-5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /opt/esp-idf-5.0/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /opt/esp-idf-5.0/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /opt/esp-idf-5.0/components/bootloader /opt/esp-idf-5.0/components/bootloader_support /opt/esp-idf-5.0/components/efuse /opt/esp-idf-5.0/components/esp_app_format /opt/esp-idf-5.0/components/esp_common /opt/esp-idf-5.0/components/esp_hw_support /opt/esp-idf-5.0/components/esp_rom /opt/esp-idf-5.0/components/esp_system /opt/esp-idf-5.0/components/esptool_py /opt/esp-idf-5.0/components/freertos /opt/esp-idf-5.0/components/hal /opt/esp-idf-5.0/components/log /opt/esp-idf-5.0/components/bootloader/subproject/main /opt/esp-idf-5.0/components/bootloader/subproject/components/micro-ecc /opt/esp-idf-5.0/components/newlib /opt/esp-idf-5.0/components/partition_table /opt/esp-idf-5.0/components/soc /opt/esp-idf-5.0/components/spi_flash /opt/esp-idf-5.0/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/bootloader
[486/672] Performing build step for 'bootloader'
[1/101] Generating project_elf_src_esp32.c
[2/101] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj
[3/101] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[4/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj
[5/101] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj
[6/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[7/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[8/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dport_access.c.obj
[9/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[10/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdm_periph.c.obj
[11/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[12/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[13/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[14/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[15/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj
[16/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[17/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[18/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[19/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[20/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[21/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[22/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[23/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[24/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[25/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[26/101] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[27/101] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[28/101] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj
[29/101] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj
[30/101] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32/efuse_hal.c.obj
[31/101] Building C object esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj
[32/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[33/101] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[34/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[35/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[36/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[37/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[38/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[39/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[40/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj
[41/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[42/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[43/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[44/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj
[45/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj
[46/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[47/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32.c.obj
[48/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[49/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[50/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[51/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_soc.c.obj
[52/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[53/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[54/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[55/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[56/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[57/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[58/101] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[59/101] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[60/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[61/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[62/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj
[63/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c.obj
[64/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj
[65/101] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[66/101] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[67/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[68/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[69/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[70/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[71/101] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj
[72/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[73/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[74/101] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[75/101] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[76/101] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_regi2c.c.obj
[77/101] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[78/101] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[79/101] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj
[80/101] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[81/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[82/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[83/101] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[84/101] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[85/101] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_spiflash.c.obj
[86/101] Linking C static library esp-idf/log/liblog.a
[87/101] Linking C static library esp-idf/esp_rom/libesp_rom.a
[88/101] Linking C static library esp-idf/esp_common/libesp_common.a
[89/101] Linking C static library esp-idf/esp_hw_support/libesp_hw_support.a
[90/101] Linking C static library esp-idf/esp_system/libesp_system.a
[91/101] Linking C static library esp-idf/efuse/libefuse.a
[92/101] Linking C static library esp-idf/bootloader_support/libbootloader_support.a
[93/101] Linking C static library esp-idf/esp_app_format/libesp_app_format.a
[94/101] Linking C static library esp-idf/hal/libhal.a
[95/101] Linking C static library esp-idf/micro-ecc/libmicro-ecc.a
[96/101] Linking C static library esp-idf/soc/libsoc.a
[97/101] Linking C static library esp-idf/xtensa/libxtensa.a
[98/101] Linking C static library esp-idf/main/libmain.a
[99/101] Linking C executable bootloader.elf
[100/101] Generating binary image from built executable
esptool.py v4.6.1
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/bootloader/bootloader.bin
[101/101] cd /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/bootloader/esp-idf/esptool_py && /usr/bin/python /opt/esp-idf-5.0/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/bootloader/bootloader.bin
Bootloader binary size 0x6710 bytes. 0x8f0 bytes (8%) free.
[668/672] Generating ld/sections.ld
FAILED: esp-idf/esp_system/ld/sections.ld /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system/ld/sections.ld
cd /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system && /usr/bin/python /opt/esp-idf-5.0/tools/ldgen/ldgen.py --config /home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/project/esp32/debug/sdkconfig --fragments-list "/opt/esp-idf-5.0/components/xtensa/linker.lf;/opt/esp-idf-5.0/components/esp_ringbuf/linker.lf;/opt/esp-idf-5.0/components/driver/linker.lf;/opt/esp-idf-5.0/components/esp_pm/linker.lf;/opt/esp-idf-5.0/components/spi_flash/linker.lf;/opt/esp-idf-5.0/components/esp_system/linker.lf;/opt/esp-idf-5.0/components/esp_system/app.lf;/opt/esp-idf-5.0/components/esp_common/common.lf;/opt/esp-idf-5.0/components/esp_common/soc.lf;/opt/esp-idf-5.0/components/esp_rom/linker.lf;/opt/esp-idf-5.0/components/hal/linker.lf;/opt/esp-idf-5.0/components/log/linker.lf;/opt/esp-idf-5.0/components/heap/linker.lf;/opt/esp-idf-5.0/components/soc/linker.lf;/opt/esp-idf-5.0/components/esp_hw_support/linker.lf;/opt/esp-idf-5.0/components/freertos/linker.lf;/opt/esp-idf-5.0/components/newlib/newlib.lf;/opt/esp-idf-5.0/components/newlib/system_libs.lf;/opt/esp-idf-5.0/components/esp_adc/linker.lf;/opt/esp-idf-5.0/components/esp_event/linker.lf;/opt/esp-idf-5.0/components/esp_gdbstub/linker.lf;/opt/esp-idf-5.0/components/lwip/linker.lf;/opt/esp-idf-5.0/components/esp_netif/linker.lf;/opt/esp-idf-5.0/components/esp_wifi/linker.lf;/opt/esp-idf-5.0/components/esp_phy/linker.lf;/opt/esp-idf-5.0/components/espcoredump/linker.lf" --input /opt/esp-idf-5.0/components/esp_system/ld/esp32/sections.ld.in --output /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/esp-idf/esp_system/ld/sections.ld --kconfig /opt/esp-idf-5.0/Kconfig --env-file /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/config.env --libraries-file /home/michael/esp-dev/Sming/Sming/out/Esp32/esp32/debug/build/esp32/sdk/ldgen_libraries --objdump /opt/esp32/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-objdump
Traceback (most recent call last):
  File "/opt/esp-idf-5.0/tools/ldgen/ldgen.py", line 16, in <module>
    from ldgen.entity import EntityDB
  File "/opt/esp-idf-5.0/tools/ldgen/ldgen/entity.py", line 12, in <module>
    from pyparsing import (Group, Literal, OneOrMore, ParseException, SkipTo, Suppress, White, Word, ZeroOrMore, alphas,
ImportError: cannot import name 'rest_of_line' from 'pyparsing' (/usr/lib/python3/dist-packages/pyparsing.py)
ninja: build stopped: subcommand failed.
make: *** [/home/michael/esp-dev/Sming/Sming/Arch/Esp32/Components/esp32/component.mk:372: checksdk] Error 1

More Information.

No response

nidefawl commented 1 year ago

I fixed it with

pip install pyparsing --upgrade
dobairoland commented 1 year ago
/usr/bin/python /opt/esp-idf-5.0/tools/ldgen/ldgen.py

Looking at the above I judge that you are not using the supported way of setting up ESP-IDF environments where a separate virtual environment is used for each ESP-IDF release. In your scenario, of course, you must manage package versions by yourself.

For the supported way of setting up the environment, our scripts ensure that pyparsing>=2.0.3,<2.4.0 is used for ESP-IDF v4.4. and pyparsing>=3.0.3,<3.1 for ESP-IDF v5.0..