Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: net/kubo not working on current
To:
Theo Buehler <tb@theobuehler.org>
Cc:
Solène Rapenne <solene@perso.pw>, ports@openbsd.org
Date:
Tue, 20 Feb 2024 16:42:22 +0000

Download raw body.

Thread
On 2024/02/20 15:42, Theo Buehler wrote:
> On Tue, Feb 20, 2024 at 03:10:15PM +0100, Solène Rapenne wrote:
> > on current amd64, kubo isn't working, either from regular user or the
> > dedicated daemon user
> > 
> > > $ ipfs daemon         
> > > Initializing daemon...
> > > Kubo version: 0.24.0
> > > Repo version: 15
> > > System version: amd64/openbsd
> > > Golang version: go1.22.0
> > > 
> > > Error: cannot acquire lock: Lock FcntlFlock of
> > > /home/solene/.ipfs/repo.lock failed: function not implemented
> > > 
> > 
> > the FnctlFlock error happens on many ipfs commands, including ipfs init
> 
> It uses an old x/sys which means it uses syscall() to issue fcntl(). It
> needs https://go-review.googlesource.com/c/sys/+/538995 which fixes
> this.
> 
> This update should help. I don't know how to run this softwware.

It can't be worse than what's there now :-)

Any maintainers of Go ports who haven't looked at them recently, give
them a try on -current if you want a chance to fix them before 7.5.
I just tried a few randomly, just trying to run the binaries, and all
the ones I picked seem to be broken:

sysutils/planor (SIGILL, could possibly be an IBT issue as it only fails
on my laptop)

shells/elvish ("Cannot connect to daemon: unexpected RPC error on socket
/tmp/elvish-1000/sock: function not implemented", no idea)

editors/micro ("function not implemented", "Fatal: Micro could not
initialize a Screen." - no idea; I tried updating x/sys but that's not
enough)