From nobody Mon Jan 29 20:34:15 2024 X-Original-To: freebsd-pkgbase@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 4TP0QZ0sftz59NCX for ; Mon, 29 Jan 2024 20:34:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4TP0QY2MyJz4MFd for ; Mon, 29 Jan 2024 20:34:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=MSiUoDaf; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706560467; bh=xgG7P3O4VwONVXMfMlkoF0mjkt08odNhPfTDlckW6qw=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=MSiUoDafzDuxuAwUgEFm2QNhGvPAVkiKXUgTwInnA2DbvbeCuQTY5lIgwJmbsOdvnqlpW8DRfnHykCk5qC4rvKjOQ5BsEPKWR5kMNiax69SNdpHl/bZ+1QcVKximhE+Qv+VFdH6rjgQOxvXayueMqvnQN+G7qOjWONwifHdQ6EJsajBi/6kGktbdNAJ3k47lpdz1pRO1GvZ0dIA3wEtyE8de6ndYsuKzL9JIQztgxWqSTmaX6nBGxHvtGGhZj06cQBkr9EwfjVDiOCIvsXa/woXWhiGGa+XBvqScrdHAJqd9cwmzUYElhi2sU2fQoPIRtaX7Kc2TFSQx6xR+9lezGw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706560467; bh=FRrF0Ka0lgO7WH7E/Pn9L7a5rFmBHdkiPDCrlfp28QT=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=kmcPALhKD8bkd8ZAyHWakienBEShCE8bTQ2W7/If3R1LF225K3Rs+BeVtYVNRQZNQjn5+L9dqiH6aBIY/RIqkU9IgPCEpDEt7hoJt79TsFJPdqHDDOXAHxS9q4UVKDW6SRAKkJUU5y/eqPohPeM0jC+LM606TdhQgyX7eH+lI6DhuzzkMvIsNPuhWq8kZ9ddOU9OGDQ8AqLvGQ/PbNNmMNd9kiiFDHSCOreZXoE+I/ogNEqBBP7mis/67LMUaVdHsLidIKgNLt3bTYZEF6HydWb9he5CKTszSLwKktrm9RPEEV0PN/abKRvi2dJErwOUr4IiUXJAWmM85rAm/KNyjA== X-YMail-OSG: 8nvkIt4VM1nGYvMnqwsgs7sII72VqhuAaR6bnLAn4i8KutNkKDAggTJclN9_l7L DhpwIJFMqWpZKE289unRQL6Uv.IdQAupameisqeIsZhipdHXLt2BpGTHOaDcKa9linFiLRQPFpyh sXToT2gPR2_qcqYF_XJLHjmlvEmOxgT.5nTGhjRNbvTyQ6pwKbEsBnpFyn0NgtxCReAy8Uzd0UOE FiBgRovZNFlnovMnS9CjbkyS8xa31MmjPur_sFopHSlivFJKFV44SRgw_O3mGvcytYrymdBAIkZ1 OCPec_4OHL6.WgYh9RxwJdf0IlcYW21XAVbwYtmsvajfBvfCozEtremWGCv03Ao9h9WRQ3bbaLwy lwuPmI9GJha_mHyqqaHqnu76FL5ddN0pVgnmSsZU5AQhT3BI6wPN0AoRbCvbpVG.MZHcdLgzvcWc 9FhMnaoR7YmO690a34cNfq4dmMJTkVW0Dkjre_6W7lBS1A1zd7s.Y5ub8ehxb3WWF.6Ec22t2jD8 Yn6WXLAmzfHfRQjkgIgIq96M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.JdxgjglY5_Sd02qyEc6kG7yEhHTLxDpk63BVk7 G1oLGdHDUFZro_alfJUnYbYHPccVzu37L9A3nmnVDqC5Ufg8zVJeRYyvZg5eXBp8nv2q17Qtet0f ziJAYfzuhR7SOSnAcacgUUqoW7ml13lZC5j0ebuhPWCi6Q6pGuu5WJb.C6pPEKALF5J2gP9VoEmn RYRQ.3mAMVvZztOGza54AWQ7mHH1PSS23bKsq21PgDly.Qrh9rI.GsAtkIegAva1XTBbHL_MqcO_ 8Bg3F6.ChNNkXlCJAUFhxYUc3rqnceTpmXGCrzGLlOd0A8fFu7XxJkL4olUDKryDal1ng_3z7S7Z J6T5qfwSvMhB1inH1O6UM6.RCGm5mS4_QNW9CWU4JfvASTeFpTTraQy78c4L7nUHWID0faRk7uXb _ryOkrozrH6bI2_PUdr476f7IiZN2Zgi_4pWuOdEqPA.tX5snKGYMfo67oeDwnWP5bGoFyB4Ke1q gJVuhClSAMxUsSwJhHCAj3z.1IHoWsyUyTmBe1vYrNRkEECDn18HteposOarsNr23dkkLVwfhEvJ lDe36v7lFJiBsyp7lgx_AaVBxRsfUfhA2zKXXymN_1inNQ9U3aiizw6maZjVh8l9jY3orsP6vVTC ifHfP91xvFsy_6QoM2SkFLnCYW2Ebx.tXlbR6G1ii9Wc3iF9KkQt62UzaajS35YbTgdffUq5p3W8 U8QreEj8NUfkHJz0fo78- X-Sonic-MF: X-Sonic-ID: 1c5d80b6-5fa6-475e-a2cc-a62544b27c67 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Mon, 29 Jan 2024 20:34:27 +0000 Received: by hermes--production-gq1-5c57879fdf-8lthq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cdf5c8c8c4d2926125657d64edda47dd; Mon, 29 Jan 2024 20:34:26 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: pkgbase sometimes reported package vs. running kernel mismatches [ 1400505 vs. 1400501] (despite uname -KU producing 1400505 1400505) Message-Id: <3CD68D93-AADB-463C-84B7-AB1D797D469D@yahoo.com> Date: Mon, 29 Jan 2024 12:34:15 -0800 To: Baptiste Daroussin , FreeBSD-pkgbase@freebsd.org X-Mailer: Apple Mail (2.3774.300.61.1.2) References: <3CD68D93-AADB-463C-84B7-AB1D797D469D.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[FreeBSD-pkgbase@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from] X-Rspamd-Queue-Id: 4TP0QY2MyJz4MFd Baptiste Daroussin wrote on Date: Mon, 29 Jan 2024 08:18:00 UTC : > On Sat, Jan 20, 2024 at 02:07:54AM -0800, Mark Millard wrote: > > I got some odd reports of the likes of: > >=20 > > Newer FreeBSD version for package FreeBSD-tcpd-lib32: > > To ignore this error set IGNORE_OSVERSION=3Dyes > > - package: 1400505 > > - running kernel: 1400501 > > Ignore the mismatch and continue? [y/N]:=20 > >=20 > > It was in a context with: > >=20 > > # uname -apKU > > FreeBSD generic 14.0-STABLE FreeBSD 14.0-STABLE = stable/14-n266448-e2b71e1490a3 GENERIC arm64 aarch64 1400505 1400505 > >=20 >=20 > This is a known issue which only happends due to the fact that the = packages are > built "WITHOUT_CLEAN=3Dyes". >=20 > pkg does determine what is the running version of freebsd by analysing = the uname > binary elf notes. Since the comparison is with uname -U like results instead of with uname -K like results, should the "- running kernel:" be worded to not mislead about the type of version it is reporting? I'll also note that if pkgbase gets/has the ability to do just one of kernel vs. world in a given use, then there would be other ways for a uname -K vs. uname -U mismatches. > Why the uname binary? because it is the only binary which is rebuilds = each time > sys/param.h is updated for uname -U. >=20 > The problem when sys/param.h is updated crt1.o is not being update and = this is > where the elf notes is added from. meaning with incremental build the = note is > never updated :( If crtl.o ends up being updated, how much will rebuild via (indirectly) depending on crtl.o ? Everything that involves crtl.o ? > See: > https://reviews.freebsd.org/D43417 =3D=3D=3D Mark Millard marklmi at yahoo.com