Re: poudriere jail buildworld fails: ld-elf.so.1: Shared object "libutil.so.9" not found

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
On 8/14/26 10:50, Craig Leres wrote:
> I'm trying build a poudriere jail so I can build (arm) pfsense packages.
> The base system is amd64 (15.1-RELEASE-p2) so QEMU is involved. This
> worked for years but not recently.
> 
> My toolchain notes are here:
> 
>     https://xse.com/leres/pfsense/toolchain.html
> 
> The newest jail I've been able to build is for pfsense 26.03.1 with
> FreeBSD /usr/src hash c215eef34550
> 
> (Is it just that my build system is too far behind 4bdcff554368 to be
> able to build it?)
> 
>         Craig
> 
> zinc 304 # pwd
> /usr/src/16-CURRENT
> zinc 305 # git branch
> * (HEAD detached at 4bdcff554368)
>   main
> zinc 306 # poudriere jail -x -c -j pfsense2607 -a arm64.aarch64 -m src=/
> usr/src/16-CURRENT -b
> [00:00:00] Cross-building ports for arm64.aarch64 on amd64 requires QEMU
> [00:00:00] Creating pfsense2607 fs at /usr/local/poudriere/jails/
> pfsense2607... done
> [00:00:00] Copying /usr/src/16-CURRENT to /usr/local/poudriere/jails/
> pfsense2607/usr/src... done
> [00:00:14] Starting make buildworld with 48 jobs
> --- buildworld ---
> make[1]: /usr/local/poudriere/jails/pfsense2607/usr/src/
> Makefile.inc1:371: SYSTEM_COMPILER: libclang will be built for
> bootstrapping a cross-compiler.
> make[1]: /usr/local/poudriere/jails/pfsense2607/usr/src/
> Makefile.inc1:376: SYSTEM_LINKER: libclang will be built for
> bootstrapping a cross-linker.
> --- buildworld_prologue ---
> --------------------------------------------------------------
>>>> World build started on Fri Aug 14 10:10:55 PDT 2026
> --------------------------------------------------------------
> --- _cleanworldtmp ---
>>>> Deleting stale files in build tree...
> ld-elf.so.1: Shared object "libutil.so.9" not found, required by "env"

Hmm. Looking inside various poudriere-devel jails I have around,
starting with one for a FreeBSD 14 release:

/usr/local/poudriere/jails/release14-amd64/lib/libutil.so.9

compared-to/contrasted-with to a modern release (15):

/usr/local/poudriere/jails/release-amd64/lib/libutil.so.10

and to main (16):

/usr/local/poudriere/jails/main-amd64/lib/libutil.so.10

This suggests that something is using an env from a FreeBSD 14 but does
not have the matching libutil.so.9 from a matching 14 to also put to use.

Did you intend on any FreeBSD 14 involvement?

>         0.01 real         0.00 user         0.00 sys
> *** [_cleanworldtmp] Error code 1
> 
> make[1]: stopped making "buildworld" in /usr/local/poudriere/jails/
> pfsense2607/usr/src
> make[1]: 1 error
> 
> make[1]: stopped making "buildworld" in /usr/local/poudriere/jails/
> pfsense2607/usr/src
> 
> make: stopped making "buildworld" in /usr/local/poudriere/jails/
> pfsense2607/usr/src
> [00:00:15] Error: Failed to 'make buildworld'
> [00:00:15] Error while creating jail, cleaning up.
> [00:00:15] Removing pfsense2607 jail... done
> 
> 


-- 
===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.