Package Details: yay 12.4.2-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: 2251
Popularity: 23.92
First Submitted: 2016-10-05 17:20 (UTC)
Last Updated: 2024-09-19 14:27 (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 .. 16 17 18 19 20 21 22 23 24 25 26 .. 35 Next › Last »

chungy commented on 2020-03-01 00:35 (UTC)

Fails to build with gccgo:

==> Starting build()...
go build -v -mod=mod -ldflags '-s -w -linkmode external -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.version=9.4.6"' -modcacherw -gcflags all=-trimpath=/home/chungy/.cache/yay/yay/src/yay-9.4.6 -asmflags all=-trimpath=/home/chungy/.cache/yay/yay/src/yay-9.4.6 -o yay
flag provided but not defined: -modcacherw
usage: go build [-o output] [-i] [build flags] [packages]
Run 'go help build' for details.
make: *** [Makefile:49: yay] Error 2

MagicAndWires commented on 2020-02-29 19:34 (UTC)

Currently go dependencies are currently still stored in the default GOPATH, (usually a go directory in $HOME).

Please provide a custom $GOPATH variable to avoid contaminating home folders and building outside of srcdir.

mvertes commented on 2020-02-28 16:59 (UTC)

Please add 'arm' to supported arch targets. Tested ok on a Tonido2.

surf.bluecrab commented on 2020-02-28 04:06 (UTC) (edited on 2020-02-28 04:22 (UTC) by surf.bluecrab)

Problem with go too:


==> Making package: yay 9.4.5-1 (Fri 28 Feb 2020 12:02:50 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found yay-9.4.5.tar.gz
==> Validating source files with sha1sums...
    yay-9.4.5.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting yay-9.4.5.tar.gz with bsdtar
==> Sources are ready.
==> Making package: yay 9.4.5-1 (Fri 28 Feb 2020 12:02:56 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
go build -v -mod=vendor -ldflags '-s -w -linkmode external -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.version=9.4.5"' -gcflags all=-trimpath=/tmp/makepkg/yay/src/yay-9.4.5 -asmflags all=-trimpath=/tmp/makepkg/yay/src/yay-9.4.5 -o yay
/usr/lib/go/src/internal/reflectlite/value.go:8:2: read /usr/lib/go/src/runtime/mgclarge.go: unexpected NUL in input
/usr/lib/go/src/internal/syscall/unix/at.go:10:2: read /usr/lib/go/src/syscall/tables_nacljs.go: unexpected NUL in input
/usr/lib/go/src/crypto/tls/key_schedule.go:16:2: read /usr/lib/go/src/vendor/golang.org/x/crypto/curve25519/ladderstep_amd64.s: unexpected NUL in input
make: *** [Makefile:47: yay] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
Error making: yay

Update:

I uninstalled go then manualy removed * from /usr/lib/go then resintalled go and yay. Seems to have fixed the problem.

jguer commented on 2020-02-27 17:07 (UTC)

probably because of the new go version, I'll take a look at it

leanhtai01 commented on 2020-02-27 16:12 (UTC)

Having issues installing yay:


==> Making package: yay 9.4.4-1 (Thu 27 Feb 2020 11:10:31 PM +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found yay-9.4.4.tar.gz
==> Validating source files with sha1sums...
    yay-9.4.4.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-9.4.4.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
go build -v -mod=vendor -ldflags '-s -w -linkmode external -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.version=9.4.4"' -gcflags all=-trimpath=/home/leanhtai01/Downloads/yay/src/yay-9.4.4 -asmflags all=-trimpath=/home/leanhtai01/Downloads/yay/src/yay-9.4.4 -o yay
go: inconsistent vendoring in /home/leanhtai01/Downloads/yay/src/yay-9.4.4:
    github.com/Jguer/go-alpm@v0.0.0-20191122171459-5cffc6e8fc69: is explicitly required in go.mod, but vendor/modules.txt indicates github.com/Jguer/go-alpm@v0.0.0-20191021114528-e11e8a60f385
    github.com/mikkeloscar/aur@v0.0.0-20191216074712-ebecb34b95b4: is explicitly required in go.mod, but vendor/modules.txt indicates github.com/mikkeloscar/aur@v0.0.0-20190912174111-183f80a38525

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory make: *** [Makefile:47: yay] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

aniketd commented on 2020-02-24 07:29 (UTC) (edited on 2020-02-24 07:31 (UTC) by aniketd)

nerd-fonts-fantasque-sans-mono package and other packages in the nerd family including fira etc, are no longer verifying correctly.

❯ yay -S nerd-fonts-fantasque-sans-mono
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  nerd-fonts-fantasque-sans-mono-2.1.0-1

  1 nerd-fonts-fantasque-sans-mono           (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/1): nerd-fonts-fantasque-sans-mono
  1 nerd-fonts-fantasque-sans-mono           (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: Parsing SRCINFO (1/1): nerd-fonts-fantasque-sans-mono

==> Making package: nerd-fonts-fantasque-sans-mono 2.1.0-1 (Sun 23 Feb 2020 08:27:56 PM IST)
==> Retrieving sources...
  -> Found FantasqueSansMono.zip
  -> Found LICENSE
==> Validating source files with sha1sums...
    FantasqueSansMono.zip ... FAILED
    LICENSE ... Passed
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: nerd-fonts-fantasque-sans-mono

The same package is installed without problems using the aura package manager

❯ sudo aura -A nerd-fonts-fantasque-sans-mono
[sudo] password for aniketd:
aura >>= Determining dependencies...
aura >>= AUR Packages:
nerd-fonts-fantasque-sans-mono
aura >>= Continue? [Y/n]
loading packages...
warning: nerd-fonts-fantasque-sans-mono-2.1.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) nerd-fonts-fantasque-sans-mono-2.1.0-1

Total Installed Size:  7.55 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                                                                  [########################################################################################] 100%
(1/1) checking package integrity                                                                                                                [########################################################################################] 100%
(1/1) loading package files                                                                                                                     [########################################################################################] 100%
(1/1) checking for file conflicts                                                                                                               [########################################################################################] 100%
(1/1) checking available disk space                                                                                                             [########################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling nerd-fonts-fantasque-sans-mono                                                                                               [########################################################################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating fontconfig cache...
(3/4) Updating 32-bit fontconfig cache...
(4/4) Updating X fontdir indices...

normalname012 commented on 2020-02-14 15:18 (UTC)

I am not able to upgrade development packages, shows cannot rm permission denied when trying to remove cache of it

editicalu commented on 2020-01-22 15:03 (UTC)

@hugo you need to install base-devel. This is assumed hence make is not a dependency.