Re: suddenly many ports fail to configure/build

From: Craig Leres <leres_at_freebsd.org>
Date: Sat, 29 Aug 2026 20:33:23 UTC
On 8/29/26 12:25, Marcin Cieslak wrote:
> On Sat, 29 Aug 2026, Craig Leres wrote:
> 
>> I have a 15.1 system that builds ~1500 ports nightly. Today I find 
>> that a handful no longer configure/build. For example:
>>
>> ld-elf.so.1: Shared object "libssl.so.17" not found, required by 
>> "openssl"
> 
>> zinc 13 @ ls -l /usr/local/lib/libssl.so.17
>> -rwxr-xr-x  1 root wheel 1048504 Aug 29 06:12 /usr/local/lib/libssl.so.17
> 
> What does the following say:
> 
> ldconfig -r | egrep 'lib(ssl|crypto)'

zinc 234 # ldconfig -r | egrep 'lib(ssl|crypto)'
         69:-lcrypto.35 => /lib/libcrypto.so.35
         74:-lssl.35 => /usr/lib/libssl.so.35
         185:-lssl.17 => /usr/local/lib/libssl.so.17
         238:-lcrypto.17 => /usr/local/lib/libcrypto.so.17

> Maybe rebuilding ldconfig cache helps?
[on the system itself]
zinc 237 # service ldconfig start
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 
/usr/local/lib/compat/pkg /usr/local/lib/compat/pkg 
/usr/local/lib/perl5/5.42/mach/CORE
32-bit compatibility ldconfig path: /usr/lib32

[inside a poudriere jail]
zinc 4 @ service ldconfig start
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 
/usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
32-bit compatibility ldconfig path: /usr/lib32

Still fails to build ca_root_nss.

I tried clearing /var/cache/ccache.

I do see that I can build ca_root_nss OUTSIDE of a poudriere jail, on 
the base system itself. So I destroyed and re-created the 15.1 jail. 
Still results in the same (14) errors.

The system has 3 days of uptime, the last reboot was to upgrade from p2 
to p3. The same set of ports built ok on the previous two days.

I reverted my ports tree to before today's build started. I tried going 
back to 8411f0c0cf3 but things still failed. But I realized that if a 
recent port change is causing this issue for me I really need to run 
poudriere bulk with the -c (clean all) flag. I started a rebuilt of 
everything and but I'm seeing failures the are the same as in the 
overnight build so I don't think I'm on the right track yet.

I archive my daily builds so I reinstalled all ports to the versions 
built yesterday and am retrying my build of everything with an updated 
ports tree (41177af0a85b5).

Appended are my DEFAULT_VERSIONS pins.

		Craig

DEFAULT_VERSIONS+= lua=5.4
DEFAULT_VERSIONS+= mysql=8.4
DEFAULT_VERSIONS+= perl5=5.42
DEFAULT_VERSIONS+= php=83
DEFAULT_VERSIONS+= python3=3.12
DEFAULT_VERSIONS+= python=3.12
DEFAULT_VERSIONS+= ssl=openssl35