@igel
Same for me, i use this for cleaning the orphan package but now i've got this error too
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: | 2239 |
Popularity: | 29.97 |
First Submitted: | 2016-10-05 17:20 (UTC) |
Last Updated: | 2024-09-19 14:27 (UTC) |
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 35 Next › Last »
@igel
Same for me, i use this for cleaning the orphan package but now i've got this error too
Hi :)
since upgrading to 10.2.0, I get
~ $ yay -Qqdt exit status 1
is this a regression? Or am I using it wrong (I want to recursively detect unneeded packages as part of my standard update procedure)?
@RidderJoris it looks like the date and time on your armv7 machine is way out of date, which lines up with the error message!
On armv7 I get the following error (after running yay -Syu
):
:: (1/1) Parsing SRCINFO: yay
==> Making package: yay 10.1.2-2 (Thu Feb 4 07:39:03 2021)
==> Retrieving sources...
-> Downloading yay-10.1.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 118 100 118 0 0 761 0 --:--:-- --:--:-- --:--:-- 761
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: certificate is not yet valid
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
==> ERROR: Failure while downloading https://github.com/Jguer/yay/archive/v10.1.2.tar.gz
Aborting...
error downloading sources: yay
On x86 it doesn't seem to be a problem
@marcin You may have had something installed that had gcc as a dependency, and removed it? You can try grep gcc /var/log/pacman.log
to figure it out.
@RubenKelevra I have been using yay on this PC for over 1 years now. Just yesterday I got this error, so I have base-devel installed. Maybe most recent arch update removed it? I don't know.
@marcin it's user error. All AUR packages expect you to have base-devel installed.
Suddenly started getting the following error:
runtime/cgo
# runtime/cgo
cgo: exec /missing-cc: fork/exec /missing-cc: no such file or directory
make: *** [Makefile:112: yay] Error 2
To solve the issue, installing gcc
was enough:
sudo pacman -S gcc
Seems to be breaking all of a sudden in a clean chroot build by CI:
# net
cgo: cannot load DWARF output from $WORK/b054//_cgo_.o: decoding dwarf section info at offset 0x0: too short
github.com/Morganamilo/go-pacmanconf/ini
vendor/golang.org/x/sys/cpu
vendor/golang.org/x/crypto/chacha20poly1305
log
github.com/pmezard/go-difflib/difflib
github.com/leonelquinteros/gotext/plurals
net/url
mime
encoding/hex
encoding/json
vendor/golang.org/x/crypto/curve25519
compress/flate
vendor/golang.org/x/net/http2/hpack
encoding/gob
github.com/Jguer/go-alpm/v2
math/big
vendor/golang.org/x/text/unicode/norm
gopkg.in/yaml.v3
github.com/davecgh/go-spew/spew
vendor/golang.org/x/text/unicode/bidi
mime/quotedprintable
net/http/internal
flag
runtime/trace
github.com/Morganamilo/go-srcinfo
github.com/Morganamilo/go-pacmanconf
github.com/pkg/errors
encoding/xml
# github.com/Jguer/go-alpm/v2
cgo: cannot load DWARF output from $WORK/b036//_cgo_.o: decoding dwarf section info at offset 0x0: too short
compress/gzip
testing
vendor/golang.org/x/text/secure/bidirule
golang.org/x/term
vendor/golang.org/x/net/idna
crypto/dsa
encoding/asn1
crypto/rand
crypto/elliptic
crypto/ed25519
crypto/rsa
crypto/x509/pkix
vendor/golang.org/x/crypto/cryptobyte
crypto/ecdsa
make: *** [Makefile:112: yay] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/abs/chroot/yay/build
@jguer
Can you please make sudo an optional dependency (optdepends). In the light of the critical vulnerability in sudo some people may want to get rid of sudo on their systems and replace it with some alternatives like su, doas or pkexec.
Pinned Comments
jguer commented on 2024-03-16 08:06 (UTC)
This will happen if you upgrade pacman and yay separately If you have this error you need to manually recompile yay
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.