You are not logged in.
I'm trying to install yay-git, but I keep on getting the following error:
[jamar@arch yay-git]$ makepkg -si
==> Making package: yay-git 11.0.2.r24.g4056109-1 (Mon Nov 15 00:15:45 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating yay git repo...
Fetching origin
==> Validating source files with sha256sums...
yay ... Skipped
==> Extracting sources...
-> Creating working copy of yay git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=11.0.2.r24.g4056109" -X "main.localePath=/usr/share/locale/" -linkmode=external' -buildmode=pie -o yay
failed to initialize build cache at /home/jamar/.cache/go-build: mkdir /home/jamar: permission denied
make: *** [Makefile:111: yay] Error 1
==> ERROR: A failure occurred in build().
Aborting...
I dont understand how to fix this, please help
Offline
failed to initialize build cache at /home/jamar/.cache/go-build: mkdir /home/jamar: permission denied
check your permissions
Offline
Thank you so much. I went into my home and made it changed the permissions
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
ftr and the future, don't casually throw around sudo's
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline