Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2019 17:24:52 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        Bengt Ahlgren <bengt.ahlgren@ri.se>, stable@freebsd.org
Subject:   Re: pkg thinks kernel is old
Message-ID:  <20191010152451.zumzbrsfqdo3his4@ivaldir.net>
In-Reply-To: <1883214925.66.1570706728382@localhost>
References:  <uh7h84h4n1q.fsf@P142.sics.se> <1883214925.66.1570706728382@localhost>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, Oct 10, 2019 at 01:25:28PM +0200, Ronald Klop wrote:
> This message of pkg is misleading.
> 
> It looks at /bin/sh or something like that for the version. And prints that 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.
> 
> 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 problem, it
looks at uname which is always updated for uname -U during incremental builds.
(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 version
the packages where built for.

Best regards,
Bapt

[-- Attachment #2 --]
-----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-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191010152451.zumzbrsfqdo3his4>