-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fetching boost submodule as dep fails with object not found #76
Comments
Thank you for the very great and detailed report. ❤️ |
IMHO the GitHub notation is a bit misleading. Actually, it's true that the commit does not belong to an existing branch, but since it still belongs to a tag, the commit is still available in the repo and thus a valid reference.
|
Tried boost 1.80.0:
|
Works with boost 1.83.0 (at least for now until branches get deleted again 😨 ) |
Thanks for this thorough analysis, yes indeed you are right it's incorrect from tipi's client, and the commit-id fetching of tagged only commit is the issue. I'll double check with the maintainer of this part to see if it's well understood and point him to this thread to be sure.
Regarding the crash on boost-1.80.0, we have many occurences of it and are not failing on the checkout, I think you are hit by another bug we have an incoming bugfix for ( internal id nxxm/nxxm-src#1196 ). It happens that the version released of tipi you are using doesn't cleans up failed submodule cloning state, so I suspect that you have been hit by this as well. Essentially if you are hit again by this problem (which happens on any crash/abort/CTRL-C during submodules cloning), in the current version released you can work the bug around by deleting the folders : |
EDIT: I'll double check with the maintainer of this part to see if it's well understood and point him to this thread to be sure that we actually ship the right bugfix. |
Indeed, deleting the folders you mentioned made boost-1.80.0 work as well. Thanks for the hint ! |
I am trying to build a project locally that has a dependency on boost. While fetching the boost dependency, tipi runs into an exception claiming that the corresponding SHA1 of the submodule could not be found.
Cloning and initialising the boost repo outside of tipi works and the SHA1 exists.
Repro available here:
https://github.com/pziggo/vsomeip/tree/5a28c2dc59a15232a9e4b38be0a11fe447d44058
tipi version:
v0.0.55
.tipi/deps
:tipi command:
tipi -t linux-cxx17 .
The text was updated successfully, but these errors were encountered: