pkg does not recognize correct kernel version

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue Feb 20 10:31:04 UTC 2018


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.


More information about the freebsd-current mailing list