marcelstoer / docker-nodemcu-build

Docker image to build NodeMCU firmware for the ESP8266 on your machine
https://hub.docker.com/r/marcelstoer/nodemcu-build/
MIT License
128 stars 63 forks source link

Build fail: No such file or directory #88

Closed NicolSpies closed 4 years ago

NicolSpies commented 4 years ago

@marcelstoer , I pulled latest nodemcu-firmware from dev and pulled latest nodemcu-build using docker pull marcelstoer/nodemcu-build. Doing a Docket build using docker run --rm -it -v c:/nodemcu:/opt/nodemcu-firmware marcelstoer/nodemcu-build build in Windows 10, I get the following failure:

... inflating: ESP8266_NONOS_SDK-e4434aa730e78c63040ace360493aef420ec267c/third_party/include/ssl/ssl_tls1.h  
 extracting: ESP8266_NONOS_SDK-e4434aa730e78c63040ace360493aef420ec267c/third_party/include/ssl/ssl_version.h  
 extracting: ESP8266_NONOS_SDK-e4434aa730e78c63040ace360493aef420ec267c/third_party/include/user_config.h  
mv: cannot move '/opt/nodemcu-firmware/sdk//ESP8266_NONOS_SDK-e4434aa730e78c63040ace360493aef420ec267c' to '/opt/nodemcu-firmware/sd
k//esp_iot_sdk_v3.0-e4434aa': No such file or directory
Makefile:320: recipe for target '/opt/nodemcu-firmware/sdk/.extracted-3.0-e4434aa' failed
make: *** [/opt/nodemcu-firmware/sdk/.extracted-3.0-e4434aa] Error 1
make: Leaving directory '/opt/nodemcu-firmware'

This error started occurring after the latest nodemcu-build was pulled.

NicolSpies commented 4 years ago

Fixed, the failure related to Windows 10 Docker Desktop. Updating to the latest version solved the problem.