tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake circular dependency



* On 2026-07-24 at 13:03 BST, Thomas Klausner wrote:

On Fri, Jul 24, 2026 at 07:55:43AM +0100, Greg Troxel wrote:
The real bug is that the cmake package depends on groff.   Surely groff
is not necessary to build packages with cmake.

Looking at this more closely, I'm a bit confused.
The dependency cycle that jperkin posted goes cmake -> curl -> openldap_client -> groff

openldap client is a default-off dependency of curl, and I strongly
wonder why it is enabled in the macOS builds. Jonathan, can you shine
a light on this?

Yeh, ldap is enabled in my builds. As my package sets are designed to appeal to the widest set of users (and many of them have been requested) I've always enabled extra features:

  https://github.com/TritonDataCenter/pkgbuild/blob/master/include/pkgoptions/macos.mk

(openldap then uses soelim to generate its man pages, which pulls in
groff.)

So right now, this looks like a self-inflicted wound to me.

Fair, but we should still strive to support at least a reasonable set of PKG_OPTIONS, otherwise what's the point of having them if they don't actually work.

I think at least the cmake-minimal work will get us past this.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index