You are not logged in.
I installed arch linux using archinstall and now trying to install yay I get this error (mind that this is a fresh install)
helvete% sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
warning: git-2.49.0-2 is up to date -- skipping
warning: base-devel-1-2 is up to date -- skipping
there is nothing to do
Cloning into 'yay'...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
remote: Enumerating objects: 532, done.
remote: Counting objects: 100% (532/532), done.
remote: Compressing objects: 100% (361/361), done.
remote: Total 532 (delta 169), reused 516 (delta 168), pack-reused 0 (from 0)
Receiving objects: 100% (532/532), 104.43 KiB | 1.07 MiB/s, done.
Resolving deltas: 100% (169/169), done.
==> Making package: yay 12.5.0-1 (Fri 23 May 2025 12:19:31 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading yay-12.5.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 448k 100 448k 0 0 1160k 0 --:--:-- --:--:-- --:--:-- 1160k
==> Validating source files with sha256sums...
yay-12.5.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting yay-12.5.0.tar.gz with bsdtar
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=12.5.0" -X "main.localePath=/usr/share/locale/" -linkmode=external -compressdwarf=false' -buildmode=pie -o yay
go: downloading github.com/Jguer/aur v1.2.3
go: downloading github.com/Jguer/go-alpm/v2 v2.2.2
go: downloading github.com/Jguer/votar v1.0.0
go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
go: downloading github.com/deckarep/golang-set/v2 v2.7.0
go: downloading github.com/leonelquinteros/gotext v1.7.1
go: downloading golang.org/x/sys v0.31.0
go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
go: downloading github.com/adrg/strutil v0.3.1
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading golang.org/x/net v0.38.0
go: downloading golang.org/x/term v0.30.0
go: downloading github.com/itchyny/gojq v0.12.17
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/ohler55/ojg v1.26.1
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/itchyny/timefmt-go v0.1.6
==> Entering fakeroot environment...
==> Starting package()...
msgfmt po/ca.po -o po/ca.mo
msgfmt po/cs.po -o po/cs.mo
msgfmt po/de.po -o po/de.mo
msgfmt po/en.po -o po/en.mo
msgfmt po/es.po -o po/es.mo
msgfmt po/eu.po -o po/eu.mo
msgfmt po/fr_FR.po -o po/fr_FR.mo
msgfmt po/he.po -o po/he.mo
msgfmt po/id.po -o po/id.mo
msgfmt po/it_IT.po -o po/it_IT.mo
msgfmt po/ja.po -o po/ja.mo
msgfmt po/ko.po -o po/ko.mo
msgfmt po/pl_PL.po -o po/pl_PL.mo
msgfmt po/pt_BR.po -o po/pt_BR.mo
msgfmt po/pt.po -o po/pt.mo
msgfmt po/ru_RU.po -o po/ru_RU.mo
msgfmt po/ru.po -o po/ru.mo
msgfmt po/sv.po -o po/sv.mo
msgfmt po/tr.po -o po/tr.mo
msgfmt po/uk.po -o po/uk.mo
msgfmt po/zh_CN.po -o po/zh_CN.mo
msgfmt po/zh_TW.po -o po/zh_TW.mo
install -Dm755 yay /home/noffie/Setup/yay/pkg/yay/usr/bin/yay
install -Dm644 doc/yay.8 /home/noffie/Setup/yay/pkg/yay/usr/share/man/man8/yay.8
install -Dm644 completions/bash /home/noffie/Setup/yay/pkg/yay/usr/share/bash-completion/completions/yay
install -Dm644 completions/zsh /home/noffie/Setup/yay/pkg/yay/usr/share/zsh/site-functions/_yay
install -Dm644 completions/fish /home/noffie/Setup/yay/pkg/yay/usr/share/fish/vendor_completions.d/yay.fish
for lang in ca cs de en es eu fr_FR he id it_IT ja ko pl_PL pt_BR pt ru_RU ru sv tr uk zh_CN zh_TW; do \
install -Dm644 po/${lang}.mo /home/noffie/Setup/yay/pkg/yay/usr/share/locale/$lang/LC_MESSAGES/yay.mo; \
done
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
gzip: usr/share/man/man8/yay.8: Input/output error
==> Checking for packaging issues...
grep: /home/noffie/Setup/yay/pkg/yay/usr/bin/yay: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/man/man8/yay.8: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/bash-completion/completions/yay: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/zsh/site-functions/_yay: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/fish/vendor_completions.d/yay.fish: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ca/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/cs/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/de/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/es/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/eu/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/fr_FR/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/he/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/id/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/it_IT/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ja/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ko/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/pl_PL/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/pt_BR/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/pt/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ru_RU/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ru/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/sv/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/tr/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/uk/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/zh_CN/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/zh_TW/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/bin/yay: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/man/man8/yay.8: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/bash-completion/completions/yay: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/zsh/site-functions/_yay: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/fish/vendor_completions.d/yay.fish: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ca/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/cs/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/de/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/es/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/eu/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/fr_FR/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/he/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/id/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/it_IT/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ja/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ko/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/pl_PL/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/pt_BR/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/pt/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ru_RU/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/ru/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/sv/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/tr/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/uk/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/zh_CN/LC_MESSAGES/yay.mo: Input/output error
grep: /home/noffie/Setup/yay/pkg/yay/usr/share/locale/zh_TW/LC_MESSAGES/yay.mo: Input/output error
==> Creating package "yay"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
bsdtar: (null)
-> Compressing package...
bsdtar: (null)
Offline
That looks like a storage medium malfunction than anything related to building. By chance it just manifested itself when you were building the package.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
I‘ve tried building it multiple times, and I found that I as well as others had a misconfigured makepkg config, I fixed that but it still does not work
Offline
Oh and I have 256Gigs of Memory and 16Gigs of RAM so that should not be the problem
Offline
Yes, that is a problem. "Gigs" is not a unit for anything…
Seriously: "malfunction" means whatever amount of disk space you have (RAM isn't relevant here [EDIT: except if you're building in a tmpfs?]), IT DOES NOT PROPERLY WORK.
Check dmesg or "sudo journalctl -b", also https://wiki.archlinux.org/title/SMART - at best it's a loose cable or ASPM7APST. At worst your drive is falling apart.
Last edited by seth (2025-05-23 13:47:25)
Offline