Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/gettext: host variant needs host-libxml2
Date: Sun, 27 Dec 2015 12:22:28 +0100	[thread overview]
Message-ID: <20151227122228.4aa11938@free-electrons.com> (raw)
In-Reply-To: <20151227105437.GC3483@free.fr>

Yann,

On Sun, 27 Dec 2015 11:54:37 +0100, Yann E. MORIN wrote:

> Well, we also have to consider why we have to build host-gettext: it is
> a dependency of quite a few packages. I did not try to time-build all of
> them, but we have to really compare the extra time to the time it takes
> to build the real packages that need host-gettext. Surely, we're already
> adding 2m21s to the build time of those packages; adding 40s more is not
> transparent, but still better than the situation we currently have with
> library mismatch.
> 
> Also, as Vicente replied, we already need to build host-libxml2 in some
> cases, so we may end up building it twice if we were to use the bundled
> one.

There are not so many cases where we build host-libxml2 in fact. There
are some, but not that many.

> A solution would have been to use host-libxml2 if something else depends
> on it, and fallback to the bundled one otherwsie, but we have no way to
> know if a host-libxml2 is to be built or not (no Kconfig variable for it).

Right.

> I would prefer to spend more build time for a reproducible build, at
> least.

Well, with --with-included-libxml, the build is reproducible, since the
internal libxml library is always used. But I agree that our policy is
generally to use the non-bundled versions of the different libraries.

It's just super annoying to have yet another dependency, for this silly
--color option of gettext that nobody cares about...

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-12-27 11:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 21:35 [Buildroot] [PATCH] package/gettext: host variant needs host-libxml2 Yann E. MORIN
2015-12-27 10:44 ` Thomas Petazzoni
2015-12-27 10:54   ` Yann E. MORIN
2015-12-27 11:22     ` Thomas Petazzoni [this message]
2015-12-29 16:56 ` Thomas Petazzoni
2015-12-29 16:56 ` Gustavo Zacarias

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=20151227122228.4aa11938@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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