Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2020 18:12:29 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        Adam Weinberger <adamw@adamw.org>
Cc:        Dave Horsfall <dave@horsfall.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: lsof marked ignored
Message-ID:  <d7881baf33f576d022f20cc1adcd3d8a@lerctr.org>
In-Reply-To: <CAP7rwciX1jjj2ABH_YQD=s90jYK1utkdm19tw=tFBZfkMPDxgQ@mail.gmail.com>
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> <CAP7rwciX1jjj2ABH_YQD=s90jYK1utkdm19tw=tFBZfkMPDxgQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/20/2020 5:53 pm, Adam Weinberger wrote:
> 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
it needs the sources.

I'd love to see the kernel folks make better interfaces.

I've been saying that for 2 years.


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106



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