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

"make all" creates "fatal error" with "submodule 'ocrd_fileformat'" (but goes on...) #381

Open
stefanCCS opened this issue Jun 23, 2023 · 2 comments

Comments

@stefanCCS
Copy link

I just have tried to setup a new ocrd_all using Release 2023-06-14 (maybe plus some additional changes as of today).
I do a native setup on non-GPU environment (Ubuntu 22.04. using Python 3.8 via "deadsnakes").

With make all I get this error, but the make itself runs further until end successfully:

Synchronizing submodule url for 'ocrd_fileformat/repo/ocr-fileformat/vendor/page-to-alto/repo/page-alto-resources'
Synchronizing submodule url for 'ocrd_fileformat/repo/ocr-fileformat/vendor/xsd-validator'
if git submodule status --recursive ocrd_fileformat | grep -qv '^ '; then \
        sem -q --will-cite --fg --id ocrd_all_git git submodule update --init --recursive  ocrd_fileformat && \
        touch ocrd_fileformat; fi
fatal: failed to recurse into submodule 'ocrd_fileformat'
Submodule path 'ocrd_fileformat': checked out '4e7e0de68e2a0dcd9b238f64d1657beda0d74da7'
Submodule path 'ocrd_fileformat/repo/ocr-fileformat': checked out 'f550411669a7c807800d2e9f5649e10871c7f172'
Submodule path 'ocrd_fileformat/repo/ocr-fileformat/vendor/textract2page': checked out '0a1f2b78760237e4fba3298b873fc33c905929b1'
Submodule 'vendor/textract2page' (https://github.com/slub/textract2page.git) registered for path 'ocrd_fileformat/repo/ocr-fileformat/vendor/textract2page'
Cloning into '/home/ocrdadmin/ocrd_all/ocrd_fileformat/repo/ocr-fileformat/vendor/textract2page'...
sem -q --will-cite --fg --id ocrd_all_git git submodule sync  ocrd_im6convert

--> is this "fatal" error "harmful" ?

@bertsky
Copy link
Collaborator

bertsky commented Jun 23, 2023

Yes, I have seen this as well. I am also puzzled why despite the fatal qualifier, it does go on to update recursively.

@stweil
Copy link
Collaborator

stweil commented May 23, 2024

I don't see this in any of my builds from the last two years. Strange.

Please try running git submodule status --recursive ocrd_fileformat and git submodule update --init --recursive ocrd_fileformat manually. Which of both commands fails?

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

3 participants