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

Cloning of open62541 fails when trying to access cmake-conan via ssh #273

Closed
ernstblechaPT opened this issue Dec 19, 2024 · 4 comments
Closed

Comments

@ernstblechaPT
Copy link

In my build process I try to clone the open62541-repository with all the submodules resolved on a Gitlab-Runner. Until this change

url = [email protected]:conan-io/cmake-conan.git

this worked.

After this change my clone fails with the following error:

Cloning into '/builds/test/open62541/deps/nodesetLoader/cmake-conan'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '[email protected]:conan-io/cmake-conan.git' into submodule path '/builds/test/open62541/deps/nodesetLoader/cmake-conan' failed
Failed to clone 'cmake-conan'. Retry scheduled
Cloning into '/builds/test/open62541/deps/nodesetLoader/cmake-conan'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '[email protected]:conan-io/cmake-conan.git' into submodule path '/builds/test/open62541/deps/nodesetLoader/cmake-conan' failed
Failed to clone 'cmake-conan' a second time, aborting
fatal: Failed to recurse into submodule path 'open62541/deps/nodesetLoader'

I am aware that the better solution would be to get the gitlab runner docker image fixed - but still wanted to ask if there is a specific reason to have this dependency listed with the ssh-url or if this could be changed to a https url (as all other submodules are listed with the https-url)?

Thank you for your answer

@matkonnerth
Copy link
Collaborator

should be no problem to switch to https: #274

@matkonnerth
Copy link
Collaborator

merged it to master, please try again

@ernstblechaPT
Copy link
Author

Thank you for the quick solution! Works again

@matkonnerth
Copy link
Collaborator

thanks for testing, don't hesitate to propose PRs if something isn't working as expected.

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