Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837524 - dev-util/ccache-4.6 does not work with sandbox
Summary: dev-util/ccache-4.6 does not work with sandbox
Status: RESOLVED DUPLICATE of bug 837362
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-09 18:33 UTC by Martin Väth
Modified: 2022-04-09 23:37 UTC (History)
1 user (show)

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


Attachments
Undo the change causing the sandbox violation (ccache-sandbox.patch,764 bytes, patch)
2022-04-09 18:55 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2022-04-09 18:33:16 UTC
After installing ccache-4.6, practically every emerge fails when FEATURES=ccache is used when attemting to create /run/user/250: The reason seems to be the new "bug fix" (cf. the NEWS file):

> Ccache now verifies that `/run/user/<UID>/ccache-tmp` is writable before using it for temporary files.

Possible workarounds might be one of:

1. Allow writing to /run/user/250 if FEATURES=ccache is used
2. Patch out the new "bug fix".

Both are certainly not ideal.
Comment 1 Martin Väth 2022-04-09 18:55:10 UTC
Created attachment 769697 [details, diff]
Undo the change causing the sandbox violation

The above patch implements workaround 2 from the initial posting.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-09 23:37:52 UTC

*** This bug has been marked as a duplicate of bug 837362 ***