Re: Problem building x11/nvidia-driver; ref. n245494-6827435548d2

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Wed, 17 Mar 2021 14:11:48 +0100
On Wed, 17 Mar 2021 05:33:14 -0700
David Wolfskill <david_at_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_at_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
Received on Wed Mar 17 2021 - 12:11:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC