From nobody Thu Jun 20 07:32:09 2024 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W4XJR0kxqz5PPMJ for ; Thu, 20 Jun 2024 07:32:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4W4XJQ3H2Qz4rdf for ; Thu, 20 Jun 2024 07:32:38 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1718868751; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mXT8oWNuHXV+yQEY70v4iXqcaMeTZnz8otBZlmCxQp0=; b=s+uwF9IE779AI/zPiujcKQGHwNZ6hJLC8K6m6vtD1hv02F38c3MhmfALFNaYkEJCoS9Aj6 SCyzrSLGYyKkRYQJbA9op573M2x2Hg2L38BPfuIh1ROFxCBzLPrlofpQMi2BYhh3vEhVuL /QosfbURaDrI3aESViaj+HtQtJqt9rE= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id bf5954e0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 20 Jun 2024 07:32:31 +0000 (UTC) Date: Thu, 20 Jun 2024 09:32:09 +0200 From: Emmanuel Vadot To: Roger Marquis 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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4W4XJQ3H2Qz4rdf Hi, On Wed, 19 Jun 2024 20:37:36 -0700 (PDT) Roger Marquis 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