Re: Note: libutil.so bump from main-n279246-0c381b7f0570
- In reply to: Dag-Erling_Smørgrav : "Re: Note: libutil.so bump from main-n279246-0c381b7f0570"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Aug 2025 23:42:36 UTC
On 8/14/25 16:20, Dag-Erling Smørgrav wrote: > Mark Millard <marklmi@yahoo.com> writes: >> pkgbase updates do not have a "delete-old-libs" like >> step to do later as far as I know. The old libraries >> were not preserved. > > See BACKUP_LIBRARIES in pkg.conf(5). We should consider making it the > default. > I have some WIP to make it configurable per-repository so that we can enable it by default only for pkgbase repositories to avoid too much of a disruption. IMO a prerequisite to enabling it by default is also making the pkg it archives them into configurable (and per-repo), so that we can maintain a clean separation between base-archived-libs and ports-archived-libs if both end up enabled. markj also noted that the pkg solver has a little bit of a flaw here, in that it doesn't take into account BACKUP_LIBRARIES when it develops its plan. The local pkg-removal-oops could've been mitigated with it if pkg would have counted its backup to another package as maintaining the shlib dependency. Resolving that wouldn't be strictly necessary, though. Thanks, Kyle Evans