Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915628 - app-editors/micro: syntax highlight doesn't work
Summary: app-editors/micro: syntax highlight doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Beddek
URL: https://bugs.freebsd.org/bugzilla/sho...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-12 09:44 UTC by Anna Vyalkova
Modified: 2023-10-20 03:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Vyalkova 2023-10-12 09:44:27 UTC
You need to run "go generate ./runtime" before build.

See:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267122
Comment 1 Alan 2023-10-16 21:01:24 UTC
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."
Comment 2 Alan 2023-10-16 21:02:29 UTC
I suppose I should have added a link:

https://github.com/zyedidia/micro/issues/2972
Comment 3 Larry the Git Cow gentoo-dev 2023-10-20 03:49:34 UTC
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(+)