Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] Build reproducibility
Date: Thu, 05 Sep 2013 22:49:12 +0200	[thread overview]
Message-ID: <5233916.AB5rYWIjf1@sagittae> (raw)
In-Reply-To: <CAAXf6LUjLb498scj-y3vb-DbRe+2as9H+shXAWHGU=CiTPf43g@mail.gmail.com>

Hello Thomas,

On Thursday 05 September 2013 21:56:01 Thomas De Schampheleire wrote:
> On Tue, Sep 3, 2013 at 7:13 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> > On Mon, 2 Sep 2013 15:18:09 +0200, Thomas De Schampheleire wrote:
> >> > Of course, if within the Buildroot project we are interested in
> >> > fixing such missing dependencies, then we can find a way of adding
> >> > randomness into the build order in our autobuilders. But clearly,
> >> > we do want to expose this randomness to our users.
> >> 
> >> I think indeed we should try to set the dependencies right some way
> >> or another.
> >> 
> >> If we assume that a package does not have any configurable options
> >> that would change its dependencies, a simple way to check if all
> >> dependencies are properly expressed is through:
> >> make clean toolchain foo
> > 
> > This is already done by the autobuilders. Thanks to the randomness of
> > the configuration, if a package fails to express a mandatory
> > dependency, sooner or later the autobuilders will generate a
> > configuration that has the package enabled but not one of its unknown
> > dependencies. The autobuilders have triggered such cases very quickly
> > in the past when a new package was added, so I'm pretty confident we
> > have good coverage on this one.
> 
> I'm currently running 'make clean toolchain <pkg>' for each package,
> and preliminary results have already found several dependency
> problems. I will analyze the results when it's done and submit patches
> for them.
> The advantage of such a non-random test is that it will find problems
> faster than the autobuilders.

Just to avoid duplicate work, I am currently testing an automated system to 
detect dependencies of packages (based on inotify as I explain in my previous 
mail). First results can be found there:
http://www.sysmic.org/~jezz/dependencies.cooked

-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

  reply	other threads:[~2013-09-05 20:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30  8:31 [Buildroot] Build reproducibility Jérôme Pouiller
2013-08-30  8:31 ` [Buildroot] [PATCH] Fix build reproducibility in Make 3.82 Jérôme Pouiller
2013-09-03  6:13   ` Arnout Vandecappelle
2013-09-03  8:45     ` [Buildroot] [PATCH v2] " Jérôme Pouiller
2013-09-03  9:31       ` Arnout Vandecappelle
2013-09-07  6:06       ` Peter Korsgaard
2013-08-30 11:59 ` [Buildroot] Build reproducibility Thomas De Schampheleire
2013-08-30 12:44   ` Jérôme Pouiller
2013-08-30 12:52     ` Thomas Petazzoni
2013-09-02  8:44       ` Thomas De Schampheleire
2013-09-02  8:53         ` Thomas Petazzoni
2013-09-02 13:18           ` Thomas De Schampheleire
2013-09-03 17:13             ` Thomas Petazzoni
2013-09-05 19:56               ` Thomas De Schampheleire
2013-09-05 20:49                 ` Jérôme Pouiller [this message]
2013-09-02 16:11         ` Arnout Vandecappelle
2013-09-03  6:26           ` Peter Korsgaard
2013-09-03  7:16             ` Thomas Petazzoni
2013-09-03  7:47               ` Peter Korsgaard
2013-09-03 16:48                 ` Thomas Petazzoni
2013-09-03  8:15             ` Jérôme Pouiller
2013-09-03 16:54               ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5233916.AB5rYWIjf1@sagittae \
    --to=jezz@sysmic.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox