You are not logged in.

#1 2024-01-31 01:42:35

tuletujamo11
Member
Registered: 2024-01-19
Posts: 7

[solved]

I've seen people post this error before, but I've tried their solutions and they don't work for me.
Here's the log.

[user1@user1 yay]$ makepkg -sri
==> Making package: yay 12.2.0-1 (Tue Jan 30 19:39:00 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading yay-12.2.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  445k  100  445k    0     0   171k      0  0:00:02  0:00:02 --:--:--  322k
==> Validating source files with sha256sums...
    yay-12.2.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-12.2.0.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw  -ldflags '-X "main.yayVersion=12.2.0" -X "main.localePath=/usr/share/locale/" -linkmode=external' -buildmode=pie -o yay
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.3.0
go: downloading github.com/leonelquinteros/gotext v1.5.2
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/sys v0.10.0
go: downloading github.com/Jguer/go-alpm/v2 v2.2.1
go: downloading github.com/Jguer/aur v1.2.3
go: downloading github.com/adrg/strutil v0.3.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
go: downloading golang.org/x/term v0.10.0
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/ohler55/ojg v1.19.1
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/itchyny/gojq v0.12.13
go: downloading golang.org/x/text v0.11.0
go: downloading github.com/itchyny/timefmt-go v0.1.5
error obtaining VCS status: exit status 128
    Use -buildvcs=false to disable VCS stamping.
make: *** [Makefile:117: yay] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Thanks in advance for any help!

Last edited by tuletujamo11 (2024-01-31 20:22:33)

Offline

#2 2024-01-31 01:45:09

tuletujamo11
Member
Registered: 2024-01-19
Posts: 7

Re: [solved]

I already have base-devel installed and updated, the yay folder (where im using makepkg) has read, write, and execute permissions too.

Offline

#3 2024-01-31 03:28:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,439
Website

Re: [solved]

tuletujamo11 wrote:

I've seen people post this error before, but I've tried their solutions and they don't work for me.

This same error?  Are you sure?  Where are these examples?

This looks to be a go-specific error.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2024-01-31 14:13:45

tuletujamo11
Member
Registered: 2024-01-19
Posts: 7

Re: [solved]

I mean, it was a "failure ocurred in build()" error. Not exactly, per se, the exact same error. My code log was never the sme as them. But don't worry I already fixed this myself by installing the "git" version of yay. But thanks for the help anyways

Offline

#5 2024-01-31 14:54:08

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

Re: [solved]

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

#6 2024-01-31 19:15:49

loqs
Member
Registered: 2014-03-06
Posts: 18,732

Re: [solved]

tuletujamo11 wrote:

I mean, it was a "failure ocurred in build()" error. Not exactly, per se, the exact same error. My code log was never the sme as them.

I could not reproduce the issue in a clean choort and there are no similar reports on yay.

==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -tags next -ldflags '-X "main.yayVersion=12.2.0" -X "main.localePath=/usr/share/locale/" -linkmode=external' -buildmode=pie -o yay
go: downloading github.com/Jguer/votar v1.0.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/Jguer/aur v1.2.3
go: downloading github.com/Jguer/go-alpm/v2 v2.2.1
go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
go: downloading github.com/leonelquinteros/gotext v1.5.2
go: downloading golang.org/x/sys v0.10.0
go: downloading github.com/deckarep/golang-set/v2 v2.3.0
go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
go: downloading golang.org/x/term v0.10.0
go: downloading github.com/adrg/strutil v0.3.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading golang.org/x/text v0.11.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/ohler55/ojg v1.19.1
go: downloading github.com/itchyny/gojq v0.12.13
go: downloading github.com/itchyny/timefmt-go v0.1.5
==> Entering fakeroot environment...
tuletujamo11 wrote:

But don't worry I already fixed this myself by installing the "git" version of yay. But thanks for the help anyways

Then please mark the thread as solved by prepending [SOLVED] to the title.  You could also do the same for another of your topics https://bbs.archlinux.org/viewtopic.php?id=292027.  Please also use code tags for commands and their outputs.

Offline

#7 2024-01-31 20:20:09

tuletujamo11
Member
Registered: 2024-01-19
Posts: 7

Re: [solved]

OK sry

Last edited by tuletujamo11 (2024-01-31 20:23:03)

Offline

Board footer

Powered by FluxBB