All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2
Date: Thu, 28 May 2020 22:54:38 +0200	[thread overview]
Message-ID: <20200528225438.4ffbf1c8@windsurf.home> (raw)
In-Reply-To: <CADJjDh8P5ACNk4FA6sQAgpovvfp-2suWtXmV_ZLCXVreAC4v0A@mail.gmail.com>

Hello,

Please use Reply-All when replying, to keep the mailing list in Cc,
thanks.

On Thu, 28 May 2020 16:49:11 -0400
Todd Sampson <sampsonats@gmail.com> wrote:

> dfr at cmake:~/m9k2/buildroot$ sudo apt install python3-matplotlib
> [sudo] password for dfr:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> python3-matplotlib is already the newest version (3.1.2-1ubuntu4).
> 0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.
> dfr at cmake:~/m9k2/buildroot$ make graph-size
> *You need python-matplotlib to generate the size graph*
> make[1]: *** [Makefile:904: graph-size] Error 1
> make: *** [Makefile:84: _all] Error 2

Then this means that your /usr/bin/python is pointing to
/usr/bin/python2. The script being "make graph-size",
support/scripts/size-stats, simply uses "/usr/bin/env python", which it
assumes is your default interpreter, which should have matplotlib
installed.

Is is the standard Ubuntu 20.04 behavior to have python point to
python2, but no longer provide python-matplotlib. This looks odd. Have
you changed your /usr/bin/python perhaps ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2020-05-28 20:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28 20:12 [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2 Todd Sampson
2020-05-28 20:45 ` Thomas Petazzoni
     [not found]   ` <CADJjDh8P5ACNk4FA6sQAgpovvfp-2suWtXmV_ZLCXVreAC4v0A@mail.gmail.com>
2020-05-28 20:54     ` Thomas Petazzoni [this message]
2020-05-28 21:30       ` Todd Sampson
2020-05-29  5:31         ` François Perrad

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=20200528225438.4ffbf1c8@windsurf.home \
    --to=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.