question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Infinite loop on building with eclipse (IEP-115)

See original GitHub issue

I got an infinite loop while trying to build with eclipse. On console everything works as expected.

cmake --build . -- -v
CMake Error: The current CMakeCache.txt directory /home/sven/workspace/Water Me/build/CMakeCache.txt is different than the directory /home/sven/workspace/esp/water-me/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
[0/1] /usr/bin/cmake -H/home/sven/workspace/esp/water-me -B/home/sven/workspace/esp/water-me/build
-- Component directory /home/sven/workspace/esp/esp-idf/components/aws_iot does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/sven/workspace/esp/esp-idf/components/micro-ecc does not contain a CMakeLists.txt file. No component will be added
/usr/lib/git-core/git-submodule: 7: /usr/lib/git-core/git-submodule: basename: not found
/usr/lib/git-core/git-submodule: 7: /usr/lib/git-core/git-submodule: sed: not found
/usr/lib/git-core/git-submodule: 86: /usr/lib/git-core/git-sh-setup: basename: not found
/usr/lib/git-core/git-submodule: 86: /usr/lib/git-core/git-sh-setup: sed: not found
/usr/lib/git-core/git-submodule: 332: /usr/lib/git-core/git-sh-setup: uname: not found
-- Project version: 684fab7-dirty
-- Building ESP-IDF components for target esp32
-- Adding linker script /home/sven/workspace/esp/water-me/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt coap console cxx driver efuse esp-tls esp32 esp32-wifi-manager esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_http_client esp_http_server esp_https_ota esp_https_server esp_local_ctrl esp_ringbuf esp_rom esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mkspiffs mqtt newlib nghttp nvs_flash openssl partition_table protobuf-c protocomm pthread sdmmc soc spi_flash spidriver spiffs spiffs_image tcp_transport tcpip_adapter tft ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/sven/workspace/esp/esp-idf/components/app_trace /home/sven/workspace/esp/esp-idf/components/app_update /home/sven/workspace/esp/esp-idf/components/asio /home/sven/workspace/esp/esp-idf/components/bootloader /home/sven/workspace/esp/esp-idf/components/bootloader_support /home/sven/workspace/esp/esp-idf/components/bt /home/sven/workspace/esp/esp-idf/components/coap /home/sven/workspace/esp/esp-idf/components/console /home/sven/workspace/esp/esp-idf/components/cxx /home/sven/workspace/esp/esp-idf/components/driver /home/sven/workspace/esp/esp-idf/components/efuse /home/sven/workspace/esp/esp-idf/components/esp-tls /home/sven/workspace/esp/esp-idf/components/esp32 /home/sven/workspace/esp/water-me/components/esp32-wifi-manager /home/sven/workspace/esp/esp-idf/components/esp_adc_cal /home/sven/workspace/esp/esp-idf/components/esp_common /home/sven/workspace/esp/esp-idf/components/esp_eth /home/sven/workspace/esp/esp-idf/components/esp_event /home/sven/workspace/esp/esp-idf/components/esp_gdbstub /home/sven/workspace/esp/esp-idf/components/esp_http_client /home/sven/workspace/esp/esp-idf/components/esp_http_server /home/sven/workspace/esp/esp-idf/components/esp_https_ota /home/sven/workspace/esp/esp-idf/components/esp_https_server /home/sven/workspace/esp/esp-idf/components/esp_local_ctrl /home/sven/workspace/esp/esp-idf/components/esp_ringbuf /home/sven/workspace/esp/esp-idf/components/esp_rom /home/sven/workspace/esp/esp-idf/components/esp_websocket_client /home/sven/workspace/esp/esp-idf/components/esp_wifi /home/sven/workspace/esp/esp-idf/components/espcoredump /home/sven/workspace/esp/esp-idf/components/esptool_py /home/sven/workspace/esp/esp-idf/components/expat /home/sven/workspace/esp/esp-idf/components/fatfs /home/sven/workspace/esp/esp-idf/components/freemodbus /home/sven/workspace/esp/esp-idf/components/freertos /home/sven/workspace/esp/esp-idf/components/heap /home/sven/workspace/esp/esp-idf/components/idf_test /home/sven/workspace/esp/esp-idf/components/jsmn /home/sven/workspace/esp/esp-idf/components/json /home/sven/workspace/esp/esp-idf/components/libsodium /home/sven/workspace/esp/esp-idf/components/log /home/sven/workspace/esp/esp-idf/components/lwip /home/sven/workspace/esp/water-me/main /home/sven/workspace/esp/esp-idf/components/mbedtls /home/sven/workspace/esp/esp-idf/components/mdns /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/mkspiffs /home/sven/workspace/esp/esp-idf/components/mqtt /home/sven/workspace/esp/esp-idf/components/newlib /home/sven/workspace/esp/esp-idf/components/nghttp /home/sven/workspace/esp/esp-idf/components/nvs_flash /home/sven/workspace/esp/esp-idf/components/openssl /home/sven/workspace/esp/esp-idf/components/partition_table /home/sven/workspace/esp/esp-idf/components/protobuf-c /home/sven/workspace/esp/esp-idf/components/protocomm /home/sven/workspace/esp/esp-idf/components/pthread /home/sven/workspace/esp/esp-idf/components/sdmmc /home/sven/workspace/esp/esp-idf/components/soc /home/sven/workspace/esp/esp-idf/components/spi_flash /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/spidriver /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/spiffs /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/spiffs_image /home/sven/workspace/esp/esp-idf/components/tcp_transport /home/sven/workspace/esp/esp-idf/components/tcpip_adapter /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/tft /home/sven/workspace/esp/esp-idf/components/ulp /home/sven/workspace/esp/esp-idf/components/unity /home/sven/workspace/esp/esp-idf/components/vfs /home/sven/workspace/esp/esp-idf/components/wear_levelling /home/sven/workspace/esp/esp-idf/components/wifi_provisioning /home/sven/workspace/esp/esp-idf/components/wpa_supplicant /home/sven/workspace/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sven/workspace/esp/water-me/build
[0/1] /usr/bin/cmake -H/home/sven/workspace/esp/water-me -B/home/sven/workspace/esp/water-me/build
-- Component directory /home/sven/workspace/esp/esp-idf/components/aws_iot does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/sven/workspace/esp/esp-idf/components/micro-ecc does not contain a CMakeLists.txt file. No component will be added
/usr/lib/git-core/git-submodule: 7: /usr/lib/git-core/git-submodule: basename: not found
/usr/lib/git-core/git-submodule: 7: /usr/lib/git-core/git-submodule: sed: not found
/usr/lib/git-core/git-submodule: 86: /usr/lib/git-core/git-sh-setup: basename: not found
/usr/lib/git-core/git-submodule: 86: /usr/lib/git-core/git-sh-setup: sed: not found
/usr/lib/git-core/git-submodule: 332: /usr/lib/git-core/git-sh-setup: uname: not found
-- Project version: 684fab7-dirty
-- Building ESP-IDF components for target esp32
-- Adding linker script /home/sven/workspace/esp/water-me/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp32/ld/esp32.project.ld.in
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/sven/workspace/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt coap console cxx driver efuse esp-tls esp32 esp32-wifi-manager esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_http_client esp_http_server esp_https_ota esp_https_server esp_local_ctrl esp_ringbuf esp_rom esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mkspiffs mqtt newlib nghttp nvs_flash openssl partition_table protobuf-c protocomm pthread sdmmc soc spi_flash spidriver spiffs spiffs_image tcp_transport tcpip_adapter tft ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/sven/workspace/esp/esp-idf/components/app_trace /home/sven/workspace/esp/esp-idf/components/app_update /home/sven/workspace/esp/esp-idf/components/asio /home/sven/workspace/esp/esp-idf/components/bootloader /home/sven/workspace/esp/esp-idf/components/bootloader_support /home/sven/workspace/esp/esp-idf/components/bt /home/sven/workspace/esp/esp-idf/components/coap /home/sven/workspace/esp/esp-idf/components/console /home/sven/workspace/esp/esp-idf/components/cxx /home/sven/workspace/esp/esp-idf/components/driver /home/sven/workspace/esp/esp-idf/components/efuse /home/sven/workspace/esp/esp-idf/components/esp-tls /home/sven/workspace/esp/esp-idf/components/esp32 /home/sven/workspace/esp/water-me/components/esp32-wifi-manager /home/sven/workspace/esp/esp-idf/components/esp_adc_cal /home/sven/workspace/esp/esp-idf/components/esp_common /home/sven/workspace/esp/esp-idf/components/esp_eth /home/sven/workspace/esp/esp-idf/components/esp_event /home/sven/workspace/esp/esp-idf/components/esp_gdbstub /home/sven/workspace/esp/esp-idf/components/esp_http_client /home/sven/workspace/esp/esp-idf/components/esp_http_server /home/sven/workspace/esp/esp-idf/components/esp_https_ota /home/sven/workspace/esp/esp-idf/components/esp_https_server /home/sven/workspace/esp/esp-idf/components/esp_local_ctrl /home/sven/workspace/esp/esp-idf/components/esp_ringbuf /home/sven/workspace/esp/esp-idf/components/esp_rom /home/sven/workspace/esp/esp-idf/components/esp_websocket_client /home/sven/workspace/esp/esp-idf/components/esp_wifi /home/sven/workspace/esp/esp-idf/components/espcoredump /home/sven/workspace/esp/esp-idf/components/esptool_py /home/sven/workspace/esp/esp-idf/components/expat /home/sven/workspace/esp/esp-idf/components/fatfs /home/sven/workspace/esp/esp-idf/components/freemodbus /home/sven/workspace/esp/esp-idf/components/freertos /home/sven/workspace/esp/esp-idf/components/heap /home/sven/workspace/esp/esp-idf/components/idf_test /home/sven/workspace/esp/esp-idf/components/jsmn /home/sven/workspace/esp/esp-idf/components/json /home/sven/workspace/esp/esp-idf/components/libsodium /home/sven/workspace/esp/esp-idf/components/log /home/sven/workspace/esp/esp-idf/components/lwip /home/sven/workspace/esp/water-me/main /home/sven/workspace/esp/esp-idf/components/mbedtls /home/sven/workspace/esp/esp-idf/components/mdns /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/mkspiffs /home/sven/workspace/esp/esp-idf/components/mqtt /home/sven/workspace/esp/esp-idf/components/newlib /home/sven/workspace/esp/esp-idf/components/nghttp /home/sven/workspace/esp/esp-idf/components/nvs_flash /home/sven/workspace/esp/esp-idf/components/openssl /home/sven/workspace/esp/esp-idf/components/partition_table /home/sven/workspace/esp/esp-idf/components/protobuf-c /home/sven/workspace/esp/esp-idf/components/protocomm /home/sven/workspace/esp/esp-idf/components/pthread /home/sven/workspace/esp/esp-idf/components/sdmmc /home/sven/workspace/esp/esp-idf/components/soc /home/sven/workspace/esp/esp-idf/components/spi_flash /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/spidriver /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/spiffs /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/spiffs_image /home/sven/workspace/esp/esp-idf/components/tcp_transport /home/sven/workspace/esp/esp-idf/components/tcpip_adapter /home/sven/workspace/esp/water-me/components/indirectBuild/ESP32_TFT_library/components/tft /home/sven/workspace/esp/esp-idf/components/ulp /home/sven/workspace/esp/esp-idf/components/unity /home/sven/workspace/esp/esp-idf/components/vfs /home/sven/workspace/esp/esp-idf/components/wear_levelling /home/sven/workspace/esp/esp-idf/components/wifi_provisioning /home/sven/workspace/esp/esp-idf/components/wpa_supplicant /home/sven/workspace/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sven/workspace/esp/water-me/build

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
kolipakakondalcommented, Mar 26, 2020

