Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814431 - app-admin/vault-1.6.6: fails to build with GO >=1.17.0
Summary: app-admin/vault-1.6.6: fails to build with GO >=1.17.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2021-09-23 05:47 UTC by Terra
Modified: 2021-09-24 03:01 UTC (History)
0 users

See Also:
Package list:
app-admin/vault-1.8.2 amd64
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Terra 2021-09-23 05:47:16 UTC
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
Comment 1 Terra 2021-09-23 06:09:39 UTC
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
Comment 2 Larry the Git Cow gentoo-dev 2021-09-24 02:53:44 UTC
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(-)
Comment 3 Zac Medico gentoo-dev 2021-09-24 03:01:07 UTC
Thanks!