Package Details: yay 12.3.5-1

Git Clone URL: https://aur.archlinux.org/yay.git (read-only, click to copy)
Package Base: yay
Description: Yet another yogurt. Pacman wrapper and AUR helper written in go.
Upstream URL: https://github.com/Jguer/yay
Keywords: arm AUR go helper pacman wrapper x86
Licenses: GPL-3.0-or-later
Submitter: jguer
Maintainer: jguer
Last Packager: jguer
Votes: 2168
Popularity: 37.81
First Submitted: 2016-10-05 17:20 (UTC)
Last Updated: 2024-03-23 22:58 (UTC)

Pinned Comments

jguer commented on 2024-03-16 08:06 (UTC)

yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory

This will happen if you upgrade pacman and yay separately If you have this error you need to manually recompile yay

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

jguer commented on 2019-04-16 14:08 (UTC)

I cannot delete the spam comments appearing regularly in this page, which has also led me to disable notifications from here. I remind that the best way to receive support or report a problem is through the Upstream URL.

Latest Comments

« First ‹ Previous 1 .. 28 29 30 31 32 33

egrupled commented on 2017-12-05 11:12 (UTC) (edited on 2017-12-05 11:14 (UTC) by egrupled)

I think I found it. At first I tried build it with pacaur and it failed. I tried then manually with makepkg and it worked.

It seems that pacaur discards env variables between prepare and build sections. It means it's better to set them twice like this:

prepare() {
  export GOPATH="${srcdir}/.go"
  export GOBIN="$GOPATH/bin"
  mkdir -p "$GOPATH"
  rm -rf "$GOPATH/src"
  ln -sf "$srcdir/$pkgname-$pkgver/vendor" "$GOPATH/src"
}

build() {
  export GOPATH="${srcdir}/.go"
  export GOBIN="$GOPATH/bin"
  cd "$srcdir/$pkgname-$pkgver"
  go build -v -o ${pkgname} -ldflags "-s -w -X main.version=${pkgver}"
}

jguer commented on 2017-12-05 03:20 (UTC)

Weird, just tried a clean build and it worked. It appears your $GOPATH is not being changed to the temporary one. I'm trying to reproduce it.

egrupled commented on 2017-12-04 09:53 (UTC) (edited on 2017-12-05 10:55 (UTC) by egrupled)

Doesn't build after https://aur.archlinux.org/cgit/aur.git/commit/?h=yay&id=c36666539b51 and https://aur.archlinux.org/cgit/aur.git/commit/?h=yay&id=1cec81f1f8e5

completions.go:9:2: cannot find package "github.com/jguer/go-alpm" in any of:

/usr/lib/go/src/github.com/jguer/go-alpm (from $GOROOT)

/home/user/go/src/github.com/jguer/go-alpm (from $GOPATH)

dependencies.go:7:2: cannot find package "github.com/mikkeloscar/aur" in any of:

/usr/lib/go/src/github.com/mikkeloscar/aur (from $GOROOT)

/home/user/go/src/github.com/mikkeloscar/aur (from $GOPATH)

install.go:9:2: cannot find package "github.com/mikkeloscar/gopkgbuild" in any of:

/usr/lib/go/src/github.com/mikkeloscar/gopkgbuild (from $GOROOT)

/home/user/go/src/github.com/mikkeloscar/gopkgbuild (from $GOPATH)

==> ERROR: A failure occurred in build().

jguer commented on 2017-10-25 11:55 (UTC)

You're right, will remove it next minor release.

egrupled commented on 2017-10-21 14:04 (UTC)

GPL3 is license already included in https://www.archlinux.org/packages/core/any/licenses/ you don't have to install it separately for each package. Please remove it from PKGBUILD

jguer commented on 2017-04-25 15:43 (UTC)

yay doesn't use checksums since it compiles from a git source and it's building fine over here but I've regenerated the .SRCINFO to make sure there is no missing field.

klingt.net commented on 2017-04-25 08:10 (UTC) (edited on 2017-04-25 08:10 (UTC) by klingt.net)

Did you forgot to run `updpkgsums`? ``` ... :: Installing yay package(s)... :: yay package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD. ```