[Bug 212357] cad/ngspice_rework "Can't open viewport for graphics."

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 3 17:31:41 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212357

            Bug ID: 212357
           Summary: cad/ngspice_rework "Can't open viewport for graphics."
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: mneumann at ntecs.de
                CC: kevinz5000 at gmail.com
                CC: kevinz5000 at gmail.com
             Flags: maintainer-feedback?(kevinz5000 at gmail.com)

When trying to plot signals with ngspice, a message "Can't open viewport for
graphics." is shown, when the binary package (pkg ins ngspice_rework) is used
on DragonFlyBSD. When compiled from ports, it works (see below for the reason).

I reported this issue to the DragonFlyBSD ports maintainer:

https://github.com/DragonFlyBSD/DPorts/issues/181

I think this issue occurs as well on FreeBSD. The patch below fixes it for
DragonFly (and probably for FreeBSD as well):

https://github.com/DragonFlyBSD/DeltaPorts/pull/627/commits/74aa615347b7e53b5ba96e04480f605bfb65e50e

The problem is that during package building, X11 is not installed and as such
autoconf will not find the appropriate X11 headers. The port should explicitly
specify X11 as a dependency in this case.

Note that --enable-xspice should only be passed to CONFIGURATION_ARGS in case
the X11 option is actually choosen.

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


More information about the freebsd-ports-bugs mailing list