Re: pkg/60173: enchant2 doesn't install groff dependency, causing build to fail

"Leonardo Taccari via gnats" <[email protected]> Fri, 3 Apr 2026 17:00:02 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/60173; it has been noted by GNATS.

From: Leonardo Taccari <[email protected]>
To: [email protected]
Cc: 
Subject: Re: pkg/60173: enchant2 doesn't install groff dependency, causing build to fail
Date: Fri, 03 Apr 2026 18:57:51 +0200

 Daniel Bradbury via gnats writes:
 > [...]  
 > Or at the very least, shouldn't there be some warning about this for 
 > recipes that assume the existence of packages from a certain set?
 >  
 > I wasn't aware that the text set was expected in pkgsrc, so I assumed 
 > that dependency resolution was just broken in some way.
 
 This is documented in The pkgsrc Guide currently as
 "5.2.1. Requirements":
 
  | To build packages from source, you need a working C compiler. On NetBSD, you
  | need to install the comp and the text distribution sets. If you want to
  | build X11-related packages, the xbase and xcomp distribution sets are
  | required, too.
 
 Maybe there could be a check to the corresponding /etc/mtree/set.* files
 to make a bit more helpful warning/error message.