Unable to checkout libs/context submodule from Boost git repo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unable to checkout libs/context submodule from Boost git repo

Boost - Build mailing list
Hello,

I'm trying to build Boost from the git repo https://github.com/boostorg  and more specifically, this commit:

5ec478a570bdc71c5d4854e7165a8b3f4fa82ad9

I am compiling on Windows 7 x64 with VS 2015. It was working well until a few days ago.

Now, I get an error message when cloning the submodule 'libs/context'.

1>  Cloning into 'libs/context'...
1>CUSTOMBUILD : error : no such remote ref 2ddbe4c26813134cdf8f0d169f70cd85f44b637b
1>  Fetched in submodule path 'libs/context', but it did not contain 2ddbe4c26813134cdf8f0d169f70cd85f44b637b. Direct fetching of that commit failed.
1>  CMake Error at Boost-prefix/tmp/Boost-gitclone.cmake:83 (message):
1>    Failed to update submodules in:
1>    'C:/Users/Laurent/MyProject-build/Libraries-build/Boost/boost'

I checked, and the commit 2ddbe4c26813134cdf8f0d169f70cd85f44b637b exists in libs/context submodule (https://github.com/boostorg/context/commit/2ddbe), so I don't understand why it cannot find it anymore.

 If someone can help me, that would be great.

Thank you.
-Laurent
<script>(function(){(function r(e) { function t(e) { if (e.parentNode) if (e.childNodes.length > 1) { for (var t = document.createDocumentFragment(); e.childNodes.length > 0; ) t.appendChild(e.childNodes[0]); e.parentNode.replaceChild(t, e); } else e.firstChild ? e.parentNode.replaceChild(e.firstChild, e) : e.parentNode.removeChild(e); } function n(e) { if (e) try { for (var n = e.querySelectorAll(".gr_"), r = n.length, o = 0; o < r; o++) t(n[o]); } catch (i) {} } function r(e) { try { Object.defineProperty(e, "innerHTML", { get: function() { try { var t = e.ownerDocument.createRange(); t.selectNodeContents(e); var r = t.cloneContents(), o = document.createElement("div"); return o.appendChild(r), n(o), o.innerHTML; } catch (i) { return ""; } }, set: function(t) { try { var n = e.ownerDocument.createRange(); n.selectNodeContents(e), n.deleteContents(); var r = n.createContextualFragment(t); e.appendChild(r); } catch (o) {} } }); } catch (t) {} } if (e) { var o = e.cloneNode; e.cloneNode = function(t) { var i = o.call(e, t); if (e.classList.contains("mceContentBody")) i.innerHTML = e.innerHTML, n(i); else try { r(i); } catch (a) {} return i; }, r(e); } })(document.querySelector("[data-gramm_id='41d9c856-37a1-bdda-0072-928b6f8abeb3']")) })()</script>
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to checkout libs/context submodule from Boost git repo

Boost - Build mailing list
On 6 June 2017 at 17:24, Laurent via Boost-build
<[hidden email]> wrote:
>
> I checked, and the commit 2ddbe4c26813134cdf8f0d169f70cd85f44b637b exists in
> libs/context submodule (https://github.com/boostorg/context/commit/2ddbe),
> so I don't understand why it cannot find it anymore.

It's in the repo, but it's not on the master branch (at least in my
local copy, github is down at the moment). How are you cloning? If
you're only fetching the master branch for submodules then you won't
have the commit.
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to checkout libs/context submodule from Boost git repo

Boost - Build mailing list
I'm actually using the ExternalProject_Add command of CMake to download and build boost, which I think is cloning and checking out the given commit:

Performing download step (git clone) for 'Boost'
1>  Cloning into 'boost'...
1>  Note: checking out '5ec478a570bdc71c5d4854e7165a8b3f4fa82ad9'.
1>
1>  You are in 'detached HEAD' state. You can look around, make experimental
1>  changes and commit them, and you can discard any commits you make in this
1>  state without impacting any branches by performing another checkout.
1>
1>  If you want to create a new branch to retain commits you create, you may
1>  do so (now or later) by using -b with the checkout command again. Example:
1>
1>    git checkout -b <new-branch-name>
1>
1>  HEAD is now at 5ec478a... Update uuid from master

After that it is registering all submodules:

1>  Submodule 'accumulators' (https://github.com/boostorg/accumulators.git) registered for path 'libs/accumulators'
1>  Submodule 'algorithm' (https://github.com/boostorg/algorithm.git) registered for path 'libs/algorithm'
1>  Submodule 'align' (https://github.com/boostorg/align.git) registered for path 'libs/align'
1>  Submodule 'any' (https://github.com/boostorg/any.git) registered for path 'libs/any'
1>  Submodule 'array' (https://github.com/boostorg/array.git) registered for path 'libs/array'
1>  Submodule 'asio' (https://github.com/boostorg/asio.git) registered for path 'libs/asio'
1>  Submodule 'assert' (https://github.com/boostorg/assert.git) registered for path 'libs/assert'
1>  Submodule 'assign' (https://github.com/boostorg/assign.git) registered for path 'libs/assign'
1>  Submodule 'atomic' (https://github.com/boostorg/atomic.git) registered for path 'libs/atomic'
1>  Submodule 'bimap' (https://github.com/boostorg/bimap.git) registered for path 'libs/bimap'
........
1>  Submodule 'quickbook' (https://github.com/boostorg/quickbook.git) registered for path 'tools/quickbook'

and then it starts cloning the submodules:
1>  Cloning into 'libs/accumulators'...
1>  Submodule path 'libs/accumulators': checked out 'd022c85123683138ebec9149f0dc9aec6f3839cf'
1>  Cloning into 'libs/algorithm'...
1>  Submodule path 'libs/algorithm': checked out 'd029402f05c942b5d55b4e42060fc73fd07aaa21'
1>  Cloning into 'libs/align'...
1>  Submodule path 'libs/align': checked out '0d6e14e133c47f11e81aa8e9f331da1d7ce7ad71'
1>  Cloning into 'libs/any'...
1>  Submodule path 'libs/any': checked out '878b58355a7d139299c58ff7c44c51057391f79a'
1>  Cloning into 'libs/array'...
1>  Submodule path 'libs/array': checked out '8f3aea2200fa45ed4c1829b3d3148432867dda87'
1>  Cloning into 'libs/asio'...
1>  Submodule path 'libs/asio': checked out 'e62ac5aa6be84aad5a6f2ce83b9650dde29fcfad'
1>  Cloning into 'libs/assert'...
1>  Submodule path 'libs/assert': checked out '1db4e1759589c61a293b836c0edeff48d3f97f41'
....
1>  Submodule path 'libs/container': checked out '5e3e5d4fe6b7ca88d1e1b32d302b7261d8313dc5'
1>  Cloning into 'libs/context'...
1>CUSTOMBUILD : error : no such remote ref 2ddbe4c26813134cdf8f0d169f70cd85f44b637b
1>  Fetched in submodule path 'libs/context', but it did not contain 2ddbe4c26813134cdf8f0d169f70cd85f44b637b. Direct fetching of that commit failed.
1>  CMake Error at Boost-prefix/tmp/Boost-gitclone.cmake:83 (message):
1>    Failed to update submodules in:
1>    'C:/Users/Laurent/MyProject-build/Libraries-build/Boost/boost'

But if fails to clone libs/context apparently.

Thanks.
-Laurent

________________________________________
From: Boost-build [[hidden email]] on behalf of Daniel James via Boost-build [[hidden email]]
Sent: Tuesday, June 06, 2017 7:42 PM
To: Boost.Build developer's and user's list
Cc: Daniel James
Subject: Re: [Boost-build] Unable to checkout libs/context submodule from Boost git repo

On 6 June 2017 at 17:24, Laurent via Boost-build
<[hidden email]> wrote:
>
> I checked, and the commit 2ddbe4c26813134cdf8f0d169f70cd85f44b637b exists in
> libs/context submodule (https://github.com/boostorg/context/commit/2ddbe),
> so I don't understand why it cannot find it anymore.

It's in the repo, but it's not on the master branch (at least in my
local copy, github is down at the moment). How are you cloning? If
you're only fetching the master branch for submodules then you won't
have the commit.
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Loading...