From: Stuart Henderson Subject: Re: math/py-pygraphviz should LIB_DEPEND on math/graphviz To: Caspar Schutijser , ports@openbsd.org, Lucas Gabriel Vuotto Date: Tue, 17 Jun 2025 17:36:13 +0100 On 2025/06/17 17:31, Stuart Henderson wrote: > On 2025/06/17 18:24, Caspar Schutijser wrote: > > Hi, > > > > $ dnsviz print > > pygraphviz is required, but not installed > > > > This happens when math/py-pygraphviz is installed but math/graphviz > > isn't. > > /usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so > > needs libraries provided by math/graphviz at runtime too, not just at > > buildtime. > > > > I think this is the way to fix it. > > > > Comments or OKs? > > $ make port-lib-depends-check > > py3-pygraphviz-1.14(math/py-pygraphviz): > Missing lib: cdt.3 (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) (NOT REACHABLE) > Missing lib: cgraph.2 (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) (NOT REACHABLE) > Missing lib: gvc.3 (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) (NOT REACHABLE) > > ok. > > (tests are broken too.) ... MODPY_TEST_LINK_SO=Yes fixes that.