nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.62k stars 3.12k forks source link

MacOS Build Error when LFS is activated in the configuration #3604

Open ThomasKaemmerer opened 1 year ago

ThomasKaemmerer commented 1 year ago

Expected behavior

Successful FirmWare Build ;-)

Actual behavior

Build Process of the FirmWare aborts when Embed LFS as part of the NodeMCU firmware is selected in 'NodeMCU platform config'.

Test code

No lua code because FirmWare build problem

Output of the build process

…
[  1%] Generating ../../lua.flash.store.reserved
Partition table binary generated. Contents:
truncate: illegal option -- -
usage: truncate [-c] -s [+|-|%|/]size[K|k|M|m|G|g|T|t] file ...
       truncate [-c] -r rfile file ...
make[4]: *** [lua.flash.store.reserved] Error 1
make[3]: *** [esp-idf/embedded_lfs/CMakeFiles/reserved_lfs.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
…

Hardware

No HW problem of the target. Build environment: current head of the repository on MacOS Ventura 13.4.1