Skip to content

Fetching boost submodule as dep fails with object not found #76

@pziggo

Description

@pziggo

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.

[...]
Initializing submodule context
⣻ Indexing - 100.00% (objects: 7645 of 7645 / deltas: 4872 of 4872)
⏳ done.          
● [err] Dynamic exception type: std::runtime_error
std::exception::what: Error updating and cloning submodule: context [-3] - object not found - no match for id (dbe0b27303c2a834b87ef67ac07e6a8e22f7ad8e)

● [err] Something went wrong, for help on your issue, we would enjoy getting your report at https://tipi.build/#contact

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:

{
    "u" : true,
    "boostorg/boost": { "@" : "boost-1.82.0", "u" : true }
}

tipi command: tipi -t linux-cxx17 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions