Solved broken `bsd.port.mk' after installing 14.0-CURRENT

(I am confused whether to post this here or `Installing and Upgrading FreeBSD' to be honest)

Code:
make: "/usr/ports/Mk/bsd.port.mk" line 1205: UNAME_r (14.0-CURRENT) and OSVERSION (1300525) do not agree on major version number.

The local ports is synced to main remote branch

I had WITH_REPRODUCIBLE_BUILD in /etc/src.conf so that could be the culprit but i just want to make sure
 
Most likely, your update isn't complete. What does freebsd-version -kru show? Did you actually install world?

The ports framework takes OSVERSION from /usr/include/sys/param.h, which should be installed with world...
 
Most likely, your update isn't complete. What does freebsd-version -kru show? Did you actually install world?

The ports framework takes OSVERSION from /usr/include/sys/param.h, which should be installed with world...
I had -j while running make installworld so it might have not been installed properly

As #2 posted i did not read the rules and so i will just download snapshot image and reinstall everything

Thank you
 
Unless you plan on developing on/for FreeBSD there's usually no reason to run -CURRENT. And it is assumed that people that do run -CURRENT know what they are doing.
 
Unless you plan on developing on/for FreeBSD there's usually no reason to run -CURRENT.
Sometimes (rarely), hardware support is another reason, but this doesn't change anything about:
And it is assumed that people that do run -CURRENT know what they are doing.
Giving help/support is pretty limited by the nature of a development branch: Anything could change (and: break) at any time. That's why you're advised to follow the mailing list if you're running it.
i will just download snapshot image and reinstall everything
You will need to learn how to install/update it from source without breaking anything yourself. That's kind of the bare minimum, otherwise it would really be better to stick to a supported release.
 
Back
Top