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 1/2] python: enable bzip2 in host variant
Date: Thu, 16 Jun 2016 22:55:57 +0200	[thread overview]
Message-ID: <20160616225557.07174b4d@free-electrons.com> (raw)
In-Reply-To: <20160616224340.08157027@itchy>

Hello,

On Thu, 16 Jun 2016 22:43:40 +0200, Eric Le Bihan wrote:

> > Could you give some more details about this? The tarfile module seems
> > to only import the bz2 module when a bzip2-compressed file is handled.
> > Is this actually the case with rust?  
> 
> This was required because my initial take on Rust let the build process
> download the rust-stage0 bzip2 tarball and uncompress it on its own. As
> the bootstrap binary will now be provided by the rust-bootstrap
> package, this is not needed anymore.

OK, great!

> > Indeed, host-python is used by numerous packages, and we're trying to
> > not add too many dependencies to host-python. On the other hand,
> > building bzip2 is pretty fast, so maybe it's reasonable to add it as a
> > mandatory dependency of host-python.  
> 
> bz2 tarballs are widespread. So having support for this format in
> host-python, regardless of Rust, will benefit the user.

host-python is only meant to be used as a dependency to build other
things in Buildroot. As long as these "other things" don't need bz2
support in Python, there's no reason to enable it.

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

  reply	other threads:[~2016-06-16 20:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-24 14:39 [Buildroot] [PATCH 0/2] Add support for Rust programming language Eric Le Bihan
2016-04-24 14:39 ` [Buildroot] [PATCH 1/2] python: enable bzip2 in host variant Eric Le Bihan
2016-06-15 22:01   ` Thomas Petazzoni
2016-06-16 20:43     ` Eric Le Bihan
2016-06-16 20:55       ` Thomas Petazzoni [this message]
2016-04-24 14:39 ` [Buildroot] [PATCH 2/2] rust: new package Eric Le Bihan
2016-06-15 22:09   ` Thomas Petazzoni
2016-06-15 22:42     ` Charles Hardin
2016-06-16 20:31       ` Eric Le Bihan
2016-06-16 20:25     ` Eric Le Bihan

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=20160616225557.07174b4d@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