Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2021 14:11:48 +0100
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        David Wolfskill <david@catwhisker.org>
Cc:        current@freebsd.org
Subject:   Re: Problem building x11/nvidia-driver; ref. n245494-6827435548d2
Message-ID:  <20210317131148.07f02896@ernst.home>
In-Reply-To: <YFH3CpyTEcacJS3S@albert.catwhisker.org>
References:  <YFHxUhTAQZystyYn@albert.catwhisker.org> <20210317121837.707dc95a@ernst.home> <YFH3CpyTEcacJS3S@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Mar 2021 05:33:14 -0700
David Wolfskill <david@catwhisker.org> wrote:

> On Wed, Mar 17, 2021 at 01:18:37PM +0100, Gary Jennejohn wrote:
> > On Wed, 17 Mar 2021 05:08:50 -0700
> > David Wolfskill <david@catwhisker.org> wrote:
> > ...   
> > > Indeed, it appears that the n245494-6827435548d2 change was intended to
> > > fix the issue that I am now just seeing.
> > >  ...
> > > So...  help?  What do I need to do to be able to build the kernel now?
> > > 
> > > (E.g., if I need to just skip building x11/nvidia-driver once, get
> > > everything installed, then build "normally" (with x11/nvidia-driver)
> > > -- that's fine; I just need a clue.)
> > >   
> > 
> > For me trying to build nvidia-driver along with the kernel always fails
> > miserably.  
> 
> Huh.  That has not been my experience: I have
> 
> PORTS_MODULES+=x11/nvidia-driver
> 
> in /etc/src.conf, and it almost always Just Works.  (I'm tracking head,
> stable/12, and (now) stable/13 daily, so that's quite a number of
> build/installs.)
> 

Well, I have obj under my home directory and do all my builds as a
normal user rather than as root.  I suspect that's why it always fails
for me.  Root owns /usr/src and /usr/ports.

But I don't rebuild the driver until the kldload fails at boot time. 
I'd guess that > 90% of kernel changes do not impact the driver's
functionality.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210317131148.07f02896>