Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808791 - app-admin/vault-1.7.3 - github.com/.../memorystore.(*store).purge: relocation target runtime.walltime not defined
Summary: app-admin/vault-1.7.3 - github.com/.../memorystore.(*store).purge: relocation...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-17 20:28 UTC by Toralf Förster
Modified: 2021-09-16 22:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.42 KB, text/plain)
2021-08-17 20:28 UTC, Toralf Förster
Details
app-admin:vault-1.7.3:20210817-193052.log (app-admin:vault-1.7.3:20210817-193052.log,2.17 KB, text/plain)
2021-08-17 20:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.83 KB, text/plain)
2021-08-17 20:28 UTC, Toralf Förster
Details
environment (environment,69.28 KB, text/plain)
2021-08-17 20:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.21 KB, application/x-bzip)
2021-08-17 20:28 UTC, Toralf Förster
Details
fix (0001-app-admin-vault-fix-build-with-newer-golang.patch,21.08 KB, patch)
2021-09-16 17:11 UTC, Austin English
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-17 20:28:38 UTC
--> linux/amd64 error: exit status 2
Stderr: # github.com/hashicorp/vault
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

make: *** [Makefile:37: dev] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20210816-205927

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Rust versions:
  [1]   rust-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit aaf4a25be1e4455cdfb4a32a3fcbb1a816993351
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 17 19:08:11 2021 +0000

    2021-08-17 19:08:08 UTC

emerge -qpvO app-admin/vault
[ebuild  N    ] app-admin/vault-1.7.3  USE="filecaps webui"
Comment 1 Toralf Förster gentoo-dev 2021-08-17 20:28:39 UTC
Created attachment 733619 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-17 20:28:40 UTC
Created attachment 733621 [details]
app-admin:vault-1.7.3:20210817-193052.log
Comment 3 Toralf Förster gentoo-dev 2021-08-17 20:28:42 UTC
Created attachment 733623 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-17 20:28:43 UTC
Created attachment 733625 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-17 20:28:44 UTC
Created attachment 733627 [details]
etc.portage.tar.bz2
Comment 6 Randy Barlow 2021-09-14 13:43:01 UTC
I also see this with vault-1.6.6.
Comment 7 Austin English 2021-09-16 17:11:50 UTC
Created attachment 739590 [details, diff]
fix
Comment 8 Patrick McLean gentoo-dev 2021-09-16 17:13:39 UTC
*** Bug 810317 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2021-09-16 22:07:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa16bc47f1c8d140656cfa0492e989da5c1bf67

commit 7fa16bc47f1c8d140656cfa0492e989da5c1bf67
Author:     Austin English <austin.m.english@sony.com>
AuthorDate: 2021-09-16 16:45:05 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2021-09-16 22:07:48 +0000

    app-admin/vault: fix build with newer golang
    
    Closes: https://bugs.gentoo.org/808791
    Closes: https://bugs.gentoo.org/810317
    
    Signed-off-by: Austin English <austin.m.english@sony.com>
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-admin/vault/Manifest                           |   4 +-
 app-admin/vault/files/vault-1.8.2-go-limiter.patch | 264 +++++++++++++++++++++
 app-admin/vault/vault-1.8.2.ebuild                 |   6 +-
 3 files changed, 270 insertions(+), 4 deletions(-)