BitShares Forum

Main => General Discussion => Topic started by: theoretical on November 10, 2014, 10:13:38 pm

Title: "Unable to checkout...in submodule path libraries/fc" doing git submodule update
Post by: theoretical on November 10, 2014, 10:13:38 pm

For those of us who build from source, using git as intended to update old directories instead of cloning afresh each time, you may be getting this error message:

Code: [Select]
Unable to checkout '27ac054883f1ddfd2853e2439209171f3abe6853' in submodule path 'libraries/fc'

The reason is that the URL for the FC library has been updated from https://github.com/InvictusInnovations/fc to https://github.com/bitshares/fc

The .gitmodules should take care of fresh clones, but older clones may have to manually update the URL as follows:

Code: [Select]
cd libraries/fc
git remote set-url origin https://github.com/bitshares/fc.git
cd ../..
git submodule update
Title: Re: "Unable to checkout...in submodule path libraries/fc" doing git submodule update
Post by: xeroc on November 11, 2014, 08:44:33 am
or, alternatively .. checkout from skretch :)
Title: Re: "Unable to checkout...in submodule path libraries/fc" doing git submodule update
Post by: vikram on November 11, 2014, 04:42:56 pm
You may be able to do
Code: [Select]
git submodule deinit .
I will add a note about this in the final release notes.
Title: Re: "Unable to checkout...in submodule path libraries/fc" doing git submodule update
Post by: Riverhead on November 11, 2014, 04:46:32 pm
Also, check out "bitshares" and not "v0.0.24-RC2"