* [Buildroot] make graph-build : missing dot host dependency
@ 2014-03-29 21:15 Sagaert Johan
2014-03-29 21:28 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Sagaert Johan @ 2014-03-29 21:15 UTC (permalink / raw)
To: buildroot
Hi
While trying one of the new graphs features :
# make graph-depends
/bin/sh: line 2: dot: command not found
Getting targets
Getting dependencies for ['toolchain-buildroot', 'acl', 'attr', 'busybox', 'can-utils', 'cifs-utils', 'dbus', 'digital_io',
'dropbear', 'host-e2fsprogs', 'expat', 'ffmpeg', 'freetype', 'host-gdb', 'host-genext2fs', 'gettext', 'gmp', 'gnuplot', 'gnutls',
'gzip', 'hwdata', 'i2c-tools', 'icu', 'inotify-tools', 'input-tools', 'jquery-keyboard', 'jquery-mobile', 'jquery-sparkline',
'jquery-ui-themes', 'jquery-ui', 'jquery', 'json-javascript', 'kmod', 'libart', 'libcgi', 'libcurl', 'libesmtp', 'libffi',
'libgcrypt', 'libglib2', 'libgpg-error', 'liblockfile', 'libmbus', 'libmicrohttpd', 'libmodbus', 'libpng', 'libsoup', 'libupnp',
'libxml2', 'linux-firmware', 'lockfile-progs', 'lshw', 'lzo', 'mtd', 'mysql', 'ncurses', 'nettle', 'ntp', 'openssl', 'pcre', 'popt',
'portmap', 'python', 'readline', 'rrdtool', 'rsync', 'sdl', 'sqlite', 'strace', 'time', 'uboot-tools', 'udev', 'util-linux', 'zlib',
'linux', 'toolchain-eclipse-register', 'rootfs-tar']
Error getting dependencies ['toolchain-buildroot', 'acl', 'attr', 'busybox', 'can-utils', 'cifs-utils', 'dbus', 'digital_io',
'dropbear', 'host-e2fsprogs', 'expat', 'ffmpeg', 'freetype', 'host-gdb', 'host-genext2fs', 'gettext', 'gmp', 'gnuplot', 'gnutls',
'gzip', 'hwdata', 'i2c-tools', 'icu', 'inotify-tools', 'input-tools', 'jquery-keyboard', 'jquery-mobile', 'jquery-sparkline',
'jquery-ui-themes', 'jquery-ui', 'jquery', 'json-javascript', 'kmod', 'libart', 'libcgi', 'libcurl', 'libesmtp', 'libffi',
'libgcrypt', 'libglib2', 'libgpg-error', 'liblockfile', 'libmbus', 'libmicrohttpd', 'libmodbus', 'libpng', 'libsoup', 'libupnp',
'libxml2', 'linux-firmware', 'lockfile-progs', 'lshw', 'lzo', 'mtd', 'mysql', 'ncurses', 'nettle', 'ntp', 'openssl', 'pcre', 'popt',
'portmap', 'python', 'readline', 'rrdtool', 'rsync', 'sdl', 'sqlite', 'strace', 'time', 'uboot-tools', 'udev', 'util-linux', 'zlib',
'linux', 'toolchain-eclipse-register', 'rootfs-tar']
make: *** [graph-depends] Error 127
root at debian605:/home/buildroot12git# make graph-build
./support/scripts/graph-build-time --type=histogram --order=name --input=output/build/build-time.log
--output=output/graphs/build.hist-name.pdf
Traceback (most recent call last):
File "./support/scripts/graph-build-time", line 52, in <module>
import matplotlib
ImportError: No module named matplotlib
make: *** [graph-build] Error 1
There seem to be some host tools and libs missing for this feature to work.
Sagaert Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] make graph-build : missing dot host dependency
2014-03-29 21:15 [Buildroot] make graph-build : missing dot host dependency Sagaert Johan
@ 2014-03-29 21:28 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2014-03-29 21:28 UTC (permalink / raw)
To: buildroot
Sagaert, All,
On 2014-03-29 22:15 +0100, Sagaert Johan spake thusly:
> While trying one of the new graphs features :
>
> # make graph-depends
> /bin/sh: line 2: dot: command not found
> Getting targets
> Getting dependencies for ['toolchain-buildroot', 'acl', 'attr', 'busybox', 'can-utils', 'cifs-utils', 'dbus', 'digital_io',
> 'dropbear', 'host-e2fsprogs', 'expat', 'ffmpeg', 'freetype', 'host-gdb', 'host-genext2fs', 'gettext', 'gmp', 'gnuplot', 'gnutls',
> 'gzip', 'hwdata', 'i2c-tools', 'icu', 'inotify-tools', 'input-tools', 'jquery-keyboard', 'jquery-mobile', 'jquery-sparkline',
> 'jquery-ui-themes', 'jquery-ui', 'jquery', 'json-javascript', 'kmod', 'libart', 'libcgi', 'libcurl', 'libesmtp', 'libffi',
> 'libgcrypt', 'libglib2', 'libgpg-error', 'liblockfile', 'libmbus', 'libmicrohttpd', 'libmodbus', 'libpng', 'libsoup', 'libupnp',
> 'libxml2', 'linux-firmware', 'lockfile-progs', 'lshw', 'lzo', 'mtd', 'mysql', 'ncurses', 'nettle', 'ntp', 'openssl', 'pcre', 'popt',
> 'portmap', 'python', 'readline', 'rrdtool', 'rsync', 'sdl', 'sqlite', 'strace', 'time', 'uboot-tools', 'udev', 'util-linux', 'zlib',
> 'linux', 'toolchain-eclipse-register', 'rootfs-tar']
> Error getting dependencies ['toolchain-buildroot', 'acl', 'attr', 'busybox', 'can-utils', 'cifs-utils', 'dbus', 'digital_io',
> 'dropbear', 'host-e2fsprogs', 'expat', 'ffmpeg', 'freetype', 'host-gdb', 'host-genext2fs', 'gettext', 'gmp', 'gnuplot', 'gnutls',
> 'gzip', 'hwdata', 'i2c-tools', 'icu', 'inotify-tools', 'input-tools', 'jquery-keyboard', 'jquery-mobile', 'jquery-sparkline',
> 'jquery-ui-themes', 'jquery-ui', 'jquery', 'json-javascript', 'kmod', 'libart', 'libcgi', 'libcurl', 'libesmtp', 'libffi',
> 'libgcrypt', 'libglib2', 'libgpg-error', 'liblockfile', 'libmbus', 'libmicrohttpd', 'libmodbus', 'libpng', 'libsoup', 'libupnp',
> 'libxml2', 'linux-firmware', 'lockfile-progs', 'lshw', 'lzo', 'mtd', 'mysql', 'ncurses', 'nettle', 'ntp', 'openssl', 'pcre', 'popt',
> 'portmap', 'python', 'readline', 'rrdtool', 'rsync', 'sdl', 'sqlite', 'strace', 'time', 'uboot-tools', 'udev', 'util-linux', 'zlib',
> 'linux', 'toolchain-eclipse-register', 'rootfs-tar']
> make: *** [graph-depends] Error 127
> root at debian605:/home/buildroot12git# make graph-build
> ./support/scripts/graph-build-time --type=histogram --order=name --input=output/build/build-time.log
> --output=output/graphs/build.hist-name.pdf
> Traceback (most recent call last):
> File "./support/scripts/graph-build-time", line 52, in <module>
> import matplotlib
> ImportError: No module named matplotlib
> make: *** [graph-build] Error 1
>
> There seem to be some host tools and libs missing for this feature to work.
Yes, you need to have installed on your host system (Debian packages
names):
- for graph-depends:
- graphviz (for dot)
- for graph-build:
- python-matplotlib or python3-matplotlib
- python-numpy or python3-numpy
- argparse if python < 2.7
We could add a check that these tools are present, before running the
graph stuffs. Care to look into that?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-29 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-29 21:15 [Buildroot] make graph-build : missing dot host dependency Sagaert Johan
2014-03-29 21:28 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox