Opened 13 years ago

Closed 3 years ago

#27665 closed defect (worksforme)

ccache cannot write manifest files

Reported by: florian@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: chrstphrchvz (Christopher Chavez), mascguy (Christopher Nielsen)
Port: ccache

Description (last modified by mf2k (Frank Schima))

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 (8)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

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

Please remember to cc the maintainer.

comment:2 Changed 13 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.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from landonf@… to ryandesign
Status: newassigned

comment:4 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Is this ticket still relevant? The ccache port has been updated several times since this ticket was opened.

comment:5 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Per @chrstphrchvz, is this ticket still relevant?

comment:8 Changed 3 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: assignedclosed

Given the long time frame without feedback, I would assume this problem can no longer be reproduced. If it still exists, please reopen this ticket with additional details.

Note: See TracTickets for help on using tickets.