[Buildroot] make graph-size on Ubuntu 20.04, buildroot 2020.05-rc2
francois.perrad at gadz.org
Fri May 29 05:31:03 UTC 2020
Le jeu. 28 mai 2020 à 23:31, Todd Sampson <sampsonats at 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.
> On Thu, May 28, 2020 at 4:54 PM Thomas Petazzoni <
> thomas.petazzoni at bootlin.com> wrote:
>> Please use Reply-All when replying, to keep the mailing list in Cc,
>> 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: *** [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
>> 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 Petazzoni, CTO, Bootlin
>> Embedded Linux and Kernel engineering
> buildroot mailing list
> buildroot at busybox.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot