Re: pkg-static: dir '/usr/local/lib/compat/pkg' is missing

From: The Doctor <doctor_at_doctor.nl2k.ab.ca>
Date: Fri, 28 Nov 2025 14:55:03 UTC
On Fri, Nov 28, 2025 at 12:22:23PM +0100, FreeBSD User wrote:
> Rebuild of pkg stops with the error shown below. The required input hinders
> unattended or almost unattended rebuild via portmaster in my case. 
> 
> How can this issue be resolved? '/usr/local/lib/compat/pkg' is missing on both recent
> 16-CURRENT and 15-STABLE. Do I miss something here?
> 
> Kind regards
> 
> oh
> 
> [...]
> ===>>> Creating a backup package for old version pkg-2.4.2_1
> Creating package for pkg-2.4.2_1
> pkg-static: dir '/usr/local/lib/compat/pkg' is missing
> pkg-static: package creation failed
> 
> ===>>> Package creation failed for pkg-2.4.2_1!
> 
> ===>>> Ignore this error  [i]
> ===>>> Abort update       [a]
> ===>>> Retry              [r]
> 
> ===>>> How would you like to proceed? [i]
> 

Note to the porter, you might be missing libjitterentropy.

-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism ;
All I want to hear from JEsus Christ is WEll done Good and Faithful servant