New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #27665 (new defect)

Opened 2 years ago

Last modified 2 years ago

ccache cannot write manifest files

Reported by: florian@… Owned by: landonf@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ccache

Description

ccache has lots of cache misses because it does not write manifest files or rather cannot rename the temporary manifest files.

the logfile shows this: [2010-12-14T10:41:37.967554 79067] Error writing to manifest file [2010-12-14T10:41:37.967608 79067] Failed to write manifest file [2010-12-14T10:41:37.968484 79067] Failed to add object file hash to .ccache/2/9/b9e3caf6798d2be0573d80e6e74c5f-2770.manifest

these are the files left over after this failure (empty manifest file and temporary manifest file): -rw-r----- 0 Dec 14 10:41 .ccache/2/9/b9e3caf6798d2be0573d80e6e74c5f-2770.manifest -rw-r----- 9.6K Dec 14 10:41 .ccache/2/9/b9e3caf6798d2be0573d80e6e74c5f-2770.manifest.tmp.hostname.79067

i should note that a downloaded and self-compiled build of 3.1.3 works without problems. the only differences i see are a minor patch and omitting debugging symbols (-g). i recompiled macpors ccache without the patch and ommitted -g in my private build. so both versions should be the same. still the macports version fails which leaves me puzzled.

Change History

comment:1 Changed 2 years ago by jmr@…

  • Owner changed from macports-tickets@… to landonf@…

Please remember to cc the maintainer.

comment:2 Changed 2 years ago by john.hopkins@…

I had the same problem on Mac OS X 10.6. And when I compiled the ccache binary myself, everything worked fine.

Note: See TracTickets for help on using tickets.