Could you please add a warning message on
when using ccache? Quite a lot of bugs are being reported to our bugzilla when ccache is enabled which sometimes links to broken compilation with messages like
"file not recognized: File truncated"
I wonder if this "file not recognized: File truncated" error indicates some kind of bug in ccache.
I guess is just corrupted object files or leftovers in ccache storage,we have been hitting with such errors for more than a year. Disabling ccache makes the feature go away. So a warning would be nice
(In reply to comment #1)
> I wonder if this "file not recognized: File truncated" error indicates some
> kind of bug in ccache.
CCing docs team for the handbook part.
Now there's a warning in the make.conf.5 manpage:
More or less the same issue as bug 327945, but we'll be sure to add a warning bit on compilation failures and stale cache files.
Marking as a blocker of #327945.
Fixed in CVS.
From the commit log:
"redo the ccache section so it's not recommended for everyone. make it clear that it's for folks doing development work, and that ccache is known to cause numerous compile failures. also added a suggestion to disable ccache and recompile before reporting any bugs."
Portage team, can I get you to put some of the handbook text into the ccache section of the manpage? something a bit more explanatory than the initial one-liner would be useful. Thanks!