[MacPorts] #64983: ccache fails to work correctly on Mac OS X 10.7.5

MacPorts noreply at macports.org
Mon Apr 11 15:10:51 UTC 2022


#64983: ccache fails to work correctly on Mac OS X 10.7.5
-----------------------+--------------------
  Reporter:  lemzwerg  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  lion
      Port:  ccache    |
-----------------------+--------------------

Comment (by kencu):

 I just installed ccache on the 10.7.5 system in front of me, and it works
 normally.

 So it is therefore most likely something on your system that is messing
 you up.

 ccache relies on:

 1. it's own settings, in config files
 2. the settings in macports.conf to control it when run under macports
 3. the directories having normal, non-messed-around-with layout and
 permissions

 so delete all your ccache directories and config files that might exist
 here and there in your home folder, clean out all the previous macports
 builds using "sudo port -v reclaim", inspect macports.conf to make sure
 that there is no funny business going on in there, or just delete
 macports.conf and copy over the default, then enable the ccache option.

 Then think about your disk, do you have wacky stuff going on? Symlinks to
 offline ZIP drives that are being used for surrogate macports directories,
 changes you might have made in the permissions in "/opt/local" at some
 point for some reason?

 If none of this adds up to anything, completely uninstall macports
 including the macports user and group, blow out the "/opt/local" directory
 to remove any vestigates of it, remove anything in your home directory
 that might possibly have anything to do with ccache, and start over.

 I often find starting over is 100x faster than debugging weird stuff, but
 YMMV.

 Best of luck!

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


More information about the macports-tickets mailing list