- My goal is: To compile a FW with the latest branch of Mongoose OS with ESP IDF 4.4 support
- My actions are: mos update latest, mos build --local --clean
- The result I see is:
–user 1000:1000 docker.io/mgos/esp32-build:4.4.1-r1 /bin/bash -c nice make ‘-j’ ‘4’ ‘-C’ ‘/app/fw/examples/c_mqtt’ ‘-f’ ‘/home/dev/todo/esp/mongoose-os/fw/examples/c_mqtt/deps/modules/mongoose-os/platforms/esp32/Makefile.build’ ‘all’ ‘MGOS_VARS_FILE=/home/dev/todo/esp/mongoose-os/fw/examples/c_mqtt/build/gen/vars.mk’
make: Entering directory ‘/app/fw/examples/c_mqtt’
/home/dev/todo/esp/mongoose-os/fw/examples/c_mqtt/deps/modules/mongoose-os/platforms/esp32/Makefile.build:202: warning: overriding recipe for target ‘defconfig’
/opt/Espressif/esp-idf/make/project_config.mk:159: warning: ignoring old recipe for target ‘defconfig’
/home/dev/todo/esp/mongoose-os/fw/examples/c_mqtt/deps/modules/mongoose-os/platforms/esp32/Makefile.build:202: warning: overriding recipe for target ‘menuconfig’
/opt/Espressif/esp-idf/make/project_config.mk:142: warning: ignoring old recipe for target ‘menuconfig’
make: /bin/sh: Operation not permitted
make: python: Operation not permitted
make: python: Operation not permitted
make: mkdir: Operation not permitted
make: *** No rule to make target ‘check_python_dependencies’, needed by ‘all’. Stop.
make: Leaving directory ‘/app/fw/examples/c_mqtt’
Error: exit status 2
/src/cli/build_local.go:692:
/src/cli/build_local.go:679:
/src/cli/build_local.go:444:
/src/cli/build.go:278:
/src/cli/build.go:221:
/src/cli/main.go:194: build failed
- My expectation & question is:
The build should be handled in the docker which is actually handled by mongoose, why does it fail to compile?