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

bug: doesnt build #179

Open
fixerivan opened this issue Nov 19, 2023 · 2 comments
Open

bug: doesnt build #179

fixerivan opened this issue Nov 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@fixerivan
Copy link

Describe the bug

git submodule update --init --recursive
Submodule 'extern/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'extern/pybind11'
Submodule 'extern/whispercpp' (https://github.com/ggerganov/whisper.cpp.git) registered for path 'extern/whispercpp'
Cloning into '/home/ivan/whispercpp/extern/pybind11'...
Cloning into '/home/ivan/whispercpp/extern/whispercpp'...
Submodule path 'extern/pybind11': checked out 'dc9b39596d986aeb061bd3debe52d30e2467dc48'
Submodule path 'extern/whispercpp': checked out 'bebf0da983632f47c8dff5cae5a578992c31ff26'
Submodule 'bindings/ios' (https://github.com/ggerganov/whisper.spm) registered for path 'extern/whispercpp/bindings/ios'
Cloning into '/home/ivan/whispercpp/extern/whispercpp/bindings/ios'...
fatal: remote error: upload-pack: not our ref c9d5095f0c64455b201f1cd0b547efcf093ee7c3
fatal: Fetched in submodule path 'extern/whispercpp/bindings/ios', but it did not contain c9d5095f0c64455b201f1cd0b547efcf093ee7c3. Direct fetching of that commit failed.
fatal:
fatal: Failed to recurse into submodule path 'extern/whispercpp'

To reproduce

git clone

git submodule update --init --recursive

Submodule 'extern/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'extern/pybind11'
Submodule 'extern/whispercpp' (https://github.com/ggerganov/whisper.cpp.git) registered for path 'extern/whispercpp'
Cloning into '/home/ivan/whispercpp/extern/pybind11'...
Cloning into '/home/ivan/whispercpp/extern/whispercpp'...
Submodule path 'extern/pybind11': checked out 'dc9b39596d986aeb061bd3debe52d30e2467dc48'
Submodule path 'extern/whispercpp': checked out 'bebf0da983632f47c8dff5cae5a578992c31ff26'
Submodule 'bindings/ios' (https://github.com/ggerganov/whisper.spm) registered for path 'extern/whispercpp/bindings/ios'
Cloning into '/home/ivan/whispercpp/extern/whispercpp/bindings/ios'...
fatal: remote error: upload-pack: not our ref c9d5095f0c64455b201f1cd0b547efcf093ee7c3
fatal: Fetched in submodule path 'extern/whispercpp/bindings/ios', but it did not contain c9d5095f0c64455b201f1cd0b547efcf093ee7c3. Direct fetching of that commit failed.
fatal:
fatal: Failed to recurse into submodule path 'extern/whispercpp'

Expected behavior

build

Environment

Python 3.10.12
Ubuntu 22.04.3 LTS

@fixerivan fixerivan added the bug Something isn't working label Nov 19, 2023
@kornpow
Copy link

kornpow commented Nov 21, 2023

I had to fork it and update the submodules again and it worked

@chrisspen
Copy link

Could you post the commands you used to fix this? Even if I fork and update my submodules, I still get the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants