Package Details: yay 10.0.4-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
Submitter: jguer
Maintainer: jguer
Last Packager: jguer
Votes: 1260
Popularity: 69.09
First Submitted: 2016-10-05 17:20
Last Updated: 2020-08-18 17:27

Required by (9)

Sources (1)

Pinned Comments

jguer commented on 2019-04-16 14:08

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

1 2 3 4 5 6 ... Next › Last »

yochananmarqos commented on 2020-08-24 21:41

@duckdalbe: What are you talking about? Of course gcc is in the base-devel group.

duckdalbe commented on 2020-08-24 21:09

gcc is a makedepends, should be added (and is not included in base-devel).

yochananmarqos commented on 2020-08-22 02:17

@darnir: -flto is not used in the default /etc/makepkg.conf, no changes are necessary except on your end, apparently.

WhyNotHugo commented on 2020-08-21 22:17

@darnir See the pinned comment.

darnir commented on 2020-08-21 22:12

Just in case it helps anyone, the following diff fixed the build for me:

diff --git i/PKGBUILD w/PKGBUILD
index 8325d60..7a9e36b 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -20,8 +20,8 @@ sha256sums=('c0fb3df21a12d87c050317f68cc410b39d40f4af77192688956db67dc036a674')
 build() {
   export GOPATH="$srcdir"/gopath
   export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_CFLAGS="$(echo "${CFLAGS}" | sed 's/-flto//g')"
+  export CGO_CXXFLAGS="$(echo "${CXXFLAGS}"| sed 's/-flto//g')"
   export CGO_LDFLAGS="${LDFLAGS}"

   cd "$srcdir/$pkgname-$pkgver"

darnir commented on 2020-08-21 22:07

I have been unable to build this package for a few months now. Everytime I try to build I end up with a log similar to: https://pastebin.com/A3KRz8vJ

On digging deeper, this seems to come from the fact that my makepkg.conf contains `CFLAGS="... -flto ...". Apparently, turning on LTO in the C compiler, breaks the build.

If this is the case, the PKGBUILD should probably account for such scenarios

yochananmarqos commented on 2020-07-20 23:16

@masterberg: You should already have the base-devel group installed. Those packages are not required to be in makedepends() as they're assumed to be installed. See here and here.

masterberg commented on 2020-07-20 22:07

Add make package as a requirement as it's a build dependency.

Xavion commented on 2020-06-26 21:04

I can't build v10.0.1-1 for some reason. See the build/error output here: https://pastebin.com/pk9dEAES

The same thing happens in a clean chroot. What can I do to overcome this problem?

Update: I've switched to the "yay-bin" package; that will do for now.

yochananmarqos commented on 2020-06-19 14:58

@Arashk @Slenderchat: Try my PKGBUILD with the export bits removed.