==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
flag provided but not defined: -i
usage: go build [-o output] [build flags] [packages]
Run 'go help build' for details.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: lazygit-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
lazygit-git - exit status 4
Search Criteria
Package Details: lazygit-git 0.38.2.r89.ec5075104-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/lazygit-git.git (read-only, click to copy) |
---|---|
Package Base: | lazygit-git |
Description: | A simple terminal UI for git commands |
Upstream URL: | https://github.com/jesseduffield/lazygit |
Licenses: | MIT |
Conflicts: | lazygit |
Provides: | lazygit |
Submitter: | fuero |
Maintainer: | fuero |
Last Packager: | fuero |
Votes: | 5 |
Popularity: | 0.000007 |
First Submitted: | 2018-08-07 11:54 (UTC) |
Last Updated: | 2023-05-22 08:45 (UTC) |
Dependencies (3)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- git (git-gitAUR, git-glAUR) (make)
- go-pie (go) (make)
Required by (1)
- lunarvim-git (requires lazygit) (optional)
Sources (1)
friday13 commented on 2023-05-22 04:58 (UTC)
zqueal commented on 2020-04-22 05:04 (UTC)
Changed go-pie
to go
in the PKGBUILD
and everything went fine.
dindybutts commented on 2018-08-13 20:50 (UTC)
@fuero Can confirm it works here, Thanks a bunch.
neeks commented on 2018-08-13 04:44 (UTC)
@fuero happy to report it's working with yay
on my box as well! Thanks for getting this resolved!
fuero commented on 2018-08-12 22:06 (UTC)
@neeks, dindybutts, Veras: Please try the latest version and report back - It works for me (tm) with yay.
neeks commented on 2018-08-11 20:06 (UTC) (edited on 2018-08-11 20:08 (UTC) by neeks)
Continuing from the Github issue thread...
I'm using yay
like @dindybutts and I get the same errors. makepkg
works as expected.
Since this is in the AUR and it's reasonable to expect people to build with AUR helpers, it be nice for this to get resolved some how.
However, I was successful in installing with pikaur
, so these issues must lie in how certain AUR helpers are attempting to build.
The next course of action should be to open issues with yay
and pacaur
dindybutts commented on 2018-08-11 18:09 (UTC) (edited on 2018-08-11 18:18 (UTC) by dindybutts)
I think the issue was something to do with my $GOPATH or $GOROOT not being set so I made a simple makefile where I set both paths and it compiles fine, It still has to invoke go get -d ./..
in the makefile though which I think is possibly unnecessary since go build
should automagically get the dependencies(?) but this works for me.
Many thanks for the help @fuero
fuero commented on 2018-08-11 17:22 (UTC) (edited on 2018-08-11 19:46 (UTC) by fuero)
edit: pinned. Comment on what to provide for help added.
What you guys experience is that your build environment is "tainted" by whatever packages exist on your system. I've had similar problems in the past with other packages :-(. With this particular package though, I can build it fine with and without chroot.
That's why pretty much all the distros build their packages in sane build environments.
As it's tough to figure out what plagues your systems, my recommendation stands - stick to chroot builds. I know it's a bother, but sadly that's the only help I can give you.
If it still doesn't work, please install devtools
and provide a complete log of your build attempt with
extra-x86_64-build -c 2>&1 | tee build.log
Upload it to a pastebin service and post the link.
dindybutts commented on 2018-08-11 17:06 (UTC) (edited on 2018-08-11 17:06 (UTC) by dindybutts)
@fuero
Here's the log you asked for: https://pastebin.com/MzTVaNyN
It's strange, it seems to build fine with the command you provided and with a simple makepgk -si
but fails while using both my aur helpers, yay
and pacaur
fuero commented on 2018-08-11 11:39 (UTC)
@dindybutts
the deps are all vendored by the author, so there's no need to download anything.
Please provide a complete log of your build attempt with
extra-x86_64-build -c 2>&1 | tee build.log
Upload it to a pastebin service and post the link.
Pinned Comments
fuero commented on 2018-08-11 17:22 (UTC) (edited on 2018-08-11 19:46 (UTC) by fuero)
edit: pinned. Comment on what to provide for help added.
What you guys experience is that your build environment is "tainted" by whatever packages exist on your system. I've had similar problems in the past with other packages :-(. With this particular package though, I can build it fine with and without chroot.
That's why pretty much all the distros build their packages in sane build environments.
As it's tough to figure out what plagues your systems, my recommendation stands - stick to chroot builds. I know it's a bother, but sadly that's the only help I can give you.
If it still doesn't work, please install
devtools
and provide a complete log of your build attempt withextra-x86_64-build -c 2>&1 | tee build.log
Upload it to a pastebin service and post the link.