Skip to content

Remove ccache from final image to be released #209

Description

@jlpoolen

ccache is used during the build process. Yet, the setting for ccaches persists in the final image's /etc/portage/make.conf so when the image is deployed, the user will receive messages such as "Warning: ccache requested...":

GenPi64 /home/jlpoole/work/distcc # date; time emerge media-libs/tiff
Wed Sep 13 02:36:20 PM PDT 2023

These are the packages that would be merged:

Calculating dependencies  . ...... done!
Dependency resolution took 11.21 s.

[ebuild  N     ] media-libs/tiff-4.5.1  USE="cxx zlib -jbig -jpeg -lzma -static-libs -test -verify-sig -webp -zstd"

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-libs/tiff-4.5.1::gentoo
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.15, 0.03, 0.01Warning: ccache requested but no masquerade dir can be found in /usr/lib*/ccache/bin
Warning: ccache requested but no masquerade dir can be found in /usr/lib*/ccache/bin
>>> Installing (1 of 1) media-libs/tiff-4.5.1::gentoo
>>> Recording media-libs/tiff in "world" favorites file...
>>> Completed (1 of 1) media-libs/tiff-4.5.1::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 1.20, 0.42, 0.15

 * GNU info directory index is up-to-date.

real    1m42.271s
user    1m18.386s
sys     1m3.153s
GenPi64 /home/jlpoole/work/distcc #

Work-around is to removed "ccache" from FEATURES in /etc/portage/make.conf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions