Need some help with ports and rebuilding the world

Gary Jennejohn gljennjohn at gmail.com
Mon Mar 28 07:47:48 UTC 2016


On Mon, 28 Mar 2016 08:47:35 +0300
Aleksander Alekseev <afiskon at devzen.ru> wrote:

> > What's the output of these commands?:
> > 
> > freebsd-version
> > uname -r
> > uname -a
> > grep "define __FreeBSD_version" /usr/include/sys/param.h
> >   
> 
> $ freebsd-version
> 10.2-RELEASE
> 
> $ uname -r
> 11.0-CURRENT
> 
> $ uname -a
> FreeBSD portege 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r297287: Sat Mar
> 26 12:36:04 MSK 2016 root at portege:/usr/obj/usr/src/head/sys/GENERIC
> amd64
> 
> $ grep "define __FreeBSD_version" \
>   /usr/include/sys/param.h
> 
> #define __FreeBSD_version 1002000 /* Master, propagated to newvers */
> 
> It used to be FreeBSD 10.2 but I rebuilded and reinstall kernel and
> world from CURRENT according to Handbook instructions. I have exact
> steps recorded in case it would help. I hope such way of upgrading
> FreeBSD is correct?
> 

Looks like your kernel is based on 11-CURRENT but your world is
still 10.2.

Try looking at /usr/src/sys/sys/param.h.  If that contains 1100xxx
then you probably have to make buildworld followed by make installworld.

-- 
Gary Jennejohn


More information about the freebsd-current mailing list