Re: building bhyve from source

From: Corvin Köhne <corvink_at_FreeBSD.org>
Date: Wed, 13 Dec 2023 07:00:42 UTC
On Tue, 2023-12-12 at 16:04 -0500, Sean McBride wrote:
> On 12 Dec 2023, at 15:42, Patrick M. Hausen wrote:
> 
> > Compile on 13.1-p(latest) if possible
> 
> Quite possible. I'm doing the compiling in a VM, so I'll just create
> another.
> 
> I suppose I may as well put TrueNAS in a VM and do my compiling in
> that.  Then I match up perfectly.

It's required that your __FreeBSD_version matches (see
sys/sys/param.h). Not sure if TrueNAS touches that.

> 
> > or if you can stand/afford to wait a bit longer,
> > wait for TrueNAS CORE 13.1 which will be based on FreeBSD 13.2.
> 
> Can't wait. :) Our linux VMs die every few days. Either I get this
> fixed or I abandon bhyve. I've seen on the TrueNAS forums that you
> don't seem to experience this problem, I wish I knew what was
> different about our setups. Some other easier workaround would be
> fine by me. :)
> 
> > If the patch is merged to releng/13.2 by the FreeBSD project it
> > will most probably
> > land in TN 13.1 without further work on your part.
> 
> According to https://reviews.freebsd.org/D39620#978524 it's in
> stable/13 but not releng/13.2.  Who/where should I request it get
> into the latter?  In that ticket I guess?
> 

You have to reach out to the release engineering team/security
officers. I've never done it, so I'm not sure how to do that. The only
information I've found so far is:

https://docs.freebsd.org/en/articles/freebsd-releng/#releng-wrapup

> PS: thanks for your many helpful comments on the TrueNAS forum BTW!
> 
> Cheers,
> 
> Sean
> 

-- 
Kind regards,
Corvin