[buildd-tools-devel] Bug#680882: Bug#680882: Please make git repository buildable, or documented, or something

Roger Leigh rleigh at codelibre.net
Mon Jul 9 08:37:45 UTC 2012


On Sun, Jul 08, 2012 at 10:28:26PM +0100, Ian Jackson wrote:
> Package: schroot
> Version: 1.6.1-1
> 
> I did this
>   git-clone git://git.debian.org/git/buildd-tools/schroot schroot.git
> and then tried various things to try to build the source code.
> 
> None of my attempts were successful.  I assume it must be possible
> somehow.  Please could this be documented.  Ideally I would like to be
> able to run git-buildpackage or dpkg-buildpackage and make a .deb
> directly from the git repo.

This is the "upstream" as well as "debian" source code.  It just
needs the autotools bootstrapping in order to build.  You just
need to run
  ./bootstrap
and then you're good to go.  I can document this in the README.
It wasn't documented because it's common to most autotools-using
projects which have a bootstrap or autogen.sh script.  If you
want the specific 1.6.1-1 release, I would suggest running
  git checkout release/schroot-1.6.1
or
  git checkout debian/schroot-1.6.1-1
(in this case, they are one and the same thing).

The "distribution" (equivalent of distributed tarball, pre-bootstrapped)
is also in schroot-dist.git:
  git remote add origin-dist git://anonscm.debian.org/buildd-tools/schroot-dist.git
  git fetch origin-dist
  git checkout distribution/schroot-1.6.1-1
This is directly buildable, and is bit-for-bit identical with the
orig.tar.gz (which is generated from this with "git archive").


Regards,
Roger
-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800





More information about the Buildd-tools-devel mailing list