You are not logged in.

#1 2025-11-23 04:09:53

xyz978
Member
Registered: 2025-11-23
Posts: 2

[solve] issue of build yay

Hi Sirs,
when i use makepkg to build yay,  it is always show error at some where,  and i try to install yay-bin first(success), then rebuild yay,  still show something wrong.

is it need to install other application first ??    already install   base_develop  go  yay-bin

[william@ArchLinux yay]$ makepkg -si
==> Making package: yay 12.5.2-2 (Sun 23 Nov 2025 11:24:41 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found yay-12.5.2.tar.gz
==> Validating source files with sha256sums...
    yay-12.5.2.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-12.5.2.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=12.5.2" -X "main.localePath=/usr/share/locale/" -linkmode=external -compressdwarf=false' -buildmode=pie -o yay
error obtaining VCS status: exit status 128
	Use -buildvcs=false to disable VCS stamping.
make: *** [Makefile:114: yay] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by xyz978 (2025-11-27 03:16:26)

Offline

#2 2025-11-23 08:51:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Offline

#3 2025-11-23 10:54:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,182
Website

Re: [solve] issue of build yay

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

#4 2025-11-27 03:18:13

xyz978
Member
Registered: 2025-11-23
Posts: 2

Re: [solve] issue of build yay

thank sirs

i install yay-git (but not install yay) than can search aur

Offline

#5 2025-11-27 07:50:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Re: [solve] issue of build yay

You do understand that the predominant reason for this is still root owned files in the build directory?

Offline

Board footer

Powered by FluxBB