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?
- Reply: Mark Millard : "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?"
- In reply to: Mark Millard : "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?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jul 2026 08:30:12 UTC
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.org