@kolay.ne, you are expected to have base-devel
installed when building things from the AUR: https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started
Please see my comment below which answers the exact same question :)
Git Clone URL: | https://aur.archlinux.org/yay.git (read-only, click to copy) |
---|---|
Package Base: | yay |
Description: | Yet another yogurt. Pacman wrapper and AUR helper written in go. |
Upstream URL: | https://github.com/Jguer/yay |
Keywords: | arm AUR go helper pacman wrapper x86 |
Licenses: | GPL-3.0-or-later |
Submitter: | jguer |
Maintainer: | jguer |
Last Packager: | jguer |
Votes: | 2314 |
Popularity: | 29.33 |
First Submitted: | 2016-10-05 17:20 (UTC) |
Last Updated: | 2024-09-19 14:27 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 36 Next › Last »
@kolay.ne, you are expected to have base-devel
installed when building things from the AUR: https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started
Please see my comment below which answers the exact same question :)
yay
makedepends on the make
package. Please, add it to PKGBUILD
@jpoppe, you are expected to have base-devel
installed when building things from the AUR: https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started
FYI: make
is missing from the build dependencies
If you're getting 'connection refused' errors, similar to @trougnouf, it's likely a DNS resolution issue. 'Go' queries /etc/resolv.conf directly. You may need to create a symbolic link if using iwd or another tool that uses systemd-resolved. See https://wiki.archlinux.org/title/Systemd-resolved#DNS
# sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Not sure why building in a clean chroot would help... but it shouldn't be necessary!
I succeded in installing yay by changing 'SigLevel = Required DatabaseOptional' to 'SigLevel = Never'. This has not been a problem before. What should I put in 'SigLevel = ' in order to avoid this problem.
Also, when I start yay, it keeps repeating this question:
:: Synkroniserer pakkedatabaser... core er oppdatert extra 8,1 MiB 1898 KiB/s 00:04 [############################################################################] 100% :: Searching AUR for updates... :: There are 7 providers available for java-runtime: :: Repository extra 1) jdk-openjdk 2) jdk21-openjdk 3) jre-openjdk 4) jre11-openjdk 5) jre17-openjdk 6) jre21-openjdk 7) jre8-openjdk
It does not matter which number I choose, it repeats the question.
I don't have any Java installed at this time, so what is this?
Regarding the libalpm.so.13 problem: When using the git clone method, I am told the package (yay) is missing required signature. This has not been an issue before.
The update isn't working for me:
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=12.3.5" -X "main.localePath=/usr/share/locale/" -linkmode=external -compressdwarf=false' -buildmode=pie -o yay
go: downloading github.com/Jguer/go-alpm/v2 v2.2.2
go: downloading github.com/Jguer/aur v1.2.3
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.6.0
go: downloading github.com/leonelquinteros/gotext v1.5.2
go: downloading golang.org/x/sys v0.18.0
go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
go: downloading github.com/adrg/strutil v0.3.1
go: downloading golang.org/x/term v0.18.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
clean.go:8:2: github.com/Jguer/aur@v1.2.3: Get "https://proxy.golang.org/github.com/%21jguer/aur/@v/v1.2.3.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
cmd.go:11:2: github.com/Jguer/go-alpm/v2@v2.2.2: Get "https://proxy.golang.org/github.com/%21jguer/go-alpm/v2/@v/v2.2.2.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
vote.go:8:2: github.com/Jguer/votar@v1.0.0: Get "https://proxy.golang.org/github.com/%21jguer/votar/@v/v1.0.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
pkg/text/errors.go:3:8: github.com/leonelquinteros/gotext@v1.5.2: Get "https://proxy.golang.org/github.com/leonelquinteros/gotext/@v/v1.5.2.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60585->[::1]:53: read: connection refused
pkg/db/ialpm/alpm.go:11:2: github.com/Morganamilo/go-pacmanconf@v0.0.0-20210502114700-cff030e927a5: Get "https://proxy.golang.org/github.com/%21morganamilo/go-pacmanconf/@v/v0.0.0-20210502114700-cff030e927a5.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:46429->[::1]:53: read: connection refused
pkg/intrange/intrange.go:8:2: github.com/deckarep/golang-set/v2@v2.6.0: Get "https://proxy.golang.org/github.com/deckarep/golang-set/v2/@v/v2.6.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60585->[::1]:53: read: connection refused
pkg/query/metric.go:7:2: github.com/adrg/strutil@v0.3.1: Get "https://proxy.golang.org/github.com/adrg/strutil/@v/v0.3.1.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:36864->[::1]:53: read: connection refused
pkg/query/query_builder.go:13:2: github.com/adrg/strutil@v0.3.1: Get "https://proxy.golang.org/github.com/adrg/strutil/@v/v0.3.1.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:36864->[::1]:53: read: connection refused
pkg/query/source.go:7:2: github.com/hashicorp/go-multierror@v1.1.1: Get "https://proxy.golang.org/github.com/hashicorp/go-multierror/@v/v1.1.1.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:46429->[::1]:53: read: connection refused
pkg/dep/dep_graph.go:10:2: github.com/Morganamilo/go-srcinfo@v1.0.0: Get "https://proxy.golang.org/github.com/%21morganamilo/go-srcinfo/@v/v1.0.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60585->[::1]:53: read: connection refused
pkg/runtime/runtime.go:20:2: github.com/Jguer/aur@v1.2.3: Get "https://proxy.golang.org/github.com/%21jguer/aur/@v/v1.2.3.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
pkg/runtime/runtime.go:21:2: github.com/Jguer/aur@v1.2.3: Get "https://proxy.golang.org/github.com/%21jguer/aur/@v/v1.2.3.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
pkg/runtime/pacman.go:10:2: golang.org/x/term@v0.18.0: Get "https://proxy.golang.org/golang.org/x/term/@v/v0.18.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:46429->[::1]:53: read: connection refused
print.go:16:2: golang.org/x/sys@v0.18.0: Get "https://proxy.golang.org/golang.org/x/sys/@v/v0.18.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60909->[::1]:53: read: connection refused
make: *** [Makefile:114: yay] Error 1
==> ERROR: A failure occurred in build().
Aborting...
edit: I got it working with makechrootpkg per https://bbs.archlinux.org/viewtopic.php?id=288677
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.