This seems to happen when you import an existing project(IDF Make project) which was already built on a console. Please delete the build folder before importing it into the eclipse workspace.

1reaction
rdkluijvcommented, Oct 28, 2019

Got this one as well. Killed Eclipse with the task manager. (Windows) Removed the content of the build directory in the workspace. Now it builds. Problem may be caused because it was a template build before in the CMD environment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

571734 – system:build infinite loop - Bugs - Eclipse
I import Three project. I have a persisting problem: a system: building is launched in loop and blocking any other action. It appears...
Read more >
533071 – Eclipse IDE Building Stay In a Infinite Loop - Bugs
... the Eclipse IDE is stuck doing the building of my projects, I did it indefinitely, it is an endless loop that has...
Read more >
TMF (Xtext) » Infinite build loop - Eclipse Community Forums
Sporadically I've run into the problem of a seemingly infinite loop during the build of my DSL. I save a file, the builder...
Read more >
135579 – Eclipse gets into infinite loop when loading workspace
Every once and a while a workspace becomes "corrupted" somehow. Eclipse freezes and pegs the CPU. After this happens, any attempt to start...
Read more >
336912 – Endless "building workspace" loop after opening ...
We use: - maven 2.2.1 - Eclipse Helios JEE SR1 (Build 20100917-0705) - m2clipse 0.12.1.20110112-1712 with WTP-feature 0.11.1.20101108-1810 (very ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found