building 2.10(.1) from git

Allin Cottrell cottrell@wfu.edu
Tue May 12 13:25:00 GMT 2009


Hello,

Just wanted to check that I'm doing the right thing to get the
correct 2.10 sources. The page at
http://www.gnu.org/software/libc/ gives the instructions:

git clone git://sourceware.org/git/glibc.git
cd glibc
git checkout --track -b glibc-2_10-branch origin/glibc-2_10-branch

The first command worked but the third command gave me:

"fatal: git checkout: updating paths is incompatible with
switching branches. Did you intend to checkout
'origin/glibc-2_10-branch' which can not be resolved as commit?"

After puzzling over this for a while I tried "git branch -a"
and saw that all the "glibc-2_*" branches were in fact under
"origin/cvs", as in

  origin/cvs/glibc-2_10-branch

So I replaced the failed command above with

git checkout --track -b glibc-2_10-branch \
  origin/cvs/glibc-2_10-branch

and this worked.  Did I get the right code?  (That is, sources
equivalent to what will be in the 2.10.1 tarball.)  Thanks.

--
Allin Cottrell
Department of Economics
Wake Forest University



More information about the Libc-help mailing list