maintainer-feedback requested: [Bug 298355] lang/ghc: Fails to build in the Poudriere VM 15.1-RELEASE-p3: Shared object "libutil.so.9" not found, required by "ghc-pkg"

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Sep 2026 01:38:54 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-haskell (Nobody)
<haskell@FreeBSD.org> for maintainer-feedback:
Bug 298355: lang/ghc: Fails to build in the Poudriere VM 15.1-RELEASE-p3:
Shared object "libutil.so.9" not found, required by "ghc-pkg"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298355



--- Description ---
error:

> # Fix the mode, in case umask is set
> chmod 644
'/wrkdirs/usr/ports/lang/ghc/work/ghc-boot-install/lib/ghc-9.6.7/lib/package.co
nf.d/ghc-boot-th-9.6.7.conf'
> '/wrkdirs/usr/ports/lang/ghc/work/ghc-boot-install/lib/ghc-9.6.7/bin/ghc-pkg'
--global-package-db
"/wrkdirs/usr/ports/lang/ghc/work/ghc-boot-install/lib/ghc-9.6.7/lib/package.co
nf.d" recache
> ld-elf.so.1: Shared object "libutil.so.9" not found, required by "ghc-pkg"
> gmake: *** [Makefile:235: update_package_db] Error 1


> $ poudriere jails -l
> JAILNAME VERSION	    ARCH  METHOD TIMESTAMP	     PATH
> 15amd64  15.1-RELEASE-p3  amd64 http	 2026-08-29 10:54:58
/usr/local/poudriere/jails/15amd64

Host OS: 15.1 STABLE