All of lore.kernel.org
 help / color / mirror / Atom feed
From: "François Perrad" <francois.perrad@gadz.org>
To: buildroot@busybox.net
Subject: [Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2
Date: Fri, 29 May 2020 07:31:03 +0200	[thread overview]
Message-ID: <CAB0FRsscsRqahxLRAPd7O5U0R_=mCbbKApt=ijGP-3kc9kAxUg@mail.gmail.com> (raw)
In-Reply-To: <CADJjDh9Ra-mLLY8JiRg84FyXbyg3zJmz52hyzgcfEx4tcBG7XA@mail.gmail.com>

Le jeu. 28 mai 2020 ? 23:31, Todd Sampson <sampsonats@gmail.com> a ?crit :

> dfr at cmake:~/m9k2/buildroot$ ll /usr/bin/python
> lrwxrwxrwx 1 root root 7 Apr 15 06:45 /usr/bin/python -> python2*
>
> I set the link back to python3 and now it works!
>
>
On Ubuntu 20.04, the packet `python-is-python3` does this job.

Fran?ois


> Thanks!!
>
> On Thu, May 28, 2020 at 4:54 PM Thomas Petazzoni <
> thomas.petazzoni at bootlin.com> wrote:
>
>> 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
>>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200529/2e9de752/attachment.html>

      reply	other threads:[~2020-05-29  5:31 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
2020-05-28 21:30       ` Todd Sampson
2020-05-29  5:31         ` François Perrad [this message]

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='CAB0FRsscsRqahxLRAPd7O5U0R_=mCbbKApt=ijGP-3kc9kAxUg@mail.gmail.com' \
    --to=francois.perrad@gadz.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 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.