From owner-freebsd-stable@freebsd.org Thu Oct 10 15:24:54 2019 Return-Path: Delivered-To: freebsd-stable@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 9EAF41417B2 for ; Thu, 10 Oct 2019 15:24:54 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46pvyt3b4nz4DWp for ; Thu, 10 Oct 2019 15:24:54 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 794EA1417B1; Thu, 10 Oct 2019 15:24:54 +0000 (UTC) Delivered-To: stable@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 791531417B0 for ; Thu, 10 Oct 2019 15:24:54 +0000 (UTC) (envelope-from bapt@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pvyt2cTHz4DWn; Thu, 10 Oct 2019 15:24:54 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 265431FA14; Thu, 10 Oct 2019 15:24:54 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 51FF095037; Thu, 10 Oct 2019 17:24:52 +0200 (CEST) Date: Thu, 10 Oct 2019 17:24:52 +0200 From: Baptiste Daroussin To: Ronald Klop Cc: Bengt Ahlgren , stable@freebsd.org Subject: Re: pkg thinks kernel is old Message-ID: <20191010152451.zumzbrsfqdo3his4@ivaldir.net> References: <1883214925.66.1570706728382@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7pmwys7n5g6vxyzv" Content-Disposition: inline In-Reply-To: <1883214925.66.1570706728382@localhost> User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2019 15:24:54 -0000 --7pmwys7n5g6vxyzv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 10, 2019 at 01:25:28PM +0200, Ronald Klop wrote: > This message of pkg is misleading. >=20 > It looks at /bin/sh or something like that for the version. And prints th= at as the 'kernel' version. So if you did an incremental build and /bin/sh = was not changed the version stays the same. > To fix it you can do a clean buildworld/installworld. >=20 > Regards, > Ronald. I do agree the message is misleading, It should say "running world". It does not look anymore at /bin/sh because of the incremental build proble= m, it looks at uname which is always updated for uname -U during incremental buil= ds. (and falls back on /bin/sh if uname does not exist). so it says the userland of the running system is not inlined with the versi= on the packages where built for. Best regards, Bapt --7pmwys7n5g6vxyzv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl2fTTsACgkQY4mL3PG3 Plq0lQ//flk+++BV4mZV7sFoVwjRp+rTYpW5zw6SwKDPjHOjKEOymh8VJqb2/UGA 4wAWwGdQglipR0kg40CpI/UvZCGRBbJmipyfg2EqRx0pdd7GxAHa4DJlKlE36llO qfrICos5Nx13Dx/DruRrdKorO9BZqtE2pgDVIfbcjADMiLdX3smvJ+OBwNFE7D83 fFEcvQOAtt8ctlM1QxfEStf9nEseGyh1Wb54WLSOXmS9K6r5LlvMw60TWaQbBB5E eShlZil8fLy23UoBIzFyLx063Pgr/ZOq34rPNcmmzULlGqQrovsHkaTvtqQDqfPF zIj8kZIhNVeaVhM+zfslUjYGs6Rj33FXeM7nmL6KBsLun/15Fvp9j1PVOAv3319T Aj18P/HOkhQDHW8grUOUP/Qq6M1YGuHZADFbZZwDGfVpGYB1uVjd7ZJyyl9RQjaP jeCAjT5dVvk1c3SNcBBFf63lgOeWq093Bk1Rf/+dzaJtPNpbZ/xlWJXPACwdViPu F5pWets49ddaN93g+OLH7o4lxuUyYYmgTwJOgbyrbh+roew8Ujk9fMWxSM9bZVB6 NINdF4oKSNIIU4Flv51I97MAvRL1gvi0uZdyTmxdHga7hcmZ4kVTiRK28sh0CQ5c 3XZ16wl484eIjIIMTkt3+E0c/vE7V5+tXk3+Dq+1rvwLQvfM6L8= =xBtv -----END PGP SIGNATURE----- --7pmwys7n5g6vxyzv--