From nobody Thu Jun 20 12:48:27 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 4W4gJv2zmYz5Nk35 for ; Thu, 20 Jun 2024 12:48:31 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [209.237.23.5]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W4gJv0FT4z4Qsj for ; Thu, 20 Jun 2024 12:48:30 +0000 (UTC) (envelope-from marquis@roble.com) Authentication-Results: mx1.freebsd.org; none Received: from roble.com (roble.com [209.237.23.50]) by mx5.roble.com (Postfix) with ESMTP id BB0B32913DF; Thu, 20 Jun 2024 05:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roble.com; s=rs060402; t=1718887708; bh=mRtrahMfKsUN96G3biAi8e89sPfTXR7PCQbbN82Wxtg=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=O1bLyaBGqM9v1TLQGILRzKsEBeUMjn8VnnLpALRpw528FLX2aFFmulTpwh5fSJnh3 hg4QY/hiLJp+Sf7hPIqIKOXYg449wHB+nrVsL+sQViOADZ8OptZZrj761lxDfzbh1c jp3lGP0cqGwxWJTfC8r9AtiFkELxDShBDWQsWKzI= Date: Thu, 20 Jun 2024 05:48:27 -0700 (PDT) From: Roger Marquis To: Emmanuel Vadot cc: freebsd-arch@freebsd.org Subject: Re: FreeBSD-base update & make delete-old issues In-Reply-To: <20240620093209.2ee1adf395f5ef72bb386c83@bidouilliste.com> Message-ID: <16026629-1rn2-1os4-6q30-8616q8pp1q86@mx.roble.com> References: <4q1q65ns-n394-4pqs-qq88-185894149031@mx.roble.com> <20240620093209.2ee1adf395f5ef72bb386c83@bidouilliste.com> 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; format=flowed 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:17403, ipnet:209.237.0.0/18, country:US] X-Rspamd-Queue-Id: 4W4gJv0FT4z4Qsj On Thu, 20 Jun 2024, Emmanuel Vadot wrote: >> 1) 'pkg ver' shows both 14.0 and 14.1 packages and no version status > > Can you show some example ? # pkg ver FreeBSD-acct-14.0p4 ? FreeBSD-acct-dbg-14.0p4 ? FreeBSD-acpi-14.0p4 ? FreeBSD-acpi-dbg-14.0p4 ? FreeBSD-apm-14.0p4 ? FreeBSD-apm-dbg-14.0p4 ? FreeBSD-at-14.0p4 ? FreeBSD-at-dbg-14.0p4 ? FreeBSD-autofs-14.0p4 ? FreeBSD-autofs-dbg-14.0p4 ? ... >> 2) cd /usr/src && yes | make delete-old delete-old-libs >> ... >> *** Error code 1 > > 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. Do you mean the non-base version of clang? In either case this does not seem to be documented (anywhere under /usr/src at least) and should be considered a bug in the top-level Makefile targets. Roger