Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841812 - >=dev-util/ccache-4.6-r1: failures to write ccache/tmp break random packages in horribly confusing ways
Summary: >=dev-util/ccache-4.6-r1: failures to write ccache/tmp break random packages ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-30 06:33 UTC by Michał Górny
Modified: 2022-06-18 19:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-04-30 06:33:21 UTC
This happens e.g. with sys-libs/llvm-libunwind's test suite.  With ccache-4.5.1, it works just fine.  With 4.6-r1, it fails with confusing errors.  After digging, it turns out that internal (silent) checks for compiler flags fail with errors like:

  ccache: error: Failed to create directory /var/lib/portage/home/.cache/ccache/tmp: Permission denied
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-29 17:40:08 UTC
Also happens with 4.6.1.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-18 15:23:33 UTC
Please report the issue upstream.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-18 19:23:03 UTC
Upstream?  Feel free to convince them that this is their fault, not ours.