You need to run "go generate ./runtime" before build. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267122
The dev recommended using `make build`. Here's their comment in full: "This is likely because the binary was built without building/bundling the runtime files. Did you get the binary via building from source or via a package manager? If from a package manager, you will probably need to report this to them [that is, gentoo]. They should use `make build`, or if they are manually building, run `go generate ./runtime` before running `go build ./cmd/micro`. I recommend `make build` since it also includes version information."
I suppose I should have added a link: https://github.com/zyedidia/micro/issues/2972
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8ff1e639f18dbe75f7c3cc2367a71900d2f650 commit 1d8ff1e639f18dbe75f7c3cc2367a71900d2f650 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-20 01:16:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-20 01:24:21 +0000 app-editors/micro: fix syntax highlighting Closes: https://bugs.gentoo.org/915628 Signed-off-by: Sam James <sam@gentoo.org> .../micro/files/micro-2.0.12-no-strip.patch | 25 +++++++++++++ app-editors/micro/micro-2.0.12-r1.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 68 insertions(+)