vault needs to update the dependency for github.com/setvargo/go-limiter to >=0.7.0 which addresses the following build time error message. github.com/sethvargo/go-limiter/memorystore.(*store).purge: relocation target runtime.walltime not defined github.com/sethvargo/go-limiter/memorystore.newBucket: relocation target runtime.walltime not defined github.com/sethvargo/go-limiter/memorystore.(*bucket).take: relocation target runtime.walltime not defined Reference for fix: https://github.com/sethvargo/go-limiter/issues/26 Reproducible: Always
As an aside, I checked the other versions of vault in current portage: 1) vault-1.7.4 == same build error 2) vault-1.8.2 == builds correctly I'd say the focus of effort would be to stabilize vault-1.8.2 and a) prune the old versions or b) restrict the build time dependency to <dev-lang/go-1.17 for old version #1 and #2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eb4c7f1c99af99d7296200bf149f9d2ab66a0ac commit 4eb4c7f1c99af99d7296200bf149f9d2ab66a0ac Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-09-24 02:48:29 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-09-24 02:48:37 +0000 app-admin/vault: stable 1.8.2 for amd64, bug #814431 Closes: https://bugs.gentoo.org/814431 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-admin/vault/vault-1.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68f6a141fa8c9226dfb92e2af49a00a16ffadce commit d68f6a141fa8c9226dfb92e2af49a00a16ffadce Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-09-24 02:49:51 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-09-24 02:51:00 +0000 app-admin/vault: Remove old versions Old versions do not build with go-1.17. Bug: https://bugs.gentoo.org/814431 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-admin/vault/Manifest | 4 --- app-admin/vault/vault-1.6.6.ebuild | 73 -------------------------------------- app-admin/vault/vault-1.7.4.ebuild | 73 -------------------------------------- 3 files changed, 150 deletions(-)
Thanks!