Error upgrading 11.1-STABLE -> 12.0-STABLE

Hello,

I'm trying to upgrade FreeBSD from 11.1-STABLE to 12.0-CURRENT by building from source.
In the middle of build process just before switching to chroot I get following error:
Code:
UNAME_r and OSVERSION don't agree on major version number

Someone ever got this kind of error?
Best regards.
 
Last edited by a moderator:
why not use FreeBSD 12 STABLE branch?
Code:
svnlite co svn://svn.freebsd.org/base/stable/12 /usr/src
few days ago i upgraded FreeBSD 10 to 12-STABLE with no issues.
 
Do it properly. Use svnlite(1) to get the proper source tree. Then:
Code:
cd /usr/src
make buildworld buildkernel
make installkernel
mergemaster -p
make installworld
mergemaster -U
make -DBATCH_DELETE_OLD_FILES delete-old
make -DBATCH_DELETE_OLD_FILES delete-old-libs
pkg-static install -f pkg
pkg upgrade

If you have problems doing this I suggest you switch to 12.0-RELEASE and stay on a -RELEASE for now.
 
Back
Top