From owner-freebsd-current@freebsd.org Tue Feb 16 15:55:25 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3A65A53D626 for ; Tue, 16 Feb 2021 15:55:25 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4Dg5Cc1s4Zz4csJ for ; Tue, 16 Feb 2021 15:55:23 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Tue, 16 Feb 2021 16:55:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1613490921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Sl5ffJcx4cKjfe2OiYgTeq9bLzVQ25kD32n//61vtbk=; b=HtT4YhwE5ZYhE14XQbOL6rSWBQjyD68HLoCFVUM3bZHVacvigDeTWENsGOk9kgJv+nvMaq G57zgiibi/oqdn7swBTvn/pc9fsyK7+Uvx/stIa2Kr+rmVp37YGendBZWI12/TLZGrxVfz JmFONEQY469m4lh74n3beCntA97QccKyNoIwNHVqk7iJ32nwLOfVAlR0Yv0FiPPZ47ec+S 4VhxqeXg+47YWBI24I33OUj6hDb+uX/w3LguF+NbSOMT7ZvNpjlYFO2GPNIXMpZf0ZD8T8 7KknKblrCCoI1aIBw2T8Q7Toz83t5iRcmYDLQNNKkVWfECvPypijf5PsHab5Yg== From: Ronald Klop To: freebsd-current@freebsd.org Message-ID: <679869967.9.1613490921704@localhost> Subject: pkg vs uname troubles after upgrade to 14 MIME-Version: 1.0 X-Mailer: Realworks (547.432.b96dc0872f6) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4Dg5Cc1s4Zz4csJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=HtT4YhwE; dmarc=pass (policy=none) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-3.46 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[194.109.157.24:from]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,none]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; NEURAL_HAM_SHORT(-0.96)[-0.963]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 15:55:25 -0000 Hi, Upgraded from 13 to 14. # uname -UK 1400003 1400003 But elfdump on uname gives: note (.note.tag): FreeBSD 1300133 (NT_FREEBSD_ABI_TAG) # pkg -o OSVERSION=1400003 upgrade pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Updating database digests format: 100% Checking for upgrades (1 candidates): 100% Processing candidates (1 candidates): 100% Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pkg-1.16.2 (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:13:aarch64:64') Number of packages to be reinstalled: 1 How do I do this properly? Rebuilding name still gives it the ELF note of 1300133. It does not matter if I pass "-o OSVERSION=1400003" to pkg or not. Found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104, but I don't think it was really resolved. This is on aarch64. And why does pkg not use the version uname is reporting by -UK instead of the ELF note? Regards, Ronald. From owner-freebsd-current@freebsd.org Tue Feb 16 16:02:50 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE54553D5CD for ; Tue, 16 Feb 2021 16:02:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dg5NB4tbhz4dDY for ; Tue, 16 Feb 2021 16:02:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 9A9F9210D1 for ; Tue, 16 Feb 2021 16:02:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 4C46227C0054 for ; Tue, 16 Feb 2021 11:02:50 -0500 (EST) Received: from imap38 ([10.202.2.88]) by compute3.internal (MEProxy); Tue, 16 Feb 2021 11:02:50 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjedtgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculddutddmnecujfgurhepofgfggfkjghffffhvffutgesthdtredtreer tdenucfhrhhomhepfdeurhgrnhguohhnuceuvghrghhrvghnfdcuoegsughrrghgohhnse fhrhgvvgeuufffrdhorhhgqeenucggtffrrghtthgvrhhnpefhvdfgtedtueevudejuefg hfekkeejfefgleekleevvdefuefhleevfeelledutdenucffohhmrghinhepfhhrvggvsg hsugdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegsughrrghgohhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddutd egvdefheekieegqddukedutdekheduqdgsughrrghgohhnpeephfhrvggvuefuffdrohhr ghesihhmrghprdgttg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C9A37CA005D; Tue, 16 Feb 2021 11:02:49 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-141-gf094924a34-fm-20210210.001-gf094924a Mime-Version: 1.0 Message-Id: In-Reply-To: <679869967.9.1613490921704@localhost> References: <679869967.9.1613490921704@localhost> Date: Tue, 16 Feb 2021 10:02:07 -0600 From: "Brandon Bergren" To: "FreeBSD Current" Subject: Re: pkg vs uname troubles after upgrade to 14 Content-Type: text/plain X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 16:02:50 -0000 IIRC, the detection works by probing /bin/sh, make sure you upgraded your base properly. On Tue, Feb 16, 2021, at 9:55 AM, Ronald Klop wrote: > Hi, > > Upgraded from 13 to 14. > > # uname -UK > 1400003 1400003 > > But elfdump on uname gives: > note (.note.tag): > FreeBSD 1300133 (NT_FREEBSD_ABI_TAG) > > > # pkg -o OSVERSION=1400003 upgrade > pkg: Warning: Major OS version upgrade detected. Running "pkg > bootstrap -f" recommended > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > Updating database digests format: 100% > Checking for upgrades (1 candidates): 100% > Processing candidates (1 candidates): 100% > Checking integrity... done (0 conflicting) > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be REINSTALLED: > pkg-1.16.2 (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:13:aarch64:64') > > Number of packages to be reinstalled: 1 > > > How do I do this properly? Rebuilding name still gives it the ELF note > of 1300133. > It does not matter if I pass "-o OSVERSION=1400003" to pkg or not. > Found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104, but I > don't think it was really resolved. > > This is on aarch64. And why does pkg not use the version uname is > reporting by -UK instead of the ELF note? > > Regards, > Ronald. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Brandon Bergren bdragon@FreeBSD.org