[Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2

Todd Sampson sampsonats at gmail.com
Thu May 28 21:30:42 UTC 2020


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!

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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200528/86acb045/attachment-0002.html>


More information about the buildroot mailing list