coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: empty gnulib directory on git


From: Assaf Gordon
Subject: Re: empty gnulib directory on git
Date: Thu, 17 Jan 2019 00:47:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hello,

On 2019-01-17 12:21 a.m., Gabor Z. Papp wrote:
whats the point of the empty gnulib directory in the current git
source?

"gnulib" is a git-submodule of the main coreutils git repository.
An empty directory for it is a standard git practice.

bootstrapping doesn't work (as excepted) due the empty gnulib
directory.

The bootstrap script fails with missing m4 file from the m4 directory.

Testing locally, bootstraping works fine for me.
there are two ways to populate the gnulib directory:

1.
clone coreutils.git then run ./bootstrap:

  $ git clone git://git.sv.gnu.org/coreutils.git
  Cloning into 'coreutils'...
  remote: Counting objects: 173908, done.
  remote: Compressing objects: 100% (40400/40400), done.
  remote: Total 173908 (delta 133182), reused 173868 (delta 133158)
  Receiving objects: 100% (173908/173908), 32.65 MiB | 7.25 MiB/s, done.
  Resolving deltas: 100% (133182/133182), done.

  $ cd coreutils

  ### Indeed, the gnulib directory is empty
  $ ls -la gnulib
  total 8
  drwxr-xr-x  2 gordon gordon 4096 Jan 17 00:39 .
  drwxr-xr-x 16 gordon gordon 4096 Jan 17 00:39 ..

  ### The bootstrap script will clone the gnulib repo:
  $ ./bootstrap
  ./bootstrap: Bootstrapping from checked-out coreutils sources...
  ./bootstrap: consider installing git-merge-changelog from gnulib
  ./bootstrap: getting gnulib files...
Submodule 'gnulib' (git://git.sv.gnu.org/gnulib.git) registered for path 'gnulib'
  Cloning into '/tmp/i/coreutils/gnulib'...
Submodule path 'gnulib': checked out '4652c7bafa60332145f1e05a7de5f48e1bc56226'
  ./bootstrap: getting translations into po/.reference for coreutils...
  [....]

  ### Then continue as usual
  $ ./configure && make


2.
Clone with "--recursive" which will automatically clone gnulib as well:

  $ git clone --recursive git://git.sv.gnu.org/coreutils.git
  Cloning into 'coreutils'...
  remote: Counting objects: 173908, done.
  remote: Compressing objects: 100% (40400/40400), done.
  remote: Total 173908 (delta 133182), reused 173868 (delta 133158)
  Receiving objects: 100% (173908/173908), 32.65 MiB | 7.55 MiB/s, done.
  Resolving deltas: 100% (133182/133182), done.
Submodule 'gnulib' (git://git.sv.gnu.org/gnulib.git) registered for path 'gnulib'
  Cloning into '/tmp/j/coreutils/gnulib'...
  remote: Counting objects: 200756, done.
  remote: Compressing objects: 100% (26775/26775), done.
  remote: Total 200756 (delta 174101), reused 200499 (delta 173915)
  Receiving objects: 100% (200756/200756), 40.79 MiB | 7.41 MiB/s, done.
  Resolving deltas: 100% (174101/174101), done.
Submodule path 'gnulib': checked out '4652c7bafa60332145f1e05a7de5f48e1bc56226'

  $ ./bootstrap && ./configure && make

---

If you still encounter errors in bootstraping using the above
commands, please provide the exact commands and error messages you
to help us in troubleshooting.


regards,
  - assaf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]