pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] sysutils/lnav: update to 0.12.4



Thanks Thomas :)


On Wed, Mar 19, 2025 at 3:24 PM Thomas Klausner <wiz%gatalith.at@localhost> wrote:
>
> Hi Marko!
>
> On Tue, Mar 18, 2025 at 09:37:58PM +0100, Marko Kaznovac wrote:
> > I've successfully built the latest released  lnav (https://lnav.org/)
> > 0.12.4 on macOS.
>
> I've tried building it on NetBSD, but it failed with:
>
> fs_util.cc: In function 'std::optional<std::filesystem::__cxx11::path> lnav::filesystem::self_path()':
> fs_util.cc:54:18: error: 'PROC_PIDPATHINFO_MAXSIZE' was not declared in this scope
>    54 |     char pathbuf[PROC_PIDPATHINFO_MAXSIZE];
>       |                  ^~~~~~~~~~~~~~~~~~~~~~~~
> fs_util.cc:56:33: error: 'pathbuf' was not declared in this scope

This seems to be a macOS specific implementation in the upstream code...

NB
I've managed to get NetBSD arm/aarch64 up and running in the latest
UTM on Sequoia
https://github.com/utmapp/UTM/discussions/7069#discussioncomment-12585063
I've seen you faced the same problem on the github issue,
see if my solution there works for you.

So I might tackle it when I get some more free time :D


> I suggest putting it in wip for now so we can get it fixed on NetBSD
> before updating pkgsrc.

Will do, thanks.


All the best,
k


Home | Main Index | Thread Index | Old Index