Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2020 16:53:30 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Dave Horsfall <dave@horsfall.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: lsof marked ignored
Message-ID:  <CAP7rwciX1jjj2ABH_YQD=s90jYK1utkdm19tw=tFBZfkMPDxgQ@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.21.9999.2003210943120.11999@aneurin.horsfall.org>
References:  <37AE5B1C-8F5C-4CE7-BB8C-8FD631C5F394@kreme.com> <CAP7rwchVCaH=cFzPWnWXap%2BSj3wL7Mqfp%2BqVjA0AhtTjumZa9A@mail.gmail.com> <alpine.BSF.2.21.9999.2003210943120.11999@aneurin.horsfall.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 20, 2020 at 4:45 PM Dave Horsfall <dave@horsfall.org> wrote:
>
> On Fri, 20 Mar 2020, Adam Weinberger wrote:
>
> > That error should only occur if system sources are missing from
> > /usr/src. Check that they're still there, and if not then check them out
> > from svn.
>
> Does it not require kernel header files only?  Only distributed with the
> source, which annoyed me because at the time I didn't have the room...

That's a good question. I'm not sure whether it requires just the
headers or kernel sources beyond that. The lsof/Makefile explicitly
checks for sys/kern/kern_lockf.c so the port is definitely looking for
more than the headers.

If you want to save space, you should probably be safe checking out
just /usr/src/sys. Please let me know if I'm wrong about that; you're
certainly neither the first nor the last person to want lsof without
needing the entire src tree.

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwciX1jjj2ABH_YQD=s90jYK1utkdm19tw=tFBZfkMPDxgQ>