~geb/numen

2

compilation error. Has proxy url changed?

Details
Message ID
<CA+fU1NKY9mjZzVkY7vahGR9opiu6SHc8gVYQaSM8r0=a0=Fegg@mail.gmail.com>
DKIM signature
pass
Download raw message
Hello.
Hi. I was able to compile and use it fine a few months ago. However
now I'm getting this error when compiling from source.

=== start console output ====
go: downloading git.sr.ht/~geb/opt v0.0.0-20230911153257-e72225a1
933c
go: downloading github.com/bendahl/uinput v1.6.2
dotool.go:8:2: git.sr.ht/~geb/opt@v0.0.0-20230911153257-e72225a1933c:
Get "https://proxy.golang.org/git.sr.ht/~geb/opt/@v/v0.0.0-20230911153257-e72225a1933c.zip":
dial tcp: lookup proxy.golang.org on [::1]:53: read udp
[::1]:52553->[::1]:53: read: connection refused
dotool.go:9:2: github.com/bendahl/uinput@v1.6.2: Get
"https://proxy.golang.org/github.com/bendahl/uinput/@v/v1.6.2.zip":
dial tcp: lookup proxy.golang.org on [::1]:53: read udp
[::1]:52553->[::1]:53: read: connection refused
=== end console output ====

I don't know how to fix. Is this something I have to configure on my
end? or maybe the download urls changed? I don't understand go so any
pointers at all on where the problem lies would be great. Thanks

PS: AFAIK this is the only project that allows emulating a mouse wheel
on wayland. Thanks for sharing the project in the first place.
Apologies if I made a dual post due to mistakes in plain text
formatting.
Details
Message ID
<D0690Y9M6RT1.1CLVMPYGDE64L@johngebbie.com>
In-Reply-To
<CA+fU1NKY9mjZzVkY7vahGR9opiu6SHc8gVYQaSM8r0=a0=Fegg@mail.gmail.com> (view parent)
DKIM signature
pass
Download raw message
Hi Ivan, I'm afraid I don't know why you are getting this issue.

I don't think anything's changed and seeing as github.com/bendahl/uinput
is also failing the same way, I don't think it's related to my packages
but a general issue with the go toolchain.

In my dotool directory, if I run:

	go clean -cache -modcache
	go build

It's successful and only outputs:

	go: downloading git.sr.ht/~geb/opt v0.0.0-20230911153257-e72225a1933c
	go: downloading github.com/bendahl/uinput v1.7.0

To rule out the basics I'd try:

- updating your system packages

- running `go clean -cache -modcache` in the directory before `go build`

- seeing if `GOPROXY=direct go build` makes a difference

Hope you figure it out!
Details
Message ID
<D076TDMYWVZI.10LWT9TXI8AVL@johngebbie.com>
In-Reply-To
<CA+fU1NKY9mjZzVkY7vahGR9opiu6SHc8gVYQaSM8r0=a0=Fegg@mail.gmail.com> (view parent)
DKIM signature
pass
Download raw message
Great! Thanks for sending the solution. I'll copy paste it here because I
don't think it made it to the mailing list:

> thank you for your answer. I managed to fix it. the issue was because
> of systemd-resolved. It was as simple as:
> 
> # ln -sf ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
> 
> as explained in the archlinux wiki. It didn't occur to me to check
> because DNS was working fine everywhere else. Hopefully if someone
> else runs into the problem they can find this. Cheers
Reply to thread Export thread (mbox)