Opened 4 weeks ago
Last modified 4 weeks ago
#73106 accepted defect
ccache @4.12.1_1+doc: errors building when ccache is installed and broken
| Reported by: | thetrial (alabay) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.5 |
| Keywords: | legacy-os, sierra | Cc: | |
| Port: | ccache |
Description
I haven’t found out, what exactly the errors are and will add the logfile.
Attachments (1)
Change History (3)
Changed 4 weeks ago by thetrial (alabay)
comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
| Status: | assigned → accepted |
|---|---|
| Summary: | ccache @4.12.1_1+doc: errors building → ccache @4.12.1_1+doc: errors building when ccache is installed and broken |
comment:2 Changed 4 weeks ago by sunoterra (Michael Stilson)
Hey, big thanks for working on this. 🙂 Offering my experience, fwiw.
Did a reclaim and deleted everything, including ccache dir contents, and then tried the clean/deactivate/upgrade steps. Got same errors.
Not locating any instances of libhiredis, tried building the hiredis. After that the ccache port built without errors. Removed hiredis from requested ports. Everything seems to be working now. 🤷♂️
Note: See
TracTickets for help on using
tickets.

The log says:
So, your existing ccache is broken because it links with an old version of the hiredis library that's no longer available. MacPorts has detected this and says it's disabling the use of ccache. But it doesn't seem to have actually done so, since the build then fails with the same error. I see the same problem on my system. I'll investigate.
The goal is to rebuild ccache so it uses the new hiredis library, which you're trying to do, but it's failing because it's trying to use the old broken ccache.
An easy way to tell MacPorts not to use the broken ccache is to deactivate it: