Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2019 13:34:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240615] math/py-matplotlib: @py27 Tcl/Tk: Unable to access the X Display, is $DISPLAY set properly?
Message-ID:  <bug-240615-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240615

            Bug ID: 240615
           Summary: math/py-matplotlib: @py27 Tcl/Tk: Unable to access the
                    X Display, is $DISPLAY set properly?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: kalten@gmx.at
                CC: mainland@apeiron.net
                CC: mainland@apeiron.net
             Flags: maintainer-feedback?(mainland@apeiron.net)
 Attachment #207538 text/plain
         mime type:

Created attachment 207538
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207538&action=
=3Dedit
poudriere log with TKAGGBACKEND=3D=3Don (default)

Greetings!

I did compile inside a clean poudriere 3.3.2_1 (packages and caches
erased) with a ports tree at r511903.
FreeBSD 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC  amd64

I did use the following options list:
> ---Begin OPTIONS List---
> =3D=3D=3D> The following configuration options are available for py27-mat=
plotlib-2.2.4_1:
>      EXAMPLES=3Don: Build and/or install examples
>      GTKAGGBACKEND=3Don: GTKAgg backend support
>      GTKBACKEND=3Don: GTK backend support
>      QT5AGGBACKEND=3Don: Qt5Agg backend support
>      TKAGGBACKEND=3Don: TKAgg backend support
>      WXAGGBACKEND=3Don: WXAgg backend support
> =3D=3D=3D> Use 'make config' to modify these settings
> ---End OPTIONS List---

If TKAGGBACKEND=3D=3Don (TKAgg backend support)=E2=80=94which happens to be=
 the
default=E2=80=94compilation stops with the following error:

> OPTIONAL BACKEND EXTENSIONS
>                 macosx: no  [Mac OS-X only]
>                 qt5agg: yes [installing, Qt: 5.12.2, PyQt: 5.12.2; PySide2
>                         not found]
>                 qt4agg: no  [skipping due to configuration]
>                gtk3agg: no  [Requires pygobject to be installed.]
> /usr/local/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWar=
ning: could not open display
>   warnings.warn(str(e), _gtk.Warning)
>              gtk3cairo: no  [Requires pygobject to be installed.]
>                 gtkagg: yes [installing, Gtk: 2.24.32 pygtk: 2.24.0]
>                  tkagg: yes [installing; run-time loading from Python Tcl=
 /
>                         Tk]
> Unable to access the X Display, is $DISPLAY set properly?
> *** Error code 1

That sounds very strange to me :-)

Regards,
 Kalten

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240615-7788>