Date: Sun, 12 Jul 2026 10:30:12 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Mark Millard <marklmi@yahoo.com> Cc: freebsd-pkgbase <freebsd-pkgbase@freebsd.org> Subject: Re: Old /usr/bin/* files (and more) still around on modern main, long updated via pkgbase: looks like having FreeBSD-src installed and doing make check-old and the like are appropriate? Message-ID: <865x2k390r.fsf@ltc.des.dev> In-Reply-To: <00b31e87-a4ee-4f04-ad74-c2b14fc9bcc5@yahoo.com> (Mark Millard's message of "Sat, 11 Jul 2026 15:36:43 -0700") References: <00b31e87-a4ee-4f04-ad74-c2b14fc9bcc5@yahoo.com>
index | next in thread | previous in thread | raw e-mail
Mark Millard <marklmi@yahoo.com> writes: > On a upstream pkgbase system (pkgbase'd for a long time) I typed a > command, expecting the file to not be found:. But I got a command > from/for x86_64-unknown-freebsd15.0 . > > # llc --version > LLVM (http://llvm.org/): > LLVM version 19.1.5 > Optimized build. We've never shipped llc as part of the default install, so this shows this system was previously maintained from source using non-standard build options. > That leads me to wonder what else is old that is still around. So, > based on having the matching FreeBSD-src installed: [...] pkgbase does not leave old files around. These files were there before you converted. > Did I miss some sort of documented cleanup step? Yes, back when you were maintaining this system from source, you should have run `make delete-old` and `make delete-old-libs` regularly. You also shouldn't have converted to pkgbase using packages built with different options than what you'd been using previously. You should have simply done a last buildworld + buildkernel with the same options, then run `make update-packages` and installed the result. DES -- Dag-Erling Smørgrav - des@FreeBSD.orghome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?865x2k390r.fsf>
