Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830535 - app-admin/vault-1.9.2 fails to compile with USE=-webui
Summary: app-admin/vault-1.9.2 fails to compile with USE=-webui
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
: 831398 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-03 17:01 UTC by r7l
Modified: 2022-02-24 02:53 UTC (History)
4 users (show)

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


Attachments
build.log and emerge --info (build.log.xz,7.08 KB, application/x-xz)
2022-01-03 18:15 UTC, r7l
Details

Note You need to log in before you can comment on or make changes to this bug.
Description r7l 2022-01-03 17:01:27 UTC
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
Comment 1 r7l 2022-01-03 17:10:26 UTC
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
Comment 2 Jonas Stein gentoo-dev 2022-01-03 17:13:32 UTC
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
Comment 3 r7l 2022-01-03 18:15:56 UTC
Created attachment 761209 [details]
build.log and emerge --info

build.log and emerge --info
Comment 4 Mike Williams 2022-02-23 22:21:06 UTC
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
 }
 
```
Comment 5 Larry the Git Cow gentoo-dev 2022-02-24 02:51:29 UTC
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(+)
Comment 6 Zac Medico gentoo-dev 2022-02-24 02:51:56 UTC
Thanks!
Comment 7 Zac Medico gentoo-dev 2022-02-24 02:53:12 UTC
*** Bug 831398 has been marked as a duplicate of this bug. ***