Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2018 11:30:52 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: pkg does not recognize correct kernel version
Message-ID:  <alpine.BSF.2.21.1802201128270.24158@mail.fig.ol.no>
In-Reply-To: <op.zepfusvakndu52@klop.ws>
References:  <op.zeo60hflkndu52@klop.ws> <eeae41de-d83b-93b4-0b69-bb62c9e84bb4@gwdg.de> <op.zeo9mlutkndu52@klop.ws> <80b54e13-7e6c-a52e-4d42-16903e16e67b@gwdg.de> <20180219210551.GE94212@kib.kiev.ua> <op.zepfusvakndu52@klop.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Feb 2018 23:38+0100, Ronald Klop wrote:

> Does this mean I always have to do a *clean* buildworld after every version
> bump? This takes ages.

Yes, I've come to the conclusion that whenever __FreeBSD_version in 
sys/sys/param.h is incremented, then it's time to blow away /usr/obj, 
recreate everything to ensure the correct value of osversion in the 
.note.tag section of each executable, and reinstall base prior to 
updating localbase. See PR 225104 for more details, 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104.

-- 
Trond.



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