Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 949900

Summary: dev-util/sccache-0.9.1 doesn't honor webdav USE-Flag
Product: Gentoo Linux Reporter: Fischl Anton <github>
Component: Current packagesAssignee: idealseal <realidealseal>
Status: RESOLVED FIXED    
Severity: normal CC: arkamar, github, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/39461
https://github.com/gentoo/gentoo/pull/41048
Whiteboard:
Package list:
Runtime testing required: ---

Description Fischl Anton 2025-02-18 07:59:23 UTC
when setting the "webdav" USE-Flag for dev-util/sccache the feature is not enabled. There seems to be a missing "$(usev webdav)" in src_configure().

Reproducible: Always

Steps to Reproduce:
1. emerge -t1v dev-util/sccache
2. sccache --help (note no features enabled)
3. echo "dev-util/sccache webdav" >>/etc/portage/package.use/sccache
4. emerge -t1v dev-util/sccache
5. sccache --help (feature webdav still disabled)

Actual Results:  
sccache --help
....
Enabled features:
    S3:        false
    Redis:     false
    Memcached: false
    GCS:       false
    GHA:       false
    Azure:     false
    WebDAV:    false
    OSS:       false


Expected Results:  
sccache --help
....
Enabled features:
    S3:        false
    Redis:     false
    Memcached: false
    GCS:       false
    GHA:       false
    Azure:     false
    WebDAV:    true
    OSS:       false


I will be posting a pull-request shortly
Comment 1 Petr Vaněk gentoo-dev 2025-03-12 12:00:35 UTC
For the record, the use flag was introduced in PR https://github.com/gentoo/gentoo/pull/39461.
Comment 2 Fischl Anton 2025-03-13 08:00:36 UTC
I made a new pull request
Comment 3 Larry the Git Cow gentoo-dev 2025-03-13 08:56:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe211d480efede73b563d63ac33025e88945efb

commit 0fe211d480efede73b563d63ac33025e88945efb
Author:     Anton Fischl <github@fischl-online.de>
AuthorDate: 2025-03-13 06:54:19 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2025-03-13 08:55:57 +0000

    dev-util/sccache: fix webdav USE-flag
    
    Closes: https://bugs.gentoo.org/949900
    Signed-off-by: Anton Fischl <github@fischl-online.de>
    Closes: https://github.com/gentoo/gentoo/pull/41048
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-util/sccache/{sccache-0.10.0.ebuild => sccache-0.10.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)