Summary: | Add a warning message about compilation failures when using ccache | ||
---|---|---|---|
Product: | Documentation | Reporter: | Markos Chandras (RETIRED) <hwoarang> |
Component: | [OLD] Portage Documentation | Assignee: | nm (RETIRED) <nightmorph> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-portage, docs-team, toolchain |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 327945 |
Description
Markos Chandras (RETIRED)
2010-06-30 10:54:07 UTC
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. > ^ http://bugs.gentoo.org/show_bug.cgi?id=79519#c18 CCing docs team for the handbook part. Now there's a warning in the make.conf.5 manpage: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e8cc36816634b0bfb22142941dbf579960343c99 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! |