Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767949 - x11-misc/polybar: need to set ENABLE_CCACHE=OFF to avoid sandbox issues
Summary: x11-misc/polybar: need to set ENABLE_CCACHE=OFF to avoid sandbox issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Johannes Huber (RETIRED)
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2021-01-30 09:26 UTC by Nick
Modified: 2021-02-22 21:29 UTC (History)
2 users (show)

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


Attachments
build log (x11-misc:polybar-3.5.4:20210130-085859.log,28.79 KB, text/plain)
2021-01-30 09:30 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2021-01-30 09:26:54 UTC
Looks like a sandbox issue. Few Permission denied issues when trying to operate ccache objects in /home/ccache.

Reproducible: Always

Steps to Reproduce:
1.Try to emerge polybar




Using portage-bashrc-mv from mv overlay to set up building environment. All other packages build just fine.
Comment 1 Nick 2021-01-30 09:30:05 UTC
Created attachment 685146 [details]
build log
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-02-22 01:37:53 UTC
How is ccache being injected into the build? It looks like the build should be able to read/write to CCACHE_DIR: https://github.com/gentoo/portage/blob/master/bin/ebuild.sh#L685
Comment 4 Larry the Git Cow gentoo-dev 2021-02-22 21:29:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4364793311421ec7ad7adff94fabe6af5bc9546b

commit 4364793311421ec7ad7adff94fabe6af5bc9546b
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2021-02-22 21:28:45 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2021-02-22 21:29:32 +0000

    x11-misc/polybar: force off build system CCACHEing
    
    Using ccache for builds in Portage should be done via FEATURES=ccache
    and CCACHE_DIR.
    
    Closes: https://bugs.gentoo.org/767949
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 x11-misc/polybar/polybar-3.4.3.ebuild | 4 +++-
 x11-misc/polybar/polybar-3.5.4.ebuild | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)