Bug 240615 - math/py-matplotlib: Fails to configure with TKAGGBACKEND=ON (Unable to access the X Display, is $DISPLAY set properly?)
Summary: math/py-matplotlib: Fails to configure with TKAGGBACKEND=ON (Unable to access...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Keywords: needs-patch, needs-qa
Depends on:
Reported: 2019-09-16 13:34 UTC by Kalten
Modified: 2019-09-16 17:24 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (mainland)
koobs: merge-quarterly?

poudriere log with TKAGGBACKEND==on (default) (55.63 KB, text/plain)
2019-09-16 13:34 UTC, Kalten
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kalten 2019-09-16 13:34:17 UTC
Created attachment 207538 [details]
poudriere log with TKAGGBACKEND==on (default)


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---
> ===> The following configuration options are available for py27-matplotlib-2.2.4_1:
>      EXAMPLES=on: Build and/or install examples
>      GTKAGGBACKEND=on: GTKAgg backend support
>      GTKBACKEND=on: GTK backend support
>      QT5AGGBACKEND=on: Qt5Agg backend support
>      TKAGGBACKEND=on: TKAgg backend support
>      WXAGGBACKEND=on: WXAgg backend support
> ===> Use 'make config' to modify these settings
> ---End OPTIONS List---

If TKAGGBACKEND==on (TKAgg backend support)—which happens to be the
default—compilation stops with the following error:

>                 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: GtkWarning: 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 :-)