builtin/logical/pki/path_acme_order.go builtin/logical/pki/path_acme_order_test.go builtin/logical/pki/path_acme_revoke.go builtin/logical/pki/path_acme_test.go builtin/logical/pki/path_config_acme.go enumer -type=DefaultDirectoryPolicyType enumer: internal error: package "fmt" without types was imported from "github.com/hashicorp/vault/builtin/logical/pki" builtin/logical/pki/path_config_acme.go:420: running "enumer": exit status 1 builtin/logical/pki/cmd/pki/main.go ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop-20250221-191503 UNMASKED: [gcc-15] Requested by sam <sys-devel/gcc-15.0.9999:15 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 19.1.7 llvm-config: 19.1.7 Python 3.12.9 go version go1.24.0 linux/amd64 [1] php8.2 [2] php8.3 * Available Ruby profiles: [1] ruby32 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.85.0 [2] rust-1.85.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm HEAD of ::gentoo commit bd5b3104e1ee0e7a8ce486a07572cbf9b55237d1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Feb 27 12:03:33 2025 +0000 2025-02-27 12:03:32 UTC emerge -qpvO =app-admin/vault-1.18.4
Created attachment 920003 [details] emerge-info.txt
Created attachment 920004 [details] app-admin:vault-1.18.4:20250227-123625.log.xz
Created attachment 920005 [details] emerge-history.txt
Created attachment 920006 [details] environment
Created attachment 920007 [details] etc.clang.tar.xz
Created attachment 920008 [details] etc.portage.tar.xz
Created attachment 920009 [details] logs.tar.xz
Created attachment 920010 [details] qlist-info.txt.xz
Created attachment 920011 [details] temp.tar.xz
Easy reproducer: * cd /var/tmp/portage/app-admin/vault-1.18.3/work/vault-1.18.4 * go generate $(go list ./... | grep -v vendor/ ) The issue appears even with a "blank page". dev-go/enumer and dev-lang/go have been re-emerged.
Bumping dev-go/enumer to 1.5.11 might fix this problem. https://github.com/dmarkham/enumer/releases/tag/v1.5.11 Hacked myself a local ebuild with this version and app-admin/vault-1.18.4 compiled successfully.
same with dev-lang/go-1.24.1
Not specific to GCC 15, I can reproduce it with GCC 14 as well. The root cause is an outdated dev-go/enumer which uses an outdated version of golang.org/x/tools (version 0.30+ required). I have also bumped dev-go/enumer 1.5.10 to 1.5.11 and the issue is fixed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0ba2a8ebb3bc5f206d707e0bf583fd691dc9a9 commit 8e0ba2a8ebb3bc5f206d707e0bf583fd691dc9a9 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2025-03-15 02:23:37 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2025-03-15 02:25:05 +0000 app-admin/vault: Bump required enumer version Closes: https://bugs.gentoo.org/950340 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-admin/vault/vault-1.18.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)