From nobody Tue Feb 13 17:43:27 2024 X-Original-To: pkg@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 4TZ7wH1Ymhz59MHq for ; Tue, 13 Feb 2024 17:43:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZ7wG6J5Xz41W9 for ; Tue, 13 Feb 2024 17:43:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707846206; a=rsa-sha256; cv=none; b=dNcJFNChlHzo6ONpzyxy1hb4Lfzl0EBrjfgS5DaRe5Og0WnPQ302qf0XxrzXZTeP3AqYBI C9/QnwLBFaqB5TglDxj5NL4Us5lPE+QaA8Y+EN9yp5fIIEE5hfMtjQehfdKYmHlcwuScTq wpcinTlZfQk8zDR609LKQaBE6VDGXDZ2AHlCRtdL8Ezy5hgULrxYnXb4Jcb2rVybc2q6vQ 28eQp6g/EhvHFE0/CwvxckmODrAZkFczWN9p8j8uL92D8nDUqDIjb/LNtKRbmAy4aQUFtf eKkUC2dDZ0ATRH88GQn0q8qMtYfTvz8LMDKxDnIci7LJRF1OD2U6wA1IpUjYiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707846206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dkB3+KQI7W101ucgH8LolR9kFag2443PNusYukeFe0U=; b=gk1IlRQlH0e5IXr+yEmTWeBwzDoc6ga2i3ktxWuO9OlBp6f3w02B3h8wIYIu7o6EtauUx7 fqwGU2UxscaB3n9p9SihTKGUiCVf1LfBdeoag7ASYVjO4/26hLHmMEAyxNidy2KQgXNZUO QLz4LzBK0GphOAtLepQgJX9Rt7JRNaicHjLbZBQssIBKCKUfeHNmFARqrQTa6OUux1u7VT dF9sZ2/XV1YYlDKHmJlGAu45TmN0a/dIzkg5WsAdTH/C6lUar0/5R3NZDeLnccd5t8jxkc 5DU6aEVD6JesOUGaMbl5vcFuB4XKmIbDO/vvIdTMuOOGkvlVR8/U8w+G1FsxNw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TZ7wG5MQZzPMX for ; Tue, 13 Feb 2024 17:43:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41DHhQZt026114 for ; Tue, 13 Feb 2024 17:43:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41DHhQ6L026113 for pkg@FreeBSD.org; Tue, 13 Feb 2024 17:43:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 275482] ports-mgmt/pkg: incorrectly complains about outdated os version Date: Tue, 13 Feb 2024 17:43:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275482 --- Comment #7 from Martin Birgmeier --- Yes indeed. And the output is interesting: [0]# file /usr/bin/uname /usr/bin/uname: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 14.0 (1400500), FreeBSD-style, stripped [0]# ll /usr/bin/uname -r-xr-xr-x 1 root wheel 14336 Feb 9 20:49 /usr/bin/uname [0]#=20 So it says 1400500 although it has been installed with the build of a727d8d7f50f. And the way I update the system is to first installkernel installworld it to a temporary directory and then to copy over only the cha= nged files (this is so that dump(8)s and zvol changes are minimized). So uname m= ust have changed when I did the NO_CLEAN buildworld, but still it says "for Fre= eBSD 14.0 (1400500)". Anyhow, does this mean that pkg fetches the system version from the uname binary instead of getting the actual value from the running system? -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=