Problem with go too:
==> Making package: yay 9.4.5-1 (Fri 28 Feb 2020 12:02:50 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found yay-9.4.5.tar.gz
==> Validating source files with sha1sums...
yay-9.4.5.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting yay-9.4.5.tar.gz with bsdtar
==> Sources are ready.
==> Making package: yay 9.4.5-1 (Fri 28 Feb 2020 12:02:56 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
go build -v -mod=vendor -ldflags '-s -w -linkmode external -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.version=9.4.5"' -gcflags all=-trimpath=/tmp/makepkg/yay/src/yay-9.4.5 -asmflags all=-trimpath=/tmp/makepkg/yay/src/yay-9.4.5 -o yay
/usr/lib/go/src/internal/reflectlite/value.go:8:2: read /usr/lib/go/src/runtime/mgclarge.go: unexpected NUL in input
/usr/lib/go/src/internal/syscall/unix/at.go:10:2: read /usr/lib/go/src/syscall/tables_nacljs.go: unexpected NUL in input
/usr/lib/go/src/crypto/tls/key_schedule.go:16:2: read /usr/lib/go/src/vendor/golang.org/x/crypto/curve25519/ladderstep_amd64.s: unexpected NUL in input
make: *** [Makefile:47: yay] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Error making: yay
Update:
I uninstalled go then manualy removed * from /usr/lib/go then resintalled go and yay. Seems to have fixed the problem.
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.