[MacPorts] #56759: restore_ports.tcl should install ccache early if configureccache is yes

MacPorts noreply at macports.org
Mon Jul 2 09:27:35 UTC 2018


#56759: restore_ports.tcl should install ccache early if configureccache is yes
---------------------+--------------------
 Reporter:  gthb     |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  contrib  |    Version:
 Keywords:           |       Port:
---------------------+--------------------
 If configureccache is enabled, then most of the packages will still be
 installed without making use of the existing content in ccache, and
 without updating it, because ccache will be installed late in the restore
 process (since it has no dependees, except for vcsn). Warnings like this
 are emitted:

 Warning: ccache_dir /opt/local/var/macports/build/.ccache could not be
 initialized; disabling ccache: couldn't execute "ccache": no such file or
 directory

 To fix this, ccache should be sorted first, or early (i.e. treated as a
 dependency of any package that might use it). At least that's the manual
 workaround I used for this.

 (To be clear, I don't know the real benefit of fixing this, beyond getting
 rid of the warning; when migrating after an OS X upgrade, maybe almost all
 the cache entries are invalidated anyway...)

-- 
Ticket URL: <https://trac.macports.org/ticket/56759>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list