Closed iizotov closed 7 years ago
Same problem here! git submodule update --init --recursive fails also: ... fatal: reference is not a tree: ee279c8b72d64d9ee8ca917ce00c17e0b522461d Unable to checkout '037e318716e37eba358424380659dd1cd6d0554e' in submodule path 'deps/umqtt/c-utility/testtools/umock-c/deps/ctest' Unable to checkout 'ee279c8b72d64d9ee8ca917ce00c17e0b522461d' in submodule path 'deps/umqtt/c-utility/testtools/umock-c/deps/testrunner' Unable to checkout '037e318716e37eba358424380659dd1cd6d0554e' in submodule path 'deps/umqtt/c-utility/testtools/ctest' Unable to checkout 'ee279c8b72d64d9ee8ca917ce00c17e0b522461d' in submodule path 'deps/umqtt/c-utility/testtools/testrunner' Failed to recurse into submodule path 'deps/umqtt/c-utility/testtools/umock-c' Failed to recurse into submodule path 'deps/umqtt/c-utility' Failed to recurse into submodule path 'deps/c-utility' Unable to checkout '037e318716e37eba358424380659dd1cd6d0554e' in submodule path 'deps/ctest' Failed to recurse into submodule path 'deps/iot-sdk-c' Unable to checkout 'ee279c8b72d64d9ee8ca917ce00c17e0b522461d' in submodule path 'deps/testrunner' Failed to recurse into submodule path 'deps/uamqp' Failed to recurse into submodule path 'deps/umock-c' Failed to recurse into submodule path 'deps/umqtt'
A bug similar to this is reported on iot-sdk-c (https://github.com/Azure/azure-iot-sdk-c/issues/250).
It looks like the commit used in the release tag was on a branch, and the branch was removed. I pushed up a branch which contains the commit we use, and I think that put a band aid on the problem. Please let me know if you're able to build now.
I'm predicting we'll have to pull the latest C Devices SDK release for a long term solution.
ETA: I think this was also a problem on the "testrunner" submodule. I did the same for this repo. Same long term solution.... we've confirmed that the next SDK release will link to a commit on master.
Now it is showing unable to checkout deps/unmock-c.
fatal: reference is not a tree: f41aa23712d82a27998d6918d3533d150e636ae8 Unable to checkout 'f41aa23712d82a27998d6918d3533d150e636ae8' in submodule path 'deps/umock-c' CMake Error at gatewayFunctions.cmake:122 (message): Error pulling submodules: 1 Call Stack (most recent call first): dependencies-test.cmake:19 (findAndInstall) CMakeLists.txt:207 (include)
OK, so I did the same band aid for umock-c, and I did a fresh clone to check to see I could successfully initialize all the submodules, and was successful.
It should be back to normal for now. long term solution is still the same.
Hi all,
Build is failing with the following error:
Similar git errors with recursive cloning: