Make i18n - xgettext-go: command not found

I was trying to run make i18n, but ran into a issue where I got multiple 404 not found, while getting packages…

(cd / ; go install -v -x github.com/snapcore/snapd/i18n/xgettext-go@2.57.1)
# get https://proxy.golang.org/github.com/@v/2.57.1.info
# get https://proxy.golang.org/github.com/snapcore/snapd/i18n/@v/2.57.1.info
# get https://proxy.golang.org/github.com/snapcore/snapd/i18n/xgettext-go/@v/2.57.1.info
# get https://proxy.golang.org/github.com/snapcore/snapd/@v/2.57.1.info
# get https://proxy.golang.org/github.com/snapcore/@v/2.57.1.info
# get https://proxy.golang.org/github.com/snapcore/snapd/i18n/@v/2.57.1.info: 404 Not Found (0.115s)
# get https://proxy.golang.org/github.com/snapcore/snapd/@v/2.57.1.info: 200 OK (0.115s)
# get https://proxy.golang.org/github.com/snapcore/snapd/i18n/xgettext-go/@v/2.57.1.info: 404 Not Found (0.115s)
# get https://proxy.golang.org/github.com/@v/2.57.1.info: 404 Not Found (0.269s)
# get https://proxy.golang.org/github.com/snapcore/@v/2.57.1.info: 404 Not Found (0.270s)
WORK=/tmp/go-build1868278805
xgettext-go -o po/incus.pot --add-comments-tag=TRANSLATORS: --sort-output --package-name=incus --msgid-bugs-address=lxc-devel@lists.linuxcontainers.org --keyword=i18n.G --keyword-plural=i18n.NG cmd/incus/*.go shared/cliconfig/*.go
/bin/sh: line 1: xgettext-go: command not found
make: *** [Makefile:291: update-pot] Error 127

I tried the above command and it worked for me. At the end I had a binary xgettext-go.

You mention that you got 404s. Can you show a sample of those lines?

My mistake, forgot go/bin was not in PATH.