[MacPorts] #27665: ccache cannot write manifest files

MacPorts noreply at macports.org
Thu Sep 28 13:59:12 UTC 2017


#27665: ccache cannot write manifest files
------------------------+------------------------
  Reporter:  florian@…  |      Owner:  ryandesign
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  ccache     |
------------------------+------------------------
Changes (by mf2k):

 * owner:  landonf@… => ryandesign
 * status:  new => assigned


Old 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.

New 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.

--

--
Ticket URL: <https://trac.macports.org/ticket/27665#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list