Index | Thread | Search

From:
"H. Hartzer" <h@hartzer.sh>
Subject:
Re: New port: net/monero
To:
"David Uhden Collado" <daviduhden@gmail.com>
Cc:
<ports@openbsd.org>
Date:
Mon, 03 Nov 2025 21:20:44 +0000

Download raw body.

Thread
Hi David,

On Mon Nov 3, 2025 at 6:46 PM UTC, David Uhden Collado wrote:
> There are some errors in Lucas Gabriel Vuotto's version of the 
> net/monero port.
>
> 1. It does not detect the GNU Readline library during compilation.
> 2. It uses libtinfo for terminfo routines, which does not exist in 
> OpenBSD. These routines are included in libcurses.
>
> An error occurs when building the port with the command "make 
> port-lib-depends-check": it reports that ereadline is not reachable 
> through the dependencies and that curses is unnecessary. However, this 
> is incorrect because listing the dynamic dependencies of the binaries 
> with ldd(1) shows that they have been linked correctly.
>
> /usr/local/lib/libereadline.so → ereadline
>
> /usr/lib/libcurses.so → curses
>
> I have attached my version of the net/monero port to this email. You can 
> also find it in this GitHub repository:
>
> https://github.com/daviduhden/wip-openbsd-ports

Very cool! I am giving it a try right now. Good so far.

Have you had stability issues on 7.8 with it, or has it run fine?

When I upgraded from 7.7 to 7.8, I kept having kernel crashes while
running Monero.

To help debug this, I've created a 7.7 and 7.8 VM, both with Monero
running. The 7.8 one is your port, built on 7.8.

Now I have found a flag that appears to help with the stalling:

--db-sync-mode=safe:sync:1blocks

I think it may be slower, but the system doesn't seem to lock up.

>> The port will require a notice that you'll need 300GB+ on whatever
>> partition this is mounted to. I guess 100GB+ might be okay with pruning
>> enabled.
>
> The amount of space required will continue to grow as the blockchain 
> grows larger over time.

Well, yes. I understand this :).

-Henrich