Help with complicated go port update (multimedia/navidrome)
Kevin Bowling <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <CAK7dMtAus8D1trMjKGYZvmxyYqop8VOetG+99OHvt5JGoGzxSQ@mail.gmail.com> |
I am bumping up against some limits in the ports Go support and
wondering if anyone can point me in the right direction. I get into
an unbuildable situation when updating multimedia/navidrome to the
latest release. I suspect it is modules2tuple needing some
maintenance as I'm already accumulating some oddities like needing to
maintain a "slow porting method" and a modules.txt file outside the
build.
Tentative update patch is here:
https://people.freebsd.org/~kbowling/navidrome-0.58.0.patch
Where it errors as such:
===> Building navidrome from .
vendor/github.com/knqyf263/go-plugin/wasm/host.go:12:2: cannot find
module providing package github.com/tetratelabs/wazero/ap
i: import lookup disabled by -mod=vendor
package github.com/navidrome/navidrome
imports github.com/navidrome/navidrome/cmd
imports github.com/navidrome/navidrome/plugins
imports github.com/tetratelabs/wazero
vendor/github.com/tetratelabs/wazero/backend_kqueue.go:14:2:
use of internal package github.com/fsnotify/fsnotify/int
ernal not allowed
plugins/api/api_options.pb.go:14:2: cannot find module providing
package github.com/tetratelabs/wazero/imports/wasi_snapshot_
preview1: import lookup disabled by -mod=vendor
plugins/api/api_host.pb.go:17:2: cannot find module providing package
github.com/tetratelabs/wazero/sys: import lookup disabl
ed by -mod=vendor
*** Error code 1
This failing dep is one of the post-extract special things: @${RLN}
${WRKSRC_fsnotify_fsnotify}
${WRKSRC}/vendor/github.com/tetratelabs/wazero
If I do a make extract, I can manually go mod vendor in there and
build at my shell. But I haven't figured out what is going wrong when
trying to replicate so it builds clean in poudriere.
Regards,
Kevin