Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2024 09:32:09 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Roger Marquis <marquis@roble.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: FreeBSD-base update & make delete-old issues
Message-ID:  <20240620093209.2ee1adf395f5ef72bb386c83@bidouilliste.com>
In-Reply-To: <4q1q65ns-n394-4pqs-qq88-185894149031@mx.roble.com>
References:  <4q1q65ns-n394-4pqs-qq88-185894149031@mx.roble.com>

next in thread | previous in thread | raw e-mail | index | archive | help

 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240620093209.2ee1adf395f5ef72bb386c83>