<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey All,<br>
<br>
Recently we've been moving to have minimal-distro source elements
from freedesktop-sdk using BuildStream junctions.<br>
<br>
As far as was practically possible we attempted to build
minimal-distro from git, while freedesktop-sdk uses tarballs for
most packages.<br>
<br>
We're currently working on the assumption that provenance is
provided by building from git source, and that this is a worthy goal
to work towards, however the practicality of this approach has
become more questionable as we've tried to implement it.<br>
<br>
Here are the issues we've run into:<br>
<ul>
<li>Many projects don't have any repository, or don't have a git
repository:</li>
<ul>
<li>bzip2 has no repository at all</li>
<li>mpfr (a gcc dependency) only has an SVN repository</li>
<li>gmp (a gcc dependency) only has a Mercurial repository<br>
</li>
</ul>
<li>In many cases, the process of building from git source to
produce a release is undocumented. In these cases a fair amount
of reverse engineering effort is required to gain parity with a
tarball release.</li>
<li>Many projects require patches applied on-top of git in-order
to build.</li>
<ul>
<li>These patches require maintenance</li>
<li>These patches may be incorrect especially when changing
versions</li>
</ul>
<li>Many projects required different versions of autotools in
order to build the configure file</li>
<ul>
<li>GCC requires a specific version of autoconf (2.64) to build
from git</li>
<li>ucl (a dependency of SYSLINUX) requires a version of
autoconf so old, I've not been able to build it.</li>
<li>Many git repositories contain a configure file that can't
easily be generated from the source for these reasons, and in
those cases pose the same issues for provenance that a tar
file does.</li>
</ul>
<li>Some projects require closed source binaries to build a tar
release from git.</li>
<ul>
<li>SYSLINUX requires upx to build, and upx requires closed
source binaries to build properly. When building upx from git
using ucl, it prints a warning stating that it's a beta and
not to be used in production. I don't believe it's easy to
trust such a build.</li>
</ul>
<li>The dependency list for the git build is much larger (and
usually undocumented) than the dependency list for the tarball</li>
<ul>
<li>When updating "file" to git, I discovered that it has
undocumented dependencies</li>
<li>In many cases the increased dependencies would also be
required as part of the bootstrap, which would inflate the
bootstrap size by an impractically large amount.<br>
</li>
</ul>
</ul>
The Mercurial and SVN issues can be resolved either by developing
these plugins for BuildStream or using a trove style approach where
we create a git mirror for Mercurial/SVN repositories.<br>
<br>
The remaining issues I believe are a little more tricky to resolve.<br>
<br>
Any thoughts or ideas are welcome.<br>
<br>
Regards,<br>
Ben<br>
</body>
</html>