Boost logo

Boost-Build :

Subject: Re: [Boost-build] Unable to checkout libs/context submodule from Boost git repo
From: laurent.chauvin.2_at_[hidden]
Date: 2017-06-07 16:53:51


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 [boost-build-bounces_at_[hidden]] on behalf of Daniel James via Boost-build [boost-build_at_[hidden]] 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 <boost-build_at_[hidden]> 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


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk