Re: FreeBSD-base update & make delete-old issues
Date: Thu, 20 Jun 2024 07:32:09 UTC
Hi, On Wed, 19 Jun 2024 20:37:36 -0700 (PDT) Roger Marquis <marquis@roble.com> wrote: > After upgrading to 14.1 via 'pkg update -r FreeBSD-base' there are 2 > possible issues: > > 1) 'pkg ver' shows both 14.0 and 14.1 packages and no version status Can you show some example ? > 2) cd /usr/src && yes | make delete-old delete-old-libs > ... > /usr/include/c++/v1/__tuple_dir > >>> Old directories removed > To remove old libraries run 'make delete-old-libs'. > sh: cc: not found > make[1]: "/usr/src/share/mk/bsd.compiler.mk" line 200: warning: "cc -v 2>&1 | grep "gcc version"" returned non-zero status > make[1]: "/usr/src/share/mk/bsd.compiler.mk" line 204: Unable to determine compiler type for CC=cc. Consider setting COMPILER_TYPE. > > make[1]: stopped in /usr/src > *** Error code 1 > > Anyone else seeing this? > > Roger > You probably don't have FreeBSD-clang installed as 'cc' isn't found. But you don't need to make delete-old with pkgbase, pkg will remove the files that are no longer part of the packages. You also don't need etcupdate/mergemaster in case that was something that you still use. Cheers, -- Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>