Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build fails (after including ESP ??) #1422

Open
MaxineMuster opened this issue Nov 9, 2024 · 2 comments
Open

docker build fails (after including ESP ??) #1422

MaxineMuster opened this issue Nov 9, 2024 · 2 comments

Comments

@MaxineMuster
Copy link
Contributor

Describe the bug
cloning repository and then running a docker build fails.

First error:

Cloning into '/OpenBK7231T_App/sdk/esp-idf/components/protobuf-c/protobuf-c'...
Cloning into '/OpenBK7231T_App/sdk/esp-idf/components/spiffs/spiffs'...
Cloning into '/OpenBK7231T_App/sdk/esp-idf/components/unity/unity'...
Submodule path 'sdk/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out 'fe8ed90abc356347378eb25e2586e90df7be015a'
Submodule path 'sdk/esp-idf/components/bt/controller/lib_esp32': checked out '5c4a62c1d4577d1352d28708c790ba2b4f741842'
fatal: Needed a single revision
Unable to find current origin/master revision in submodule path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib'
Failed to recurse into submodule path 'sdk/esp-idf'
make[1]: *** [Makefile:34: submodules] Error 1
make[1]: Leaving directory '/OpenBK7231T_App'
make: *** [Makefile:137: OpenBK7231T] Error 2

****************************************

Please see complete log in attachment

To Reproduce
Steps to reproduce the behavior:

  1. clone repository
  2. change to OpenBK7231T_App/docker dir
  3. call build: docker run -it -v "$(pwd)/..":/OpenBK7231T_App openbk_build

Full log:
OBK_docker_fails.txt

@NonPIayerCharacter
Copy link
Contributor

For me, build succeeded after i removed --remote from git update submodules in makefile

@MaxineMuster
Copy link
Contributor Author

Sorry for my late reply

Adding/Building for an ESP target doesn't help, neither

`docker run -it --env TARGET_SDKS="OpenESP32S2"  -v "$(pwd)/..":/OpenBK7231T_App  openbk_build`

did work nor

adding `"OpenESPS2"` to` docker/build_target_platforms.sh`

helped.

But:

removing `--remote ` did the trick!

Thanks, this really helps a lot, I'm able to build on my own again and am no longer dependent on "online-builds" for every small change!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants