Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] problems with make graph-build on x86_64
Date: Thu, 12 Jun 2014 17:35:57 +0200	[thread overview]
Message-ID: <20140612173557.3788d08d@free-electrons.com> (raw)
In-Reply-To: <CAE9DZURkabAJ50=Upw9vuzDFsRnMLRoKBuKGLm_=V4Fn+4f-bw@mail.gmail.com>

Dear Dallas Clement,

On Thu, 12 Jun 2014 10:29:41 -0500, Dallas Clement wrote:

> I tried a make-graph build for the first time on Debian 7.2 / 32 bit the
> other day.  It worked flawlessly.  Today, I tried it on RHEL 6.4 headless
> server / x86_64.  This time, I got errors I was not able to resolve.
> 
> bash-4.1$ 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 55, in <module>
>     import matplotlib.pyplot as plt
>   File "/usr/lib64/python2.6/site-packages/matplotlib/pyplot.py", line 78,
> in <module>
>     new_figure_manager, draw_if_interactive, show = pylab_setup()
>   File
> "/usr/lib64/python2.6/site-packages/matplotlib/backends/__init__.py", line
> 25, in pylab_setup
>     globals(),locals(),[backend_name])
>   File
> "/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtkagg.py",
> line 10, in <module>
>     from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK,
> FigureCanvasGTK,\
>   File
> "/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.py",
> line 8, in <module>
>     import gtk; gdk = gtk.gdk
>   File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line
> 64, in <module>
>     _init()
>   File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line
> 52, in _init
>     _gtk.init_check()
> RuntimeError: could not open display
> make: *** [graph-build] Error 1

What version of matplotlib do you have? Seems like it's not using the
PDF or PNG backend, but the Gtk backend, which tries to open a
X11 window.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-06-12 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 15:29 [Buildroot] problems with make graph-build on x86_64 Dallas Clement
2014-06-12 15:35 ` Thomas Petazzoni [this message]
2014-06-12 15:48   ` Dallas Clement
2014-06-12 16:18     ` Thomas Petazzoni

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=20140612173557.3788d08d@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox