Package Details: micro-git v1.4.1.2c219ba-1

Git Clone URL: https://aur.archlinux.org/micro-git.git (read-only)
Package Base: micro-git
Description: A modern and intuitive terminal-based text editor
Upstream URL: https://github.com/zyedidia/micro
Keywords: micro text-editor
Licenses: MIT
Conflicts: micro
Submitter: sukso96100
Maintainer: Jake
Last Packager: Jake
Votes: 14
Popularity: 0.252213
First Submitted: 2016-04-27 11:14
Last Updated: 2019-03-03 13:00

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

WAAAGH.313ph4n7 commented on 2019-03-15 18:50

Edit: Nevermind, I reinstalled the system for a completely different reason and now it works perfectly.

I am getting the following error on Raspberry Pi 3 (aarch64):

go build -ldflags "-s -w -X main.Version=1.4.2-61 -X main.CommitHash=2c219ba -X 'main.CompileDate=March 15, 2019' " ./cmd/micro

_/home/pi/.cache/yay/micro-git/src/micro-git/cmd/micro

<autogenerated>:1: illegal combination: 00560 (/home/pi/.cache/yay/micro-git/src/micro-git/cmd/micro/terminal.go:125) TSTW $1689262177517664, R3 make: *** [Makefile:15: build] Error 2

Any idea what that is about?

Jake commented on 2019-03-03 13:00

Thanks MarcusE1W and ReDemoNBR! I have added the ARM archs now.

MarcusE1W commented on 2019-02-20 15:30

Hi.

I have successfully build micro for the aarch64 (ARM) architecture on a Pinebook without any changes. So you probably could add aarch64 to the supported architectures.

Thanks for the package.

ReDemoNBR commented on 2017-12-15 00:47

I tested and it is correctly building and working for arch 'armv7h' and 'armv6h'. You can add them if you want to.

Jake commented on 2017-09-09 17:07

I have fixed the build errors with symlinks in these paths, hope this works for everyone.

unkier commented on 2017-07-25 10:29

yep, same error...

ibrokemypie commented on 2017-07-16 12:08

not building for me...
$ makepkg -Ci
==> Making package: micro-git v1.2.0.2bbd299-1 (Sun Jul 16 22:07:53 AEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating micro-git git repo...
Fetching origin
==> Validating source files with md5sums...
micro-git ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of micro git repo...
Cloning into 'micro-git'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
git pull
Already up-to-date.
git submodule update
go build -ldflags "-s -w -X main.Version=1.2.1-77 -X main.CommitHash=2bbd299 -X 'main.CompileDate=July 16, 2017' " ./cmd/micro
cmd/micro/pluginmanager.go:16:2: cannot find package "github.com/blang/semver" in any of:
/usr/lib/go/src/github.com/blang/semver (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/blang/semver (from $GOPATH)
cmd/micro/command.go:16:2: cannot find package "github.com/dustin/go-humanize" in any of:
/usr/lib/go/src/github.com/dustin/go-humanize (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/dustin/go-humanize (from $GOPATH)
cmd/micro/micro.go:13:2: cannot find package "github.com/go-errors/errors" in any of:
/usr/lib/go/src/github.com/go-errors/errors (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/go-errors/errors (from $GOPATH)
cmd/micro/micro.go:14:2: cannot find package "github.com/mattn/go-isatty" in any of:
/usr/lib/go/src/github.com/mattn/go-isatty (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/mattn/go-isatty (from $GOPATH)
cmd/micro/cellview.go:4:2: cannot find package "github.com/mattn/go-runewidth" in any of:
/usr/lib/go/src/github.com/mattn/go-runewidth (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/mattn/go-runewidth (from $GOPATH)
cmd/micro/autocomplete.go:8:2: cannot find package "github.com/mitchellh/go-homedir" in any of:
/usr/lib/go/src/github.com/mitchellh/go-homedir (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/mitchellh/go-homedir (from $GOPATH)
cmd/micro/eventhandler.go:7:2: cannot find package "github.com/sergi/go-diff/diffmatchpatch" in any of:
/usr/lib/go/src/github.com/sergi/go-diff/diffmatchpatch (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/sergi/go-diff/diffmatchpatch (from $GOPATH)
cmd/micro/actions.go:9:2: cannot find package "github.com/yuin/gopher-lua" in any of:
/usr/lib/go/src/github.com/yuin/gopher-lua (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/yuin/gopher-lua (from $GOPATH)
cmd/micro/actions.go:10:2: cannot find package "github.com/zyedidia/clipboard" in any of:
/usr/lib/go/src/github.com/zyedidia/clipboard (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/zyedidia/clipboard (from $GOPATH)
cmd/micro/settings.go:11:2: cannot find package "github.com/zyedidia/glob" in any of:
/usr/lib/go/src/github.com/zyedidia/glob (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/zyedidia/glob (from $GOPATH)
cmd/micro/bindings.go:8:2: cannot find package "github.com/zyedidia/json5/encoding/json5" in any of:
/usr/lib/go/src/github.com/zyedidia/json5/encoding/json5 (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/zyedidia/json5/encoding/json5 (from $GOPATH)
cmd/micro/buffer.go:19:2: cannot find package "github.com/zyedidia/micro/cmd/micro/highlight" in any of:
/usr/lib/go/src/github.com/zyedidia/micro/cmd/micro/highlight (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/zyedidia/micro/cmd/micro/highlight (from $GOPATH)
cmd/micro/actions.go:11:2: cannot find package "github.com/zyedidia/tcell" in any of:
/usr/lib/go/src/github.com/zyedidia/tcell (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/zyedidia/tcell (from $GOPATH)
cmd/micro/micro.go:19:2: cannot find package "github.com/zyedidia/tcell/encoding" in any of:
/usr/lib/go/src/github.com/zyedidia/tcell/encoding (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/github.com/zyedidia/tcell/encoding (from $GOPATH)
cmd/micro/micro.go:20:2: cannot find package "layeh.com/gopher-luar" in any of:
/usr/lib/go/src/layeh.com/gopher-luar (from $GOROOT)
/tmp/makepkg/micro-git/src/micro-git/src/layeh.com/gopher-luar (from $GOPATH)
make: *** [Makefile:15: build] Error 1
==> ERROR: A failure occurred in build().
Aborting...

sukso96100 commented on 2017-06-08 02:33

hi all, just fixed build error. try again plz.

felixsanz commented on 2017-06-03 08:47

I'm also having the gopath issue, package doesn't install.

andykluger commented on 2017-05-15 17:15

OK, I got further along by adding

export GOBIN="$GOPATH/bin"

and then all the way through by changing the first install line in the package function to

install -Dm755 $srcdir/$pkgname/bin/micro "$pkgdir/usr/bin/micro"