Building app-admin/vault with USE="-webui" currently fails with this error message: Number of parallel builds: 3 --> linux/amd64: github.com/hashicorp/vault 1 errors occurred: --> linux/amd64 error: exit status 1 Stderr: WORK=/var/tmp/portage/app-admin/vault-1.9.2/temp/go-build686085078 http/assets.go:12:12: pattern web_ui/*: no matching files found make: *** [Makefile:30: bin] Error 1 This also affects 1.9.1 which was working before but it seems to have been restructured recently. It works with webui enabled. Reproducible: Always
Just looked it up. I've successfully installed 1.9.1 with USE="-webui" 2 days prior of this commit: https://github.com/gentoo/gentoo/commit/385b60541138b4aa4ad50ccd10a6aa0493ca4683
Thank you for the report. We need to have all information at hand before ticket assignment. Please provide * the complete build.log as attachment and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Created attachment 761209 [details] build.log and emerge --info build.log and emerge --info
This patch enables the ebuild to compile. ``` @@ -54,6 +54,9 @@ if [[ -d "${WORKDIR}/http/web_ui" ]]; then mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" || die "mv failed" + else + mkdir "${S}/http/web_ui" || die "mkdir failed" + touch "${S}/http/web_ui/no_web_ui" fi } ```
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=499aecfe64a6cc8275b6fc653213e0f00539b1f7 commit 499aecfe64a6cc8275b6fc653213e0f00539b1f7 Author: Mike Williams <mike@gaima.co.uk> AuthorDate: 2022-02-24 02:49:50 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2022-02-24 02:50:45 +0000 app-admin/vault: Fix USE=-webui Closes: https://bugs.gentoo.org/830535 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-admin/vault/vault-1.9.2.ebuild | 3 +++ app-admin/vault/vault-1.9.3.ebuild | 3 +++ 2 files changed, 6 insertions(+)
Thanks!
*** Bug 831398 has been marked as a duplicate of this bug. ***