Package Details: lf 13-4

Git Clone URL: https://aur.archlinux.org/lf.git (read-only, click to copy)
Package Base: lf
Description: A terminal file manager inspred by ranger written in Go
Upstream URL: https://github.com/gokcehan/lf
Licenses: MIT
Submitter: None
Maintainer: nvllsvm
Last Packager: nvllsvm
Votes: 14
Popularity: 2.19
First Submitted: 2016-10-06 21:37
Last Updated: 2019-11-02 03:57

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

nvllsvm commented on 2019-11-02 04:03

For anyone upgrading from an older release of this package (<13-4) and using yay - you need to manually clear the cache for the package.

You'll have to use sudo or some chowning due to user hostile bullshit with Go's dependency management: https://github.com/golang/go/issues/27455

For yay, just:

sudo rm -rf ~/.cache/yay/lf

karcher commented on 2019-10-31 10:03

I'm getting an error during update (apparently due to permission issues):

==> Making package: lf 13-4 (Thu 31 Oct 2019 10:35:40 AM CET)
==> Retrieving sources...
  -> Found lf-r13.tar.gz
==> Validating source files with sha256sums...
    lf-r13.tar.gz ... Passed
==> Cleaning up...
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_appengine.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/benchmark_test.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/.travis.yml': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_test.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_posix_test.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_posix.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/README.mkd': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_js.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/LICENSE': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/api_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/termbox_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/keyboard.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/random_output.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/output.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/paint.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/editbox.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/raw_input.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/interrupt.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_netbsd.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/termbox.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_darwin.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_darwin_amd64.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_linux.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/terminfo_builtin.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/collect_terminfo.py': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_openbsd.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_dragonfly.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/escwait.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/api.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_freebsd.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/terminfo.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/termbox_common.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/README.md': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/LICENSE': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/api_common.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/AUTHORS': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/escwait_darwin.go': Permission denied
==> WARNING: PACKAGER should have the format 'Example Name <email@address.invalid>'
==> Making package: lf 13-4 (Thu 31 Oct 2019 10:35:43 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found lf-r13.tar.gz
==> Validating source files with sha256sums...
    lf-r13.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_appengine.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/benchmark_test.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/.travis.yml': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_test.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_posix_test.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_posix.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/README.mkd': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_js.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/runewidth.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/mattn/go-runewidth@v0.0.4/LICENSE': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/api_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/termbox_windows.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/keyboard.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/random_output.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/output.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/paint.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/editbox.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/raw_input.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/_demos/interrupt.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_netbsd.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/termbox.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_darwin.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_darwin_amd64.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_linux.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/terminfo_builtin.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/collect_terminfo.py': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_openbsd.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_dragonfly.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/escwait.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/api.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/syscalls_freebsd.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/terminfo.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/termbox_common.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/README.md': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/LICENSE': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/api_common.go': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/AUTHORS': Permission denied
rm: cannot remove '/home/user/.cache/yay/lf/src/pkg/mod/github.com/nsf/termbox-go@v0.0.0-20190325093121-288510b9734e/escwait_darwin.go': Permission denied

==> ERROR: An unknown error has occurred. Exiting...
Error making: lf

nvllsvm commented on 2019-10-27 15:29

@sseneca aarch64 support has been added.

@ruy16109 man page has been added

sseneca commented on 2019-10-27 10:01

Could you add 'aarch64' as a supported architecture? Adding that to the PKGBUILD makes the package work fine on my rPi running Arch Linux ARM.

ruy16109 commented on 2019-10-18 16:42

Is it possible to include the manpage during installation in the new update? Currently there is no manpage even though it is available in the upstream repo.

To add the manpage, I added the following lines at the end of package() in PKGBUILD:

local _mansec=1
install -Dm644 ./${pkgname}.${_mansec} -t "${pkgdir}/usr/share/man/man${_mansec}"

rumpelsepp commented on 2019-10-05 06:49

Using a non-GOPATH build resulted in build sources being placed in my ~/go directory. I do not think that is appropriate.

Yes it is, since this is how it works, and it is the default. Also, I think, you skip upstream's dependency versioning by changing the built to the deprecated GOPATH build. If you do not want the build system to create files in your homedir, then set GOPATH outside of the PKGBUILD to /tmp or something.

Requiring go-pie to build this is too opinionated - especially when it requires someone to uninstall their existing go installation.

This needs to be discussed with the arch team.

nvllsvm commented on 2019-10-05 05:11

  • Using a non-GOPATH build resulted in build sources being placed in my ~/go directory. I do not think that is appropriate.
  • Requiring go-pie to build this is too opinionated - especially when it requires someone to uninstall their existing go installation. There is no harm in requiring the regular go package as the go-pie package can be used as a drop-in replacement (provides).

rumpelsepp commented on 2019-10-04 05:32

Thank you!

nvllsvm commented on 2019-10-03 22:41

Package fixed.

@rumpelsepp - I didn't use your patch, but I did add -trimpath to the build arguments. Also - why did you make go-pie an explicit requirement when go is more than sufficient?

kronikpillow commented on 2019-09-27 16:37

still fails to build :-/ please fix the package