On Jan 22, 2026, at 10:36 PM, Kurt Miller <[email protected]> wrote:
> 
> WIP: security/ghidra: Update to 12.0.1 - need help
> 
> The short version: The current status is that it builds, packages, launches
> and what I've tested so far works except for the debugger. I need help with
> the python parts of launching egdb. It currently fails it what seems like a
> disconnect with it wanting things installed via pip and I have installed
> them from packages. Not exactly sure what is going on there.
> 
> tl:dr: Upstream explains how to build the downloaded dependencies in
> preparation for an offline build. I have adapted those instructions to
> download what's needed and provide a second distfile for them. This is
> somewhat different than the prior approach but has the benefit of being
> supported upstream.
> 
> There are two main exceptions: jna and protobufs. Both of these can't be
> downloaded because upstream does not distribute prebuilt binaries for
> OpenBSD. So we need to use our ports built ones instead. Many of the
> source patches are to get control of the version numbers used in the source
> and to use our versions instead. I built out OpenBSD pty support by copying
> Linux source files and then patching them for OpenBSD. The combination of
> these three things gets me pretty far into launching the debugger.
> 
> This is a massive application with tons of features and I have only touched
> the surface of what it can do. I'm sure there are areas besides the debugger
> that may need additional attention. I'm not sure if I have all the build and
> run depends recorded as well. Let's collaborate.
> 
> -Kurt

My dev machine had py-protobuf version 6.33.2 but protobuf version 6.33.4
installed. That mismatch was causing the issues I was having launching the
debugger. It seems pretty good now.

I committed the required jna update just now. Once we have packages with
updated protobuf and jna packages, I will resend this.

-Kurt

Reply via email